summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwilk2012-04-05 21:10:36 (EDT)
committerRoberto E. Escobar2012-04-05 21:10:36 (EDT)
commitf100df8cde2664177e44ee991c076662a8b13101 (patch)
tree3d8c7507c6f46ec5bc8c4ad94b46e4f69f9867b5
parent622303469a1b462632d14ca257b2875649c3debf (diff)
downloadorg.eclipse.osee-f100df8cde2664177e44ee991c076662a8b13101.zip
org.eclipse.osee-f100df8cde2664177e44ee991c076662a8b13101.tar.gz
org.eclipse.osee-f100df8cde2664177e44ee991c076662a8b13101.tar.bz2
refactor: Fix ViewWordChangeAndDiffTest to operate on correct branch
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/ViewWordChangeAndDiffTest.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/ViewWordChangeAndDiffTest.java b/plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/ViewWordChangeAndDiffTest.java
index 4dd50ac..55d27d8 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/ViewWordChangeAndDiffTest.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet.test/src/org/eclipse/osee/framework/ui/skynet/test/cases/ViewWordChangeAndDiffTest.java
@@ -31,7 +31,6 @@ import org.eclipse.osee.framework.core.operation.Operations;
import org.eclipse.osee.framework.jdk.core.util.Lib;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.framework.skynet.core.artifact.BranchManager;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.skynet.core.change.ArtifactDelta;
import org.eclipse.osee.framework.skynet.core.change.Change;
@@ -119,11 +118,7 @@ public final class ViewWordChangeAndDiffTest {
TestUtil.severeLoggingEnd(severeLoggingMonitor);
}
- private IOseeBranch getTestBranch() throws OseeCoreException {
- // get the changes on the specified branch
- if (BranchManager.branchExists(DemoSawBuilds.SAW_Bld_2)) {
- return DemoSawBuilds.SAW_Bld_2;
- }
+ private IOseeBranch getTestBranch() {
return DemoSawBuilds.SAW_Bld_1;
}