Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2012-09-11 22:54:18 +0000
committerRoberto E. Escobar2012-09-11 22:54:18 +0000
commit0bdcc3c7fd27b7b33ce2fa0363b259dd16b38f29 (patch)
tree2549882e78cc34badd310d8f4b318e185b9b1e47 /plugins/org.eclipse.osee.ats.test/src/org/eclipse
parent4e553c900a75975116e6ef7461e5e14c61982da3 (diff)
downloadorg.eclipse.osee-0bdcc3c7fd27b7b33ce2fa0363b259dd16b38f29.tar.gz
org.eclipse.osee-0bdcc3c7fd27b7b33ce2fa0363b259dd16b38f29.tar.xz
org.eclipse.osee-0bdcc3c7fd27b7b33ce2fa0363b259dd16b38f29.zip
refinement: Support error logging during AtsBranchConfigurationTest0.10.2.v201209121827_RC
Diffstat (limited to 'plugins/org.eclipse.osee.ats.test/src/org/eclipse')
-rw-r--r--plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java
index e0e6ed1906a..fda1d5547f6 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java
+++ b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java
@@ -11,6 +11,7 @@
package org.eclipse.osee.ats.config;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
@@ -138,9 +139,13 @@ public class AtsBranchConfigurationTest {
IAtsTeamDefinition teamDef =
AtsConfigCache.instance.getSoleByName(BRANCH_VIA_VERSIONS.getName(), IAtsTeamDefinition.class);
IAtsVersion versionToTarget = null;
+ String version1Hrid = "", version2Hrid = "";
for (IAtsVersion vArt : teamDef.getVersions()) {
if (vArt.getName().contains("Ver1")) {
versionToTarget = vArt;
+ version1Hrid = vArt.getHumanReadableId();
+ } else {
+ version2Hrid = vArt.getHumanReadableId();
}
}
versionToTarget.setBaselineBranchGuid(viaTeamDefBranch.getGuid());
@@ -213,7 +218,9 @@ public class AtsBranchConfigurationTest {
Collection<Artifact> newArts = changeData.getArtifacts(KindType.Artifact, ModificationType.NEW);
Assert.assertTrue("Should be 1 new artifact in change report, found " + newArts.size(), newArts.size() == 1);
- TestUtil.severeLoggingEnd(monitor);
+ TestUtil.severeLoggingEnd(monitor, Arrays.asList(
+ "Version [[" + version1Hrid + "][BranchViaVersions - Ver1]] has no related team defininition",
+ "Version [[" + version2Hrid + "][BranchViaVersions - Ver2]] has no related team defininition"));
}
@org.junit.Test

Back to the top