Author: ozizka(a)redhat.com
Date: 2009-06-19 10:35:33 -0400 (Fri, 19 Jun 2009)
New Revision: 543
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/scripts/ScriptsTest.java
Log:
Scripts tests updated.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/scripts/ScriptsTest.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/scripts/ScriptsTest.java 2009-06-19
14:11:59 UTC (rev 542)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/scripts/ScriptsTest.java 2009-06-19
14:35:33 UTC (rev 543)
@@ -216,7 +216,7 @@
// Exit Code
HtmlTextInput exitCodeInput = resultsTable.getFirstRowContainingText("Exit
Code").getCellByColumnName("Value").getFirstByXPath(".//input");
- assertEquals("Exit Code should be 0", "0",
exitCodeInput.getTextContent().trim() );
+ assertEquals("Exit Code should be 0", "0",
exitCodeInput.getValueAttribute().trim() );
String expectedOutputPart = "usage";
HtmlTextArea outputTA =
resultsTable.getFirstRowContainingText("Output").getCellByColumnName("Value").getFirstByXPath(".//textarea");
@@ -297,7 +297,7 @@
// Exit Code
HtmlTextInput exitCodeInput = resultsTable.getFirstRowContainingText("Exit
Code").getCellByColumnName("Value").getFirstByXPath(".//input");
- assertEquals("Exit Code should be 0", "0",
exitCodeInput.getTextContent().trim() );
+ assertEquals("Exit Code should be 0", "0",
exitCodeInput.getValueAttribute().trim() );
String expectedOutputPart = "/client";
HtmlTextArea outputTA =
resultsTable.getFirstRowContainingText("Output").getCellByColumnName("Value").getFirstByXPath(".//textarea");
Show replies by date