Author: nbelaevski
Date: 2007-06-15 06:11:36 -0400 (Fri, 15 Jun 2007)
New Revision: 1196
Modified:
trunk/richfaces/menu-components/src/test/java/org/richfaces/renderkit/html/MenuItemRendererBaseTest.java
Log:
Tests compilation fixed
Modified:
trunk/richfaces/menu-components/src/test/java/org/richfaces/renderkit/html/MenuItemRendererBaseTest.java
===================================================================
---
trunk/richfaces/menu-components/src/test/java/org/richfaces/renderkit/html/MenuItemRendererBaseTest.java 2007-06-15
08:39:06 UTC (rev 1195)
+++
trunk/richfaces/menu-components/src/test/java/org/richfaces/renderkit/html/MenuItemRendererBaseTest.java 2007-06-15
10:11:36 UTC (rev 1196)
@@ -56,6 +56,10 @@
return MenuComponent.MODE_AJAX;
}
+ public void setSubmitMode(String submitMode) {
+ throw new UnsupportedOperationException();
+ }
+
}
/**
@@ -94,7 +98,7 @@
menuItem.setSubmitMode(null);
assertEquals(menuItem.getParent(), menu);
String resultMode = renderer.resolveSubmitMode(menuItem);
- assertEquals(resultMode, MenuComponent.MODE_SERVER);
+ assertEquals(MenuComponent.MODE_SERVER, resultMode);
menuItem.setSubmitMode(MenuComponent.MODE_NONE);
resultMode = renderer.resolveSubmitMode(menuItem);
Show replies by date