Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2014-08-06 12:56:38 +0000
committerHenrik Rentz-Reichert2014-08-06 12:56:38 +0000
commitcc931d088f87d69a2deeb145d541f83aae8bab50 (patch)
tree332ee8870baa362e5ca4340ceb89a9ac97be65cb /tests/org.eclipse.etrice.generator.tests
parent19c21a758ce51f0e207158a216ede3477f7cf353 (diff)
downloadorg.eclipse.etrice-cc931d088f87d69a2deeb145d541f83aae8bab50.tar.gz
org.eclipse.etrice-cc931d088f87d69a2deeb145d541f83aae8bab50.tar.xz
org.eclipse.etrice-cc931d088f87d69a2deeb145d541f83aae8bab50.zip
static utility methods converted to class methods to be able to use
inheritance and overriding in super classes. This was done mainly for * BaseHelpers.java * RoomHelpers.java and had a lot of impacts on the whole code base
Diffstat (limited to 'tests/org.eclipse.etrice.generator.tests')
-rw-r--r--tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java b/tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java
index de185a494..5a2f9fd4b 100644
--- a/tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java
+++ b/tests/org.eclipse.etrice.generator.tests/src/org/eclipse/etrice/generator/base/TestDetailCodeTranslator.java
@@ -54,6 +54,7 @@ import org.junit.Test;
*/
public class TestDetailCodeTranslator {
+ private RoomHelpers roomHelpers = new RoomHelpers();
/**
* @author Henrik Rentz-Reichert
@@ -523,7 +524,7 @@ public class TestDetailCodeTranslator {
DetailCode dc = getLargeFile();
// this adds a trailing \n
- String orig = RoomHelpers.getDetailCode(dc);
+ String orig = roomHelpers.getDetailCode(dc);
// remove trailing \n
orig = orig.substring(0, orig.length()-1);

Back to the top