diff options
author | Ryan D. Brooks | 2015-10-27 21:17:26 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2015-10-27 21:17:26 +0000 |
commit | c804e2b9f1612ee7dbdd4f28782fdc08c9a83524 (patch) | |
tree | 238e913be9e57c67f59987696276a5e2ccaa6337 /plugins/org.eclipse.osee.framework.core.dsl.integration.test/src/org/eclipse/osee/framework/core/dsl/integration/util/OseeDslSegmentParserTest.java | |
parent | 924de4163bac781c495a45eb2e9c9228d8f39829 (diff) | |
download | org.eclipse.osee-c804e2b9f1612ee7dbdd4f28782fdc08c9a83524.tar.gz org.eclipse.osee-c804e2b9f1612ee7dbdd4f28782fdc08c9a83524.tar.xz org.eclipse.osee-c804e2b9f1612ee7dbdd4f28782fdc08c9a83524.zip |
refactor: Use CoreBranches.COMMON_ID where applicable
Change-Id: Icfbd7b86b74ab06a2289db514b1bdf3f11cb027c
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.integration.test/src/org/eclipse/osee/framework/core/dsl/integration/util/OseeDslSegmentParserTest.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.core.dsl.integration.test/src/org/eclipse/osee/framework/core/dsl/integration/util/OseeDslSegmentParserTest.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.integration.test/src/org/eclipse/osee/framework/core/dsl/integration/util/OseeDslSegmentParserTest.java b/plugins/org.eclipse.osee.framework.core.dsl.integration.test/src/org/eclipse/osee/framework/core/dsl/integration/util/OseeDslSegmentParserTest.java index 0a811796ba3..9a44e8a5ee0 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl.integration.test/src/org/eclipse/osee/framework/core/dsl/integration/util/OseeDslSegmentParserTest.java +++ b/plugins/org.eclipse.osee.framework.core.dsl.integration.test/src/org/eclipse/osee/framework/core/dsl/integration/util/OseeDslSegmentParserTest.java @@ -10,6 +10,7 @@ *******************************************************************************/ package org.eclipse.osee.framework.core.dsl.integration.util; +import static org.eclipse.osee.framework.core.enums.CoreBranches.COMMON_ID; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; @@ -31,7 +32,7 @@ import org.junit.Test; /** * Test Case for {@link OseeDslSegmentParser} - * + * * @author Roberto E. Escobar */ public class OseeDslSegmentParserTest { @@ -96,16 +97,15 @@ public class OseeDslSegmentParserTest { @Test public void testGetLocations() throws OseeCoreException { final String artifactGuid = GUID.create(); - final Long branchUuid = CoreBranches.COMMON.getUuid(); String data = null; - data = String.format("//@start_artifact branch/%d/artifact/%s/ ()", branchUuid, artifactGuid); - checkGetTagLocations(data, new TagLocation(true, branchUuid, artifactGuid, 0, data.length())); + data = String.format("//@start_artifact branch/%d/artifact/%s/ ()", COMMON_ID, artifactGuid); + checkGetTagLocations(data, new TagLocation(true, COMMON_ID, artifactGuid, 0, data.length())); - data = String.format("//@end_artifact branch/%d/artifact/%s/ ()", branchUuid, artifactGuid); - checkGetTagLocations(data, new TagLocation(false, branchUuid, artifactGuid, 0, data.length())); + data = String.format("//@end_artifact branch/%d/artifact/%s/ ()", COMMON_ID, artifactGuid); + checkGetTagLocations(data, new TagLocation(false, COMMON_ID, artifactGuid, 0, data.length())); - data = String.format("//@end_artifact branch/%d/artifact/%s/", branchUuid, artifactGuid); + data = String.format("//@end_artifact branch/%d/artifact/%s/", COMMON_ID, artifactGuid); checkGetTagLocations(data); data = "//@end_artifact branch//artifact/"; |