Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-11-30 07:53:04 +0000
committerHenrik Rentz-Reichert2012-11-30 07:53:04 +0000
commitb50c992bd45236f9334fa6197697ede9272b11a4 (patch)
tree430d453560ba296515355a8f1f6f6d964f9c3ebf /tests
parent7802294a804627ebd1c065025238e02afa5690e6 (diff)
downloadorg.eclipse.etrice-b50c992bd45236f9334fa6197697ede9272b11a4.tar.gz
org.eclipse.etrice-b50c992bd45236f9334fa6197697ede9272b11a4.tar.xz
org.eclipse.etrice-b50c992bd45236f9334fa6197697ede9272b11a4.zip
[runtime.java, runtime.java.tests] fixed broken tests
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/ActorClassBaseTest.java5
-rw-r--r--tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/PortBaseTest.java5
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/ActorClassBaseTest.java b/tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/ActorClassBaseTest.java
index 438e3ecd3..83a43da48 100644
--- a/tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/ActorClassBaseTest.java
+++ b/tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/ActorClassBaseTest.java
@@ -37,7 +37,10 @@ public class ActorClassBaseTest extends TestCase {
@Override
public String getInstancePath(char delim) {
- return null;
+ if (delim == IRTObject.PATH_DELIM)
+ return getInstancePath();
+ else
+ return getInstancePathName();
}
}
diff --git a/tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/PortBaseTest.java b/tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/PortBaseTest.java
index b868d7c2c..c1937d2c3 100644
--- a/tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/PortBaseTest.java
+++ b/tests/org.eclipse.etrice.runtime.java.tests/src/org/eclipse/etrice/runtime/java/modelbase/PortBaseTest.java
@@ -32,7 +32,10 @@ public class PortBaseTest extends TestCase {
@Override
public String getInstancePath(char delim) {
- return null;
+ if (delim == IRTObject.PATH_DELIM)
+ return getInstancePath();
+ else
+ return getInstancePathName();
}
@Override

Back to the top