Author: ozizka(a)redhat.com
Date: 2009-07-29 18:40:48 -0400 (Wed, 29 Jul 2009)
New Revision: 630
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
Log:
* Pagination handling fixed. Affects some EJB tests.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-29
22:24:10 UTC (rev 629)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-29
22:40:48 UTC (rev 630)
@@ -945,7 +945,7 @@
ContentTableRow row = null;
- if( null == getTabMenu().getTabContentBox().getPagination().getPageContols() ){
+ if( null == getTabMenu().getTabContentBox().getPagination().findPageContols() ){
log.debug("No page controls present - that probably means that only single page
is listed.");
}
else{
@@ -1626,6 +1626,7 @@
return div;
}
+ /** Calls #findPageControls(), and if that returns null (not found), throws an
exception. */
public HtmlDivision getPageContols() throws HtmlElementNotFoundException {
HtmlDivision div = findPageContols();
if( null == div)