Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Ladenberger2013-09-23 14:38:36 +0000
committerLukas Ladenberger2013-09-23 14:38:36 +0000
commitab20d8a4b5bc3617b75d89c86526c4f211497bd7 (patch)
treefebabd89f1d2e53512f02c863d899e97585e6951
parent589b82ab028d42e7a10a429d649742238dd05b70 (diff)
downloadorg.eclipse.rmf-ab20d8a4b5bc3617b75d89c86526c4f211497bd7.tar.gz
org.eclipse.rmf-ab20d8a4b5bc3617b75d89c86526c4f211497bd7.tar.xz
org.eclipse.rmf-ab20d8a4b5bc3617b75d89c86526c4f211497bd7.zip
fixed test: changed expected size from 1 to 2 since the last change
attribute of the object is also changed whenever a value is changed. Hence, we have two notifications.
-rw-r--r--org.eclipse.rmf.reqif10.pror.tests/src/org/eclipse/rmf/reqif10/provider/SpecObjectTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.rmf.reqif10.pror.tests/src/org/eclipse/rmf/reqif10/provider/SpecObjectTest.java b/org.eclipse.rmf.reqif10.pror.tests/src/org/eclipse/rmf/reqif10/provider/SpecObjectTest.java
index c1765108..682baa9e 100644
--- a/org.eclipse.rmf.reqif10.pror.tests/src/org/eclipse/rmf/reqif10/provider/SpecObjectTest.java
+++ b/org.eclipse.rmf.reqif10.pror.tests/src/org/eclipse/rmf/reqif10/provider/SpecObjectTest.java
@@ -101,7 +101,7 @@ public class SpecObjectTest extends SpecElementWithAttributesTest {
ip.addListener(listener);
assertEquals(0, notifications.size());
ProrUtil.setTheValue(specObject.getValues().get(0), "newDescription", editingDomain);
- assertEquals(1, notifications.size());
+ assertEquals(2, notifications.size());
assertEquals(specHierarchy, notifications.get(0).getNotifier());
assertEquals(ReqIF10Package.Literals.SPEC_HIERARCHY__OBJECT, notifications.get(0).getFeature());
}

Back to the top