Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2010-08-16 18:31:56 +0000
committerddunne2010-08-16 18:31:56 +0000
commit1cb6d921cc55bfaf0cc9e1646fd94a380173d030 (patch)
tree3d80e3aef75c8256d6ce9cf949e4e8893d085c34 /plugins/org.eclipse.osee.framework.skynet.core.test
parent73f4488c1eff0239cb86495a1046e71942551e56 (diff)
downloadorg.eclipse.osee-1cb6d921cc55bfaf0cc9e1646fd94a380173d030.tar.gz
org.eclipse.osee-1cb6d921cc55bfaf0cc9e1646fd94a380173d030.tar.xz
org.eclipse.osee-1cb6d921cc55bfaf0cc9e1646fd94a380173d030.zip
fixed reload events
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/test/event/ArtifactEventFiltersTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/test/event/ArtifactEventFiltersTest.java b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/test/event/ArtifactEventFiltersTest.java
index 0221f8a749..2af12f9af4 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/test/event/ArtifactEventFiltersTest.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/test/event/ArtifactEventFiltersTest.java
@@ -82,8 +82,7 @@ public class ArtifactEventFiltersTest {
private void testArtifactEventFilters__branchFilter() throws Exception {
// Create dummy artifact event
String branchGuid = GUID.create();
- ArtifactEvent testArtifactEvent = new ArtifactEvent();
- testArtifactEvent.setBranchGuid(branchGuid);
+ ArtifactEvent testArtifactEvent = new ArtifactEvent(new OseeBranch("test branch", branchGuid));
testArtifactEvent.setNetworkSender(getDummyRemoteNetworkSender());
// Register set filters to null to see if event comes through
@@ -136,8 +135,7 @@ public class ArtifactEventFiltersTest {
// Create dummy artifact event
String branchGuid = GUID.create();
ArtifactType generalDocArtType = ArtifactTypeManager.getType(CoreArtifactTypes.GeneralDocument);
- ArtifactEvent testArtifactEvent = new ArtifactEvent();
- testArtifactEvent.setBranchGuid(branchGuid);
+ ArtifactEvent testArtifactEvent = new ArtifactEvent(new OseeBranch("test branch 2", branchGuid));
testArtifactEvent.setNetworkSender(getDummyRemoteNetworkSender());
testArtifactEvent.getArtifacts().add(
new EventBasicGuidArtifact(EventModType.Added, branchGuid, generalDocArtType.getGuid(), GUID.create()));

Back to the top