Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2011-02-11 03:06:17 -0500
committerHenrik Rentz-Reichert2011-02-11 03:06:17 -0500
commita92eff7e81a59de4449312e8b2a52016a99f9657 (patch)
tree0816c650cd91c7254b650d4877692dc29a33ed53 /tests
parent94f407939f9acc41ddb1befcac15598d64cd63b1 (diff)
downloadorg.eclipse.etrice-a92eff7e81a59de4449312e8b2a52016a99f9657.tar.gz
org.eclipse.etrice-a92eff7e81a59de4449312e8b2a52016a99f9657.tar.xz
org.eclipse.etrice-a92eff7e81a59de4449312e8b2a52016a99f9657.zip
ui.behavior.tests: new unit test for behavior diagrams
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.etrice.ui.behavior.tests/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--tests/org.eclipse.etrice.ui.behavior.tests/META-INF/MANIFEST.MF5
-rw-r--r--tests/org.eclipse.etrice.ui.behavior.tests/bin/org/eclipse/etrice/ui/behavior/BehaviorActivator.classbin964 -> 0 bytes
-rw-r--r--tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior/BehaviorActivator.java50
4 files changed, 11 insertions, 52 deletions
diff --git a/tests/org.eclipse.etrice.ui.behavior.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.etrice.ui.behavior.tests/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..66115425c
--- /dev/null
+++ b/tests/org.eclipse.etrice.ui.behavior.tests/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Thu Feb 10 11:58:16 CET 2011
+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/tests/org.eclipse.etrice.ui.behavior.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.etrice.ui.behavior.tests/META-INF/MANIFEST.MF
index 8ff672976..261309db6 100644
--- a/tests/org.eclipse.etrice.ui.behavior.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.etrice.ui.behavior.tests/META-INF/MANIFEST.MF
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: eTrice Behavior Diagram Tests
Bundle-SymbolicName: org.eclipse.etrice.ui.behavior.tests
Bundle-Version: 0.1.0
-Bundle-Activator: org.eclipse.etrice.ui.behavior.BehaviorActivator
+Bundle-Activator: org.eclipse.etrice.ui.behavior.BehaviorTestActivator
Bundle-Vendor: eTrice (Incubation)
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
@@ -12,6 +12,7 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.etrice.ui.behavior;bundle-version="0.1.0",
org.eclipse.xtext;bundle-version="1.0.1",
org.eclipse.graphiti;bundle-version="0.7.0",
- org.eclipse.etrice.ui.common;bundle-version="0.1.0"
+ org.eclipse.etrice.ui.common;bundle-version="0.1.0",
+ org.eclipse.etrice.ui.tests.base;bundle-version="0.1.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
diff --git a/tests/org.eclipse.etrice.ui.behavior.tests/bin/org/eclipse/etrice/ui/behavior/BehaviorActivator.class b/tests/org.eclipse.etrice.ui.behavior.tests/bin/org/eclipse/etrice/ui/behavior/BehaviorActivator.class
deleted file mode 100644
index 17a8733da..000000000
--- a/tests/org.eclipse.etrice.ui.behavior.tests/bin/org/eclipse/etrice/ui/behavior/BehaviorActivator.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior/BehaviorActivator.java b/tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior/BehaviorActivator.java
deleted file mode 100644
index 3ce9ca9ac..000000000
--- a/tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior/BehaviorActivator.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package org.eclipse.etrice.ui.behavior;
-
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class BehaviorActivator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.etrice.ui.behavior.tests"; //$NON-NLS-1$
-
- // The shared instance
- private static BehaviorActivator plugin;
-
- /**
- * The constructor
- */
- public BehaviorActivator() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static BehaviorActivator getDefault() {
- return plugin;
- }
-
-}

Back to the top