Author: ozizka(a)redhat.com
Date: 2009-07-28 14:21:40 -0400 (Tue, 28 Jul 2009)
New Revision: 608
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java
Log:
* JMSOperationsTest updated.
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java 2009-07-28
17:58:46 UTC (rev 607)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java 2009-07-28
18:21:40 UTC (rev 608)
@@ -1868,6 +1868,10 @@
*
* @param isEmptyList - whether or not the list of subscriptions that
* gets displayed should be empty
+ *
+ * FAILS: This got implemented as structured result; before, it was only a string.
+ * "Viewing/editing of lists ... not supported. Here's the list's
toString() value for now: []"
+ * See: JOPR-141
*/
private void performListSubscriptionsAndCheckResults(String jndiName,
String operationName,
@@ -1876,8 +1880,11 @@
jndiName, operationName, Boolean.FALSE);
String actualOperationResults =
((HtmlDivision)client.getElement(OPERATION_RESULTS)).getTextContent();
-
- String shortenedResult =
actualOperationResults.substring(actualOperationResults.indexOf("Viewing"),
+
+ fail("Operation result used to be toString(), now it's a table. Need to fix
the test method.");
+
+ /*
+ String shortenedResult =
actualOperationResults.substring(actualOperationResults.indexOf("Viewing"),
actualOperationResults.indexOf("]") + 1);
log.info("Operation result was: " + shortenedResult);
@@ -1888,6 +1895,7 @@
assertTrue("Expected empty list but was: '" + shortenedResult +
"'",
actualOperationResults.contains(EMPTY_LIST));
}
+ /**/
// Clean up
disconnect();
Show replies by date