Update of /cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16583/src/net/sourceforge/jwebunit
Modified Files:
HttpUnitDialog.java WebTester.java WebTestCase.java
CompositeJWebUnitDialog.java IJWebUnitDialog.java
Log Message:
incremental iteration implementing more on JacobieDialog. adding exception
handling between testing dialog an webtester.
Index: WebTester.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/WebTester.java,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** WebTester.java 16 Mar 2005 05:56:01 -0000 1.55
--- WebTester.java 15 Apr 2005 04:46:25 -0000 1.56
***************
*** 1257,1261 ****
*/
public void reset() {
! getDialog().reset();
}
--- 1257,1265 ----
*/
public void reset() {
! try {
! getDialog().reset();
! } catch (TestingEngineResponseException
aTestingEngineResponseException) {
!
handleTestingEngineResponseException(aTestingEngineResponseException);
! }
}
Index: CompositeJWebUnitDialog.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/CompositeJWebUnitDialog.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CompositeJWebUnitDialog.java 16 Mar 2005 05:56:02 -0000 1.4
--- CompositeJWebUnitDialog.java 15 Apr 2005 04:46:25 -0000 1.5
***************
*** 28,735 ****
public abstract class CompositeJWebUnitDialog implements IJWebUnitDialog {
! /**
! * Default Constructor used for reflection on what class to instantiate
within
! * the WebTester class for the running testing engine (HttpUnitDialog /
JacobieDialog
! */
! public CompositeJWebUnitDialog() {
! super();
! }
[...1390 lines suppressed...]
! * @see
net.sourceforge.jwebunit.IJWebUnitDialog#dumpTable(java.lang.String,
! * java.lang.String[][])
! */
! public void dumpTable(String tableNameOrId, String[][] table) {
! throw new UnsupportedOperationException("dumpTable");
! }
!
! /*
! * (non-Javadoc)
! *
! * @see
net.sourceforge.jwebunit.IJWebUnitDialog#dumpTable(java.lang.String,
! * java.lang.String[][], java.io.PrintStream)
! */
! public void dumpTable(String tableNameOrId, String[][] table,
! PrintStream stream) {
! throw new UnsupportedOperationException("dumpTable");
! }
}
\ No newline at end of file
Index: HttpUnitDialog.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/HttpUnitDialog.java,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** HttpUnitDialog.java 16 Mar 2005 05:56:01 -0000 1.51
--- HttpUnitDialog.java 15 Apr 2005 04:46:25 -0000 1.52
***************
*** 718,722 ****
* Resets the Dialog
*/
! public void reset() {
}
--- 718,722 ----
* Resets the Dialog
*/
! public void reset() throws TestingEngineResponseException {
}
Index: WebTestCase.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/WebTestCase.java,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** WebTestCase.java 16 Mar 2005 05:56:01 -0000 1.54
--- WebTestCase.java 15 Apr 2005 04:46:25 -0000 1.55
***************
*** 38,42 ****
//New implementation on choosing a testing engine (dialog).
! setTestingEngineKey(TestingEngineRegistry.TESTING_ENGINE_JACOBIE);
//setTestingEngineKey(TestingEngineRegistry.TESTING_ENGINE_HTTPUNIT);
}
--- 38,42 ----
//New implementation on choosing a testing engine (dialog).
! //setTestingEngineKey(TestingEngineRegistry.TESTING_ENGINE_JACOBIE);
//setTestingEngineKey(TestingEngineRegistry.TESTING_ENGINE_HTTPUNIT);
}
Index: IJWebUnitDialog.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/src/net/sourceforge/jwebunit/IJWebUnitDialog.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** IJWebUnitDialog.java 16 Mar 2005 05:56:02 -0000 1.4
--- IJWebUnitDialog.java 15 Apr 2005 04:46:25 -0000 1.5
***************
*** 241,245 ****
* Reset the Dialog for the next test. This is not reset Form.
*/
! public abstract void reset();
/**
--- 241,245 ----
* Reset the Dialog for the next test. This is not reset Form.
*/
! public abstract void reset() throws TestingEngineResponseException;
/**
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development