Author: lfryc(a)redhat.com
Date: 2010-11-05 11:17:18 -0400 (Fri, 05 Nov 2010)
New Revision: 19964
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
Log:
the test for limitToList should fail ('ajax rendered' components should not be
rendered) RF-9535
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-11-05
15:16:33 UTC (rev 19963)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-11-05
15:17:18 UTC (rev 19964)
@@ -29,7 +29,7 @@
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
-import static org.testng.Assert.assertNotSame;
+import static org.testng.Assert.assertSame;
import java.net.URL;
@@ -183,7 +183,7 @@
waitGui.failWith("Panel should be
collapsed.").until(isDisplayed.locator(headerColps));
String newTime = selenium.getText(timeLoc);
- assertNotSame(newTime, timeValue, "Panel with ajaxRendered=true should not
be rerendered.");
+ assertSame(newTime, timeValue, "Panel with ajaxRendered=true should not be
rerendered.");
}
@Test
Show replies by date