Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-06-15 17:51:01 -0400
committerrescobar2010-06-15 17:51:01 -0400
commit695d82d62ae16dddce59f66ce8af97eacad7d220 (patch)
tree3801c4cc673e93afe87db8c1a4b52dc212ba1f3e /plugins/org.eclipse.osee.framework.access.test
parent9ed9bb6e650aec4ea38f7e4618b2816ec05d62cc (diff)
downloadorg.eclipse.osee-695d82d62ae16dddce59f66ce8af97eacad7d220.tar.gz
org.eclipse.osee-695d82d62ae16dddce59f66ce8af97eacad7d220.tar.xz
org.eclipse.osee-695d82d62ae16dddce59f66ce8af97eacad7d220.zip
Diffstat (limited to 'plugins/org.eclipse.osee.framework.access.test')
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/.classpath7
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/.project28
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/.settings/org.eclipse.pde.core.prefs4
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/META-INF/MANIFEST.MF9
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/build.properties4
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/AccessTestSuite.java18
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/TestAccess.java109
-rw-r--r--plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/internal/InternalAccessTestSuite.java17
9 files changed, 0 insertions, 204 deletions
diff --git a/plugins/org.eclipse.osee.framework.access.test/.classpath b/plugins/org.eclipse.osee.framework.access.test/.classpath
deleted file mode 100644
index 8a8f1668cd..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/.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.osee.framework.access.test/.project b/plugins/org.eclipse.osee.framework.access.test/.project
deleted file mode 100644
index 088cac150f..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.osee.framework.access.test</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.osee.framework.access.test/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.osee.framework.access.test/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index f7286ca11f..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Wed Jun 02 20:45:28 MST 2010
-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.osee.framework.access.test/.settings/org.eclipse.pde.core.prefs b/plugins/org.eclipse.osee.framework.access.test/.settings/org.eclipse.pde.core.prefs
deleted file mode 100644
index 6a8c51251a..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/.settings/org.eclipse.pde.core.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Wed Jun 02 20:45:28 MST 2010
-eclipse.preferences.version=1
-pluginProject.extensions=false
-resolve.requirebundle=false
diff --git a/plugins/org.eclipse.osee.framework.access.test/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.framework.access.test/META-INF/MANIFEST.MF
deleted file mode 100644
index 7650428019..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,9 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Access Test
-Bundle-SymbolicName: org.eclipse.osee.framework.access.test;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Eclipse.org
-Fragment-Host: org.eclipse.osee.framework.access
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: org.junit4;bundle-version="4.5.0"
diff --git a/plugins/org.eclipse.osee.framework.access.test/build.properties b/plugins/org.eclipse.osee.framework.access.test/build.properties
deleted file mode 100644
index 41eb6ade2b..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .
diff --git a/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/AccessTestSuite.java b/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/AccessTestSuite.java
deleted file mode 100644
index 4c34c577c3..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/AccessTestSuite.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Created on Jun 2, 2010
- *
- * PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
- */
-package org.eclipse.osee.framework.access.test;
-
-import org.eclipse.osee.framework.access.test.internal.InternalAccessTestSuite;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-
-@RunWith(Suite.class)
-@Suite.SuiteClasses( { //
-InternalAccessTestSuite.class, //
-})
-public class AccessTestSuite {
-
-}
diff --git a/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/TestAccess.java b/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/TestAccess.java
deleted file mode 100644
index de629bedae..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/TestAccess.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * Created on Jun 2, 2010
- *
- * PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
- */
-package org.eclipse.osee.framework.access.test;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.osee.framework.access.OseeAccessHandler;
-import org.eclipse.osee.framework.access.OseeAccessService;
-import org.eclipse.osee.framework.access.internal.OseeAccessPoint;
-import org.eclipse.osee.framework.access.internal.OseeAccessServiceImpl;
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
-import org.eclipse.osee.framework.core.operation.AbstractOperation;
-import org.eclipse.osee.framework.core.operation.IOperation;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class TestAccess {
-
- @Test
- public void testAccess() throws OseeCoreException {
- OseeAccessService access = new OseeAccessServiceImpl();
- Assert.assertTrue(access.getAccessTypes().isEmpty());
-
- AccessHandler handler = new AccessHandler();
-
- access.addHandler(TestAccessPoint.TYPE, handler);
-
- Assert.assertEquals(1, access.getHandlerCount(TestAccessPoint.TYPE));
- Assert.assertFalse(access.getAccessTypes().isEmpty());
-
- access.removeHandler(TestAccessPoint.TYPE, handler);
- Assert.assertTrue(access.getAccessTypes().isEmpty());
- Assert.assertEquals(0, access.getHandlerCount(TestAccessPoint.TYPE));
-
- OseeAccessPoint<?> accessPoint = new TestAccessPoint();
- IStatus status = access.dispatch(new NullProgressMonitor(), "", accessPoint);
- // Assert.assertTrue(handler.isWasChecked());
-
- }
-
- private final static class TestAccessPoint extends OseeAccessPoint<AccessHandler> {
-
- private static final Type<AccessHandler> TYPE = new Type<AccessHandler>();
-
- @Override
- public Type<AccessHandler> getAssociatedType() {
- return TYPE;
- }
-
- //
- // @Override
- // protected void dispatch(AccessHandler handler) {
- // handler.setData("Pass In Information Here");
- // // Initialize data
- //
- // // run the rule
- //
- // }
-
- @Override
- protected IStatus dispatch(AccessHandler handler) {
- handler.create("A", "B", "C");
- return null;
- }
- }
-
- private final class AccessHandler extends AbstractOperation implements OseeAccessHandler {
-
- private final String a;
- private final String b;
-
- public AccessHandler() {
- this("", "");
- }
-
- public AccessHandler(String a, String b) {
- super("", "");
- this.a = a;
- this.b = b;
- }
-
- public IOperation create(String string, String string2, String string3) {
- return new AccessHandler();
- }
-
- @Override
- protected void doWork(IProgressMonitor monitor) throws Exception {
-
- }
-
- // Any Random data needed
- // public void setData(Object object) {
- // wasChecked = true;
- // }
-
- // public void setWasChecked(boolean wasChecked) {
- // this.wasChecked = wasChecked;
- // }
- //
- // public boolean isWasChecked() {
- // return wasChecked;
- // }
-
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/internal/InternalAccessTestSuite.java b/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/internal/InternalAccessTestSuite.java
deleted file mode 100644
index 3011c07f4f..0000000000
--- a/plugins/org.eclipse.osee.framework.access.test/src/org/eclipse/osee/framework/access/test/internal/InternalAccessTestSuite.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Created on Jun 2, 2010
- *
- * PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
- */
-package org.eclipse.osee.framework.access.test.internal;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-
-@RunWith(Suite.class)
-@Suite.SuiteClasses( { //
-//CoreServerInternalTestSuite.class, //
-})
-public class InternalAccessTestSuite {
-
-}

Back to the top