Author: ppitonak(a)redhat.com
Date: 2011-01-14 09:47:01 -0500 (Fri, 14 Jan 2011)
New Revision: 21026
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richMenuItem/TestRichMenuItem.java
modules/tests/metamer/trunk/ftest/src/test/resources/testng-misc.xml
Log:
* TestNG descriptor updated
* test names refactored
Modified: modules/tests/metamer/trunk/ftest/src/test/resources/testng-misc.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/src/test/resources/testng-misc.xml 2011-01-14
14:45:07 UTC (rev 21025)
+++ modules/tests/metamer/trunk/ftest/src/test/resources/testng-misc.xml 2011-01-14
14:47:01 UTC (rev 21026)
@@ -8,6 +8,7 @@
<package
name="org.richfaces.tests.metamer.ftest.richDataScroller" />
<package name="org.richfaces.tests.metamer.ftest.richFunctions"
/>
<package name="org.richfaces.tests.metamer.ftest.richJQuery"
/>
+ <package name="org.richfaces.tests.metamer.ftest.richMenuGroup"
/>
<package name="org.richfaces.tests.metamer.ftest.richMenuItem"
/>
<package
name="org.richfaces.tests.metamer.ftest.richMenuSeparator" />
<package
name="org.richfaces.tests.metamer.ftest.richToggleControl" />
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richMenuItem/TestRichMenuItem.java
===================================================================
---
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richMenuItem/TestRichMenuItem.java 2011-01-14
14:45:07 UTC (rev 21025)
+++
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richMenuItem/TestRichMenuItem.java 2011-01-14
14:47:01 UTC (rev 21026)
@@ -335,17 +335,17 @@
}
@Test
- public void testOnitemkeydown() {
+ public void testOnkeydown() {
testFireEvent(Event.KEYDOWN, menuItem1);
}
@Test
- public void testOnitemkeypress() {
+ public void testOnkeypress() {
testFireEvent(Event.KEYPRESS, menuItem1);
}
@Test
- public void testOnitemkeyup() {
+ public void testOnkeyup() {
testFireEvent(Event.KEYUP, menuItem1);
}