Author: ozizka(a)redhat.com
Date: 2009-07-28 14:27:28 -0400 (Tue, 28 Jul 2009)
New Revision: 609
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ResourceTestBase.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSTest.java
Log:
* JMSOperationsTest updated.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ResourceTestBase.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ResourceTestBase.java 2009-07-28
18:21:40 UTC (rev 608)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ResourceTestBase.java 2009-07-28
18:27:28 UTC (rev 609)
@@ -348,6 +348,9 @@
String xpath = ".//input[@value=\"" + operationName +
"\"]";
HtmlButtonInput operationButton = (HtmlButtonInput)form.getFirstByXPath(xpath);
+ if( null == operationButton )
+ throw new HtmlElementNotFoundException( String.format("Button '%s' not
found using xPath: "+ xpath, operationName));
+
operationButton.click();
if(takesParameters) {
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
18:21:40 UTC (rev 608)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSOperationsTest.java 2009-07-28
18:27:28 UTC (rev 609)
@@ -1872,6 +1872,7 @@
* 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
+ * Affects: testTopicListAllSubscriptions*
*/
private void performListSubscriptionsAndCheckResults(String jndiName,
String operationName,
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSTest.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSTest.java 2009-07-28
18:21:40 UTC (rev 608)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/jmsDestinations/JMSTest.java 2009-07-28
18:27:28 UTC (rev 609)
@@ -125,8 +125,8 @@
public static final String LIST_ALL_SUB_AS_HTML = "List All Subscriptions As
HTML";
public static final String LIST_DURABLE_SUB = "List Durable
Subscriptions";
public static final String LIST_DURABLE_SUB_AS_HTML = "List Durable
Subscriptions As HTML";
- public static final String LIST_NON_DURABLE_SUB = "List Non Durable
Subscriptions";
- public static final String LIST_NON_DURABLE_SUB_AS_HTML = "List Non Durable
Subscriptions As HTML";
+ public static final String LIST_NON_DURABLE_SUB = "List Non-Durable
Subscriptions";
+ public static final String LIST_NON_DURABLE_SUB_AS_HTML = "List Non-Durable
Subscriptions As HTML";
// Queue-specific operations
public static final String LIST_MSG_COUNTER_AS_HTML = "List Message Counter As
HTML";
Show replies by date