From: Steve W. <wai...@us...> - 2001-09-21 01:04:57
|
Update of /cvsroot/phpwiki/phpwiki/tests In directory usw-pr-cvs1:/tmp/cvs-serv11244 Modified Files: maketest.pl Log Message: Updated assert_text. I think the version of httpunit I developed against was different in its output. Index: maketest.pl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/tests/maketest.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** maketest.pl 2001/09/20 20:53:19 1.1 --- maketest.pl 2001/09/21 01:04:54 1.2 *************** *** 431,435 **** // find the text string '$search_string' in the page source ! if ( response.toString().indexOf( "$search_string" ) != -1) System.out.println( "I found the text '$search_string' in the page OK" ); else --- 431,435 ---- // find the text string '$search_string' in the page source ! if ( response.getText().indexOf( "$search_string" ) != -1) System.out.println( "I found the text '$search_string' in the page OK" ); else |