Author: jjamrich
Date: 2011-11-09 09:40:44 -0500 (Wed, 09 Nov 2011)
New Revision: 22914
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richEditor/TestRichEditor.java
Log:
RFPL-1638: update @ondirty attribute test on editor
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richEditor/TestRichEditor.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richEditor/TestRichEditor.java 2011-11-09
14:40:33 UTC (rev 22913)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richEditor/TestRichEditor.java 2011-11-09
14:40:44 UTC (rev 22914)
@@ -214,18 +214,11 @@
}
@Test
- public void testOnDirty1() {
+ public void testOnDirty() {
testFireEvent(new Event("dirty"), editorTextArea);
}
@Test
- public void testOnDirty2() {
- editorAttributes.set(ondirty, "alert('editor is in dirty
state')");
- typeTextToEditor(" xyg pojads goihasrg u");
- assertTrue(selenium.isAlertPresent());
- }
-
- @Test
public void testOnChange() {
testFireEvent(Event.CHANGE, editorTextArea);
}