Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2019-03-05 12:33:59 -0500
committerJuergen Haug2019-03-08 06:40:38 -0500
commitf0a2d5f112c244eb73c885e2e57120963d6749bc (patch)
tree8225b9006b9bf591e6fbec1a1b82056bba7e3576 /runtime/org.eclipse.etrice.runtime.java/src/org/eclipse
parent01e36600bef3e370720870d7bf5f51289227a810 (diff)
downloadorg.eclipse.etrice-f0a2d5f112c244eb73c885e2e57120963d6749bc.tar.gz
org.eclipse.etrice-f0a2d5f112c244eb73c885e2e57120963d6749bc.tar.xz
org.eclipse.etrice-f0a2d5f112c244eb73c885e2e57120963d6749bc.zip
Bug 544839 - [etunit] added test case skip
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.java/src/org/eclipse')
-rw-r--r--runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/etunit/EtUnit.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/etunit/EtUnit.java b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/etunit/EtUnit.java
index b11d8fba2..5614eff19 100644
--- a/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/etunit/EtUnit.java
+++ b/runtime/org.eclipse.etrice.runtime.java/src/org/eclipse/etrice/runtime/java/etunit/EtUnit.java
@@ -130,6 +130,17 @@ public class EtUnit {
}
}
}
+
+ public static void etUnit_skipTestCase(int id, String msg) {
+ if (out!=null) {
+ try {
+ out.write("tc skip "+id+": "+msg+"\n");
+ out.flush();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ }
public static int etUnit_openAll(String testResultPath, String testFileName, String testSuiteName, String testCaseName){
etUnit_open(testResultPath, testFileName);

Back to the top