Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-09-21 13:48:37 +0000
committerHenrik Rentz-Reichert2012-09-21 13:48:37 +0000
commit45f470e902f28b36e9ac44f8682aab4f60e8bfe2 (patch)
tree0963350b6e04317687994dba75ccdcdaaf575ab2 /plugins
parent599570e3ec48ca4dc43b2e38934ba030d6507823 (diff)
downloadorg.eclipse.etrice-45f470e902f28b36e9ac44f8682aab4f60e8bfe2.tar.gz
org.eclipse.etrice-45f470e902f28b36e9ac44f8682aab4f60e8bfe2.tar.xz
org.eclipse.etrice-45f470e902f28b36e9ac44f8682aab4f60e8bfe2.zip
[etunit.converter.tests] moved to tests folder
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/.classpath7
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/.gitignore2
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/.project28
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/META-INF/MANIFEST.MF12
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/build.properties5
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/launch_org.eclipse.etrice.etunit.converter.tests.launch41
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/combined.xml27
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/only_combined.xml27
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/out.tex41
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report1.etu26
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report1.xml24
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report2.etu4
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report2.xml6
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report3.etu26
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report3.xml24
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report4.etu4
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report4.xml6
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report5.etu4
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/reports/report5.xml6
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/ConverterTest.java108
-rw-r--r--plugins/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java42
22 files changed, 0 insertions, 478 deletions
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/.classpath b/plugins/org.eclipse.etrice.etunit.converter.tests/.classpath
deleted file mode 100644
index 8a8f1668c..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/.gitignore b/plugins/org.eclipse.etrice.etunit.converter.tests/.gitignore
deleted file mode 100644
index 28d2f11b9..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-
-/bin \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/.project b/plugins/org.eclipse.etrice.etunit.converter.tests/.project
deleted file mode 100644
index ec251abf3..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.etrice.etunit.converter.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.etrice.etunit.converter.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index ca3bd59cf..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Mon May 14 12:14:34 CEST 2012
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/META-INF/MANIFEST.MF b/plugins/org.eclipse.etrice.etunit.converter.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index 84fc8714e..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,12 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: etUnit Converter Tests
-Bundle-SymbolicName: org.eclipse.etrice.etunit.converter.tests
-Bundle-Version: 0.2.0.qualifier
-Bundle-Activator: org.eclipse.etrice.etunit.converter.tests.Activator
-Bundle-Vendor: eTrice (incubation)
-Require-Bundle: org.eclipse.etrice.etunit.converter;bundle-version="0.2.0",
- org.eclipse.core.runtime,
- org.junit;bundle-version="4.8.2"
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Bundle-ActivationPolicy: lazy
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/build.properties b/plugins/org.eclipse.etrice.etunit.converter.tests/build.properties
deleted file mode 100644
index cd8ab5a53..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- reports/
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/launch_org.eclipse.etrice.etunit.converter.tests.launch b/plugins/org.eclipse.etrice.etunit.converter.tests/launch_org.eclipse.etrice.etunit.converter.tests.launch
deleted file mode 100644
index 1a89090a2..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/launch_org.eclipse.etrice.etunit.converter.tests.launch
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig">
-<booleanAttribute key="append.args" value="true"/>
-<stringAttribute key="application" value="org.eclipse.pde.junit.runtime.coretestapplication"/>
-<booleanAttribute key="askclear" value="false"/>
-<booleanAttribute key="automaticAdd" value="true"/>
-<booleanAttribute key="automaticValidate" value="false"/>
-<stringAttribute key="bootstrap" value=""/>
-<stringAttribute key="checked" value="[NONE]"/>
-<booleanAttribute key="clearConfig" value="true"/>
-<booleanAttribute key="clearws" value="true"/>
-<booleanAttribute key="clearwslog" value="false"/>
-<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
-<booleanAttribute key="default" value="true"/>
-<booleanAttribute key="includeOptional" value="true"/>
-<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/org.eclipse.etrice.etunit.converter.tests"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="4"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value="=org.eclipse.etrice.etunit.converter.tests"/>
-<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
-<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
-<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>
-<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.etrice.etunit.converter.tests"/>
-<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-ea&#13;&#10;-Xmx512m&#13;&#10;-Xms128m&#13;&#10;-XX:PermSize=32m&#13;&#10;-XX:MaxPermSize=256m&#13;&#10;-Dfile.encoding=UTF-8&#13;&#10;-Dosgi.requiredJavaVersion=1.5"/>
-<stringAttribute key="pde.version" value="3.3"/>
-<stringAttribute key="product" value="org.eclipse.platform.ide"/>
-<booleanAttribute key="run_in_ui_thread" value="true"/>
-<booleanAttribute key="show_selected_only" value="false"/>
-<booleanAttribute key="tracing" value="false"/>
-<booleanAttribute key="useCustomFeatures" value="false"/>
-<booleanAttribute key="useDefaultConfig" value="true"/>
-<booleanAttribute key="useDefaultConfigArea" value="false"/>
-<booleanAttribute key="useProduct" value="false"/>
-</launchConfiguration>
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/combined.xml b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/combined.xml
deleted file mode 100644
index 1eefd3de1..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/combined.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<testsuites>
- <testsuite failures="0" name="TestMessage" tests="1" time="0">
- <testcase name="TestEtMessage_testBasicMessage" time="0"/>
- </testsuite>
- <testsuite failures="1" name="TestEtMessageQueue" tests="2" time="187">
- <testcase name="TestEtMessageQueue_testPushPop" time="0">
- <failure><expected>334</expected><actual>333</actual>rcvMsg2->evtID: expected=334, actual=333
- at ..\src\runtime\TestEtMessageQueue.c:42</failure>
- </testcase>
- <testcase name="TestEtMessageQueue_testMassiveMessaging" time="187"/>
- </testsuite>
- <testsuite failures="0" name="TestEtMessageService" tests="5" time="16">
- <testcase name="TestEtMessageService_init" time="0"/>
- <testcase name="TestEtMessageService_GetPushPopReturn" time="0"/>
- <testcase name="TestEtMessageService_GetReturn" time="16"/>
- <testcase name="TestEtMessageService_execute" time="0"/>
- <testcase name="TestEtMessageService_getMessagePoolLowWaterMark" time="0"/>
- </testsuite>
- <testsuite failures="0" name="TestEtUnit" tests="2" time="0">
- <testcase name="TestEtUnit_Expect_Order" time="0"/>
- <testcase name="TestEtUnit_Expect" time="0"/>
- </testsuite>
- <testsuite failures="0" name="etUnit" tests="1" time="0">
- <testcase name="openAll and closeAll" time="0"/>
- </testsuite>
-</testsuites> \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/only_combined.xml b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/only_combined.xml
deleted file mode 100644
index 1eefd3de1..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/only_combined.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<testsuites>
- <testsuite failures="0" name="TestMessage" tests="1" time="0">
- <testcase name="TestEtMessage_testBasicMessage" time="0"/>
- </testsuite>
- <testsuite failures="1" name="TestEtMessageQueue" tests="2" time="187">
- <testcase name="TestEtMessageQueue_testPushPop" time="0">
- <failure><expected>334</expected><actual>333</actual>rcvMsg2->evtID: expected=334, actual=333
- at ..\src\runtime\TestEtMessageQueue.c:42</failure>
- </testcase>
- <testcase name="TestEtMessageQueue_testMassiveMessaging" time="187"/>
- </testsuite>
- <testsuite failures="0" name="TestEtMessageService" tests="5" time="16">
- <testcase name="TestEtMessageService_init" time="0"/>
- <testcase name="TestEtMessageService_GetPushPopReturn" time="0"/>
- <testcase name="TestEtMessageService_GetReturn" time="16"/>
- <testcase name="TestEtMessageService_execute" time="0"/>
- <testcase name="TestEtMessageService_getMessagePoolLowWaterMark" time="0"/>
- </testsuite>
- <testsuite failures="0" name="TestEtUnit" tests="2" time="0">
- <testcase name="TestEtUnit_Expect_Order" time="0"/>
- <testcase name="TestEtUnit_Expect" time="0"/>
- </testsuite>
- <testsuite failures="0" name="etUnit" tests="1" time="0">
- <testcase name="openAll and closeAll" time="0"/>
- </testsuite>
-</testsuites> \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/out.tex b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/out.tex
deleted file mode 100644
index 2dd4a35ee..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/out.tex
+++ /dev/null
@@ -1,41 +0,0 @@
-\newcommand{\ForAllTestCases}{}%
-\newcounter{FailCount}%
-\newcommand{\ForAllSuites}{%
- %\DoSuite{name}{nTests}{nPassed}{nFail}{time}%
- \setcounter{FailCount}{0}%
- \renewcommand{\ForAllTestCases}{%
- %\DoCase{name}{time}{status}{msg}{short}{long}%
- \DoCase{TestEtMessage_testBasicMessage}{0}{pass}{}{\TestMessageTestEtMessage_testBasicMessageshortdesc}{\TestMessageTestEtMessage_testBasicMessagelongdesc}%
- }%
- \DoSuite{TestMessage}{1}{1}{0}{0}%
- \setcounter{FailCount}{1}%
- \renewcommand{\ForAllTestCases}{%
- %\DoCase{name}{time}{status}{msg}{short}{long}%
- \DoCase{TestEtMessageQueue_testPushPop}{0}{fail}{expected 334 but was 333}{\TestEtMessageQueueTestEtMessageQueue_testPushPopshortdesc}{\TestEtMessageQueueTestEtMessageQueue_testPushPoplongdesc}%
- \DoCase{TestEtMessageQueue_testMassiveMessaging}{187}{pass}{}{\TestEtMessageQueueTestEtMessageQueue_testMassiveMessagingshortdesc}{\TestEtMessageQueueTestEtMessageQueue_testMassiveMessaginglongdesc}%
- }%
- \DoSuite{TestEtMessageQueue}{2}{1}{1}{187}%
- \setcounter{FailCount}{0}%
- \renewcommand{\ForAllTestCases}{%
- %\DoCase{name}{time}{status}{msg}{short}{long}%
- \DoCase{TestEtMessageService_init}{0}{pass}{}{\TestEtMessageServiceTestEtMessageService_initshortdesc}{\TestEtMessageServiceTestEtMessageService_initlongdesc}%
- \DoCase{TestEtMessageService_GetPushPopReturn}{0}{pass}{}{\TestEtMessageServiceTestEtMessageService_GetPushPopReturnshortdesc}{\TestEtMessageServiceTestEtMessageService_GetPushPopReturnlongdesc}%
- \DoCase{TestEtMessageService_GetReturn}{16}{pass}{}{\TestEtMessageServiceTestEtMessageService_GetReturnshortdesc}{\TestEtMessageServiceTestEtMessageService_GetReturnlongdesc}%
- \DoCase{TestEtMessageService_execute}{0}{pass}{}{\TestEtMessageServiceTestEtMessageService_executeshortdesc}{\TestEtMessageServiceTestEtMessageService_executelongdesc}%
- \DoCase{TestEtMessageService_getMessagePoolLowWaterMark}{0}{pass}{}{\TestEtMessageServiceTestEtMessageService_getMessagePoolLowWaterMarkshortdesc}{\TestEtMessageServiceTestEtMessageService_getMessagePoolLowWaterMarklongdesc}%
- }%
- \DoSuite{TestEtMessageService}{5}{5}{0}{16}%
- \setcounter{FailCount}{0}%
- \renewcommand{\ForAllTestCases}{%
- %\DoCase{name}{time}{status}{msg}{short}{long}%
- \DoCase{TestEtUnit_Expect_Order}{0}{pass}{}{\TestEtUnitTestEtUnit_Expect_Ordershortdesc}{\TestEtUnitTestEtUnit_Expect_Orderlongdesc}%
- \DoCase{TestEtUnit_Expect}{0}{pass}{}{\TestEtUnitTestEtUnit_Expectshortdesc}{\TestEtUnitTestEtUnit_Expectlongdesc}%
- }%
- \DoSuite{TestEtUnit}{2}{2}{0}{0}%
- \setcounter{FailCount}{0}%
- \renewcommand{\ForAllTestCases}{%
- %\DoCase{name}{time}{status}{msg}{short}{long}%
- \DoCase{openAll and closeAll}{0}{pass}{}{\etUnitopenAll and closeAllshortdesc}{\etUnitopenAll and closeAlllongdesc}%
- }%
- \DoSuite{etUnit}{1}{1}{0}{0}%
-}%
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report1.etu b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report1.etu
deleted file mode 100644
index 5d94e76eb..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report1.etu
+++ /dev/null
@@ -1,26 +0,0 @@
-etUnit report
-ts start: TestMessage
-tc start 1: TestEtMessage_testBasicMessage
-tc end 1: 0
-ts start: TestEtMessageQueue
-tc start 2: TestEtMessageQueue_testPushPop
-tc fail 2: #334#333#..\src\runtime\TestEtMessageQueue.c:42#rcvMsg2->evtID: expected=334, actual=333
-tc end 2: 0
-tc start 3: TestEtMessageQueue_testMassiveMessaging
-tc end 3: 187
-ts start: TestEtMessageService
-tc start 4: TestEtMessageService_init
-tc end 4: 0
-tc start 5: TestEtMessageService_GetPushPopReturn
-tc end 5: 0
-tc start 6: TestEtMessageService_GetReturn
-tc end 6: 16
-tc start 7: TestEtMessageService_execute
-tc end 7: 0
-tc start 8: TestEtMessageService_getMessagePoolLowWaterMark
-tc end 8: 0
-ts start: TestEtUnit
-tc start 9: TestEtUnit_Expect_Order
-tc end 9: 0
-tc start 10: TestEtUnit_Expect
-tc end 10: 0
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report1.xml b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report1.xml
deleted file mode 100644
index 3d1595e4d..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report1.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<testsuites>
- <testsuite failures="0" name="TestMessage" tests="1" time="0">
- <testcase name="TestEtMessage_testBasicMessage" time="0"/>
- </testsuite>
- <testsuite failures="1" name="TestEtMessageQueue" tests="2" time="187">
- <testcase name="TestEtMessageQueue_testPushPop" time="0">
- <failure><expected>334</expected><actual>333</actual>rcvMsg2->evtID: expected=334, actual=333
- at ..\src\runtime\TestEtMessageQueue.c:42</failure>
- </testcase>
- <testcase name="TestEtMessageQueue_testMassiveMessaging" time="187"/>
- </testsuite>
- <testsuite failures="0" name="TestEtMessageService" tests="5" time="16">
- <testcase name="TestEtMessageService_init" time="0"/>
- <testcase name="TestEtMessageService_GetPushPopReturn" time="0"/>
- <testcase name="TestEtMessageService_GetReturn" time="16"/>
- <testcase name="TestEtMessageService_execute" time="0"/>
- <testcase name="TestEtMessageService_getMessagePoolLowWaterMark" time="0"/>
- </testsuite>
- <testsuite failures="0" name="TestEtUnit" tests="2" time="0">
- <testcase name="TestEtUnit_Expect_Order" time="0"/>
- <testcase name="TestEtUnit_Expect" time="0"/>
- </testsuite>
-</testsuites> \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report2.etu b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report2.etu
deleted file mode 100644
index 78f14cc25..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report2.etu
+++ /dev/null
@@ -1,4 +0,0 @@
-etUnit report
-ts start: etUnit
-tc start 11: openAll and closeAll
-tc end 11: 0
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report2.xml b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report2.xml
deleted file mode 100644
index ece64f1e0..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report2.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<testsuites>
- <testsuite failures="0" name="etUnit" tests="1" time="0">
- <testcase name="openAll and closeAll" time="0"/>
- </testsuite>
-</testsuites> \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report3.etu b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report3.etu
deleted file mode 100644
index 5d94e76eb..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report3.etu
+++ /dev/null
@@ -1,26 +0,0 @@
-etUnit report
-ts start: TestMessage
-tc start 1: TestEtMessage_testBasicMessage
-tc end 1: 0
-ts start: TestEtMessageQueue
-tc start 2: TestEtMessageQueue_testPushPop
-tc fail 2: #334#333#..\src\runtime\TestEtMessageQueue.c:42#rcvMsg2->evtID: expected=334, actual=333
-tc end 2: 0
-tc start 3: TestEtMessageQueue_testMassiveMessaging
-tc end 3: 187
-ts start: TestEtMessageService
-tc start 4: TestEtMessageService_init
-tc end 4: 0
-tc start 5: TestEtMessageService_GetPushPopReturn
-tc end 5: 0
-tc start 6: TestEtMessageService_GetReturn
-tc end 6: 16
-tc start 7: TestEtMessageService_execute
-tc end 7: 0
-tc start 8: TestEtMessageService_getMessagePoolLowWaterMark
-tc end 8: 0
-ts start: TestEtUnit
-tc start 9: TestEtUnit_Expect_Order
-tc end 9: 0
-tc start 10: TestEtUnit_Expect
-tc end 10: 0
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report3.xml b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report3.xml
deleted file mode 100644
index 3d1595e4d..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report3.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<testsuites>
- <testsuite failures="0" name="TestMessage" tests="1" time="0">
- <testcase name="TestEtMessage_testBasicMessage" time="0"/>
- </testsuite>
- <testsuite failures="1" name="TestEtMessageQueue" tests="2" time="187">
- <testcase name="TestEtMessageQueue_testPushPop" time="0">
- <failure><expected>334</expected><actual>333</actual>rcvMsg2->evtID: expected=334, actual=333
- at ..\src\runtime\TestEtMessageQueue.c:42</failure>
- </testcase>
- <testcase name="TestEtMessageQueue_testMassiveMessaging" time="187"/>
- </testsuite>
- <testsuite failures="0" name="TestEtMessageService" tests="5" time="16">
- <testcase name="TestEtMessageService_init" time="0"/>
- <testcase name="TestEtMessageService_GetPushPopReturn" time="0"/>
- <testcase name="TestEtMessageService_GetReturn" time="16"/>
- <testcase name="TestEtMessageService_execute" time="0"/>
- <testcase name="TestEtMessageService_getMessagePoolLowWaterMark" time="0"/>
- </testsuite>
- <testsuite failures="0" name="TestEtUnit" tests="2" time="0">
- <testcase name="TestEtUnit_Expect_Order" time="0"/>
- <testcase name="TestEtUnit_Expect" time="0"/>
- </testsuite>
-</testsuites> \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report4.etu b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report4.etu
deleted file mode 100644
index 78f14cc25..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report4.etu
+++ /dev/null
@@ -1,4 +0,0 @@
-etUnit report
-ts start: etUnit
-tc start 11: openAll and closeAll
-tc end 11: 0
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report4.xml b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report4.xml
deleted file mode 100644
index ece64f1e0..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report4.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<testsuites>
- <testsuite failures="0" name="etUnit" tests="1" time="0">
- <testcase name="openAll and closeAll" time="0"/>
- </testsuite>
-</testsuites> \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report5.etu b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report5.etu
deleted file mode 100644
index 78f14cc25..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report5.etu
+++ /dev/null
@@ -1,4 +0,0 @@
-etUnit report
-ts start: etUnit
-tc start 11: openAll and closeAll
-tc end 11: 0
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report5.xml b/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report5.xml
deleted file mode 100644
index bd3e81752..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/reports/report5.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<testsuites>
- <testsuite failures="0" name="new.suite.name" tests="1" time="0">
- <testcase name="openAll and closeAll" time="0"/>
- </testsuite>
-</testsuites> \ No newline at end of file
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/ConverterTest.java b/plugins/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/ConverterTest.java
deleted file mode 100644
index f2551ad9f..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/ConverterTest.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Henrik Rentz-Reichert (initial contribution)
- *
- *******************************************************************************/
-
-package org.eclipse.etrice.etunit.converter;
-
-import java.io.IOException;
-import java.net.URL;
-import java.util.ArrayList;
-
-import org.eclipse.core.runtime.FileLocator;
-import org.eclipse.etrice.etunit.converter.tests.Activator;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * @author Henrik Rentz-Reichert
- *
- */
-public class ConverterTest {
-
- private String basePath;
-
- @Before
- public void prepare() {
- try {
- URL modelsDir = Activator.getInstance().getBundle().getEntry("reports");
- URL fileURL = FileLocator.toFileURL(modelsDir);
- basePath = fileURL.getFile();
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
-
- @Test
- public void testConversion() {
- ArrayList<String> args = new ArrayList<String>();
- args.add(basePath+"report1.etu");
-
- String[] arguments = new String[args.size()];
- EtUnitReportConverter.main(args.toArray(arguments));
- }
-
- @Test
- public void testDoubleConversion() {
- ArrayList<String> args = new ArrayList<String>();
- args.add(basePath+"report1.etu");
- args.add(basePath+"report2.etu");
-
- String[] arguments = new String[args.size()];
- EtUnitReportConverter.main(args.toArray(arguments));
- }
-
- @Test
- public void testCombine() {
- ArrayList<String> args = new ArrayList<String>();
- args.add(basePath+"report1.etu");
- args.add(basePath+"report2.etu");
- args.add(EtUnitReportConverter.OPTION_COMBINED);
- args.add(basePath+"combined.xml");
-
- String[] arguments = new String[args.size()];
- EtUnitReportConverter.main(args.toArray(arguments));
- }
-
- @Test
- public void testOnlyCombine() {
- ArrayList<String> args = new ArrayList<String>();
- args.add(basePath+"report3.etu");
- args.add(basePath+"report4.etu");
- args.add(EtUnitReportConverter.OPTION_ONLY_COMBINED);
- args.add(basePath+"only_combined.xml");
-
- String[] arguments = new String[args.size()];
- EtUnitReportConverter.main(args.toArray(arguments));
- }
-
- @Test
- public void testTex() {
- ArrayList<String> args = new ArrayList<String>();
- args.add(basePath+"report3.etu");
- args.add(basePath+"report4.etu");
- args.add(EtUnitReportConverter.OPTION_TEX_OUTPUT);
- args.add(basePath+"out.tex");
-
- String[] arguments = new String[args.size()];
- EtUnitReportConverter.main(args.toArray(arguments));
- }
-
- @Test
- public void testChangeSuiteName() {
- ArrayList<String> args = new ArrayList<String>();
- args.add(basePath+"report5.etu");
- args.add(EtUnitReportConverter.OPTION_SUITE_NAME);
- args.add("new.suite.name");
-
- String[] arguments = new String[args.size()];
- EtUnitReportConverter.main(args.toArray(arguments));
- }
-}
diff --git a/plugins/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java b/plugins/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java
deleted file mode 100644
index 9a73b3f54..000000000
--- a/plugins/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package org.eclipse.etrice.etunit.converter.tests;
-
-import org.eclipse.core.runtime.Plugin;
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-public class Activator extends Plugin implements BundleActivator {
-
- private static Activator instance = null;
-
- private static BundleContext context;
-
- static BundleContext getContext() {
- return context;
- }
-
- /*
- * (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext bundleContext) throws Exception {
- super.start(bundleContext);
-
- Activator.context = bundleContext;
- instance = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext bundleContext) throws Exception {
- instance = null;
- Activator.context = null;
-
- super.stop(bundleContext);
- }
-
- public static Activator getInstance() {
- return instance;
- }
-}

Back to the top