commit | 8df23dd2ec252761ee91aa07927f13e850724891 | [log] [tgz] |
---|---|---|
author | mgorning <mgorning> | Thu Dec 02 13:47:57 2010 +0000 |
committer | mgorning <mgorning> | Thu Dec 02 13:47:57 2010 +0000 |
tree | 5cfc4caacfaf47a389d8248396de1e9450b7afb9 | |
parent | 20031c31b287f5bdcccfa6370c4d7aab8cfb1aec [diff] |
Property changed: Instead of a single value it is now possible to add a list of values.
diff --git a/tests/org.eclipse.graphiti.tests/src/org/eclipse/graphiti/tests/cases/LinkServiceTest.java b/tests/org.eclipse.graphiti.tests/src/org/eclipse/graphiti/tests/cases/LinkServiceTest.java index 3dbf134..8eba8d6 100644 --- a/tests/org.eclipse.graphiti.tests/src/org/eclipse/graphiti/tests/cases/LinkServiceTest.java +++ b/tests/org.eclipse.graphiti.tests/src/org/eclipse/graphiti/tests/cases/LinkServiceTest.java
@@ -117,7 +117,7 @@ linkProperty = linkService.getLinkProperty(s1); assertNotNull(linkProperty); - String value = linkProperty.getValue(); + String value = linkProperty.getValues().get(0); assertEquals(PROPERTY_VALUE_1, value); }
diff --git a/tests/org.eclipse.graphiti.tests/src/org/eclipse/graphiti/tests/cases/PeServiceTest.java b/tests/org.eclipse.graphiti.tests/src/org/eclipse/graphiti/tests/cases/PeServiceTest.java index 8a7027d..ac44438 100644 --- a/tests/org.eclipse.graphiti.tests/src/org/eclipse/graphiti/tests/cases/PeServiceTest.java +++ b/tests/org.eclipse.graphiti.tests/src/org/eclipse/graphiti/tests/cases/PeServiceTest.java
@@ -340,7 +340,7 @@ Property property = peService.getProperty(s1, KEY); assertNotNull(property); if (property != null) { - assertEquals(VALUE, property.getValue()); + assertEquals(VALUE, property.getValues().get(0)); } peService.removeProperty(s1, KEY);