Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2016-11-02 23:56:37 +0000
committerDavid W. Miller2016-11-02 23:56:37 +0000
commit3ca189684635298e5caaec9ec1486fd3cbf25622 (patch)
tree14c49c3fc6f9ffc7b9fc150e8dd025bf58ecc772 /plugins/org.eclipse.osee.ats.client.integration.tests
parent334932faa52400360bce4d52e18f95d2711430db (diff)
downloadorg.eclipse.osee-3ca189684635298e5caaec9ec1486fd3cbf25622.tar.gz
org.eclipse.osee-3ca189684635298e5caaec9ec1486fd3cbf25622.tar.xz
org.eclipse.osee-3ca189684635298e5caaec9ec1486fd3cbf25622.zip
refactor: Extend Attribute from AttributeId
Diffstat (limited to 'plugins/org.eclipse.osee.ats.client.integration.tests')
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java
index 45e0149830b..1192b018cd5 100644
--- a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsChangeSetTest.java
@@ -168,7 +168,7 @@ public class AtsChangeSetTest {
public void testSetAttributeById_ArtifactId() {
Attribute<?> staticIdAttr = null;
for (Attribute<?> attr : folderArt.getAttributes()) {
- if (attr.getAttributeType().getId().equals(CoreAttributeTypes.StaticId.getGuid())) {
+ if (attr.getAttributeType().equals(CoreAttributeTypes.StaticId)) {
staticIdAttr = attr;
break;
}
@@ -176,7 +176,7 @@ public class AtsChangeSetTest {
Assert.assertNotNull(staticIdAttr);
IAtsChangeSet changes = createAtsChangeSet();
- changes.setAttribute(folderArt, staticIdAttr.getId(), "new id");
+ changes.setAttribute(folderArt, staticIdAttr, "new id");
changes.execute();
folderArt.reloadAttributesAndRelations();

Back to the top