Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2011-05-20 12:08:58 -0400
committerRyan D. Brooks2011-05-20 12:08:58 -0400
commit7840f46b12b20a1bb3ef8b3bb934421e9fc75709 (patch)
treed8da4c3259349a190bee93f3fa9da457b853f399 /plugins/org.eclipse.osee.framework.skynet.core.test
parentf28113b5cd91d824b975255c6ca0cd51bb1b84ee (diff)
downloadorg.eclipse.osee-7840f46b12b20a1bb3ef8b3bb934421e9fc75709.tar.gz
org.eclipse.osee-7840f46b12b20a1bb3ef8b3bb934421e9fc75709.tar.xz
org.eclipse.osee-7840f46b12b20a1bb3ef8b3bb934421e9fc75709.zip
feature: ATS Programatic Transition Validation
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core.test')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/mocks/MockBasicUser.java30
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/mocks/MockIArtifact.java1
2 files changed, 30 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/mocks/MockBasicUser.java b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/mocks/MockBasicUser.java
new file mode 100644
index 0000000000..615d31e117
--- /dev/null
+++ b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/mocks/MockBasicUser.java
@@ -0,0 +1,30 @@
+/*
+ * Created on Jun 13, 2011
+ *
+ * PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
+ */
+package org.eclipse.osee.framework.skynet.core.mocks;
+
+import org.eclipse.osee.framework.core.model.IBasicUser;
+import org.eclipse.osee.framework.jdk.core.util.GUID;
+
+public class MockBasicUser extends MockIArtifact implements IBasicUser {
+
+ private final String userId;
+
+ public MockBasicUser(String name, String userId) {
+ super(234, name, GUID.create(), null, null);
+ this.userId = userId;
+ }
+
+ @Override
+ public String getUserId() {
+ return userId;
+ }
+
+ @Override
+ public boolean isActive() {
+ return true;
+ }
+
+}
diff --git a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/mocks/MockIArtifact.java b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/mocks/MockIArtifact.java
index 173f22492f..53799d1069 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/mocks/MockIArtifact.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/mocks/MockIArtifact.java
@@ -12,7 +12,6 @@ package org.eclipse.osee.framework.skynet.core.mocks;
import java.util.Collections;
import java.util.List;
-
import org.eclipse.osee.framework.core.data.NamedIdentity;
import org.eclipse.osee.framework.core.model.Branch;
import org.eclipse.osee.framework.core.model.RelationTypeSide;

Back to the top