summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2008-08-19 05:11:44 (EDT)
committerCarsten Drossel2008-08-19 05:11:44 (EDT)
commit640e8d822c74cba08c6355938424018df04fcbd5 (patch)
treea9a8c82028811f291d4e2ad0343a25b98360f23a
parentdb340ceaad406946a997f2b3dc7fa8ee0493cb96 (diff)
downloadorg.eclipse.riena-640e8d822c74cba08c6355938424018df04fcbd5.zip
org.eclipse.riena-640e8d822c74cba08c6355938424018df04fcbd5.tar.gz
org.eclipse.riena-640e8d822c74cba08c6355938424018df04fcbd5.tar.bz2
fixed a test that was checking an error in the implementation (no updates to model when setting text on Ridget) that had been fixed
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/LabelRidgetTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/LabelRidgetTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/LabelRidgetTest.java
index da59cd0..88bc674 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/LabelRidgetTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/LabelRidgetTest.java
@@ -131,8 +131,8 @@ public class LabelRidgetTest extends AbstractSWTRidgetTest {
}
/**
- * For LabelRidgets, ensure that <b>no</b> updates are made to the model
- * from the ridget.
+ * For LabelRidgets, ensure that updates are made to the model from the
+ * ridget.
*/
public void testUpdateFromRidget() {
ILabelRidget ridget = getRidget();
@@ -150,7 +150,7 @@ public class LabelRidgetTest extends AbstractSWTRidgetTest {
ridget.setText(LABEL);
- assertEquals("NewLabel", bean.getProperty());
+ assertEquals(LABEL, bean.getProperty());
assertEquals(LABEL, ridget.getText());
assertEquals(LABEL, control.getText());
}