Update of /cvsroot/jwebunit/jWebUnit/fitplugin/test/net/sourceforge/jwebunit/fit
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16656/fitplugin/test/net/sourceforge/jwebunit/fit

Modified Files:
        WebFixtureTest.java 
Log Message:
Better error message for test from Maven.

Index: WebFixtureTest.java
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/fitplugin/test/net/sourceforge/jwebunit/fit/WebFixtureTest.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** WebFixtureTest.java 3 Jan 2006 13:47:22 -0000       1.19
--- WebFixtureTest.java 3 Jan 2006 13:53:57 -0000       1.20
***************
*** 56,63 ****
          listener.setMaxThreads(10);
          server.addListener(listener);
!         // add the tiles in sampleHtml to context
          final HttpContext context = server.addContext("/");
          context.setResourceBase(TEST_ROOT + TEST_HTML_FOLDER);
!         assertTrue("Should find index.html in the configured jetty context",
                  context.getResource("index.html").exists());
          context.addHandler(new ResourceHandler() {
--- 56,63 ----
          listener.setMaxThreads(10);
          server.addListener(listener);
!         // add the files in sampleHtml to context
          final HttpContext context = server.addContext("/");
          context.setResourceBase(TEST_ROOT + TEST_HTML_FOLDER);
!         assertTrue("Should find index.html in the configured jetty context: " 
+ context.getResourceBase(),
                  context.getResource("index.html").exists());
          context.addHandler(new ResourceHandler() {



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to