[embjopr-commits] EMBJOPR SVN: r919 - branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations.
embjopr-commits at lists.jboss.org
embjopr-commits at lists.jboss.org
Thu Apr 8 17:02:46 EDT 2010
Author: ozizka at redhat.com
Date: 2010-04-08 17:02:45 -0400 (Thu, 08 Apr 2010)
New Revision: 919
Modified:
branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java
Log:
* Added creation of HtmlElementNotFoundEx in JMS tests.
Modified: branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java
===================================================================
--- branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java 2010-04-08 21:01:34 UTC (rev 918)
+++ branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java 2010-04-08 21:02:45 UTC (rev 919)
@@ -1883,7 +1883,11 @@
ContentTableRow destinationRow = ejtt.getTabMenu().getTabContentBox().
findLinkRowInDataTableUsingPagination(jndiName);
- assertNotNull("Row containing '" + jndiName + "' was not found in the table", destinationRow);
+ if( null == destinationRow ){
+ String err = "Row containing '" + jndiName + "' was not found in the table.";
+ new HtmlElementNotFoundException(err, this);
+ fail( err );
+ }
String actualStatus = destinationRow.getCellTextByColumnName(STATUS);
assertEquals("The status of the destination is not correct: ", expectedStatus, actualStatus);
More information about the embjopr-commits
mailing list