Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2012-07-17 21:28:31 +0000
committerRoberto E. Escobar2012-07-17 21:28:31 +0000
commit19757d3eadb474eaab008a5803adb1c65d070526 (patch)
tree9349c7a0a1ad82dbc2824a1889106e8c13615d3a /plugins/org.eclipse.osee.framework.skynet.core.test
parent79714f849a42a4d661c09a4e0cd73a2f63539eb9 (diff)
downloadorg.eclipse.osee-19757d3eadb474eaab008a5803adb1c65d070526.tar.gz
org.eclipse.osee-19757d3eadb474eaab008a5803adb1c65d070526.tar.xz
org.eclipse.osee-19757d3eadb474eaab008a5803adb1c65d070526.zip
bug[ats_7XN85]: Exception in access control for non-existent associated artifact
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/branch/CreateBranchOperationTest.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/branch/CreateBranchOperationTest.java b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/branch/CreateBranchOperationTest.java
index 055225eb9b8..ab331c8978e 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/branch/CreateBranchOperationTest.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core.test/src/org/eclipse/osee/framework/skynet/core/branch/CreateBranchOperationTest.java
@@ -51,9 +51,11 @@ public class CreateBranchOperationTest {
workingBranch.setBranchState(BranchState.DELETED);
BranchManager.persist(workingBranch);
- BranchManager.createWorkingBranch(workingBranch, workingBranch.getName() + " child", folder);
+ Branch workingBranch2 =
+ BranchManager.createWorkingBranch(workingBranch, workingBranch.getName() + " child", folder);
Operations.executeWorkAndCheckStatus(new DeleteBranchOperation(workingBranch));
+ Operations.executeWorkAndCheckStatus(new DeleteBranchOperation(workingBranch2));
folder.deleteAndPersist();
}
@@ -69,9 +71,11 @@ public class CreateBranchOperationTest {
workingBranch.setBranchState(BranchState.REBASELINED);
BranchManager.persist(workingBranch);
- BranchManager.createWorkingBranch(workingBranch, workingBranch.getName() + " child", folder);
+ Branch workingBranch2 =
+ BranchManager.createWorkingBranch(workingBranch, workingBranch.getName() + " child", folder);
Operations.executeWorkAndCheckStatus(new DeleteBranchOperation(workingBranch));
+ Operations.executeWorkAndCheckStatus(new DeleteBranchOperation(workingBranch2));
folder.deleteAndPersist();

Back to the top