Update of /cvsroot/http-webtest/HTTP-WebTest/t
In directory sc8-pr-cvs1:/tmp/cvs-serv12489/t
Modified Files:
13-harness.t
Log Message:
HTTP::WebTest::Plugin::HarnessReport produced report output on STDERR
what was adding noise in 'make test' output when being used in
Test::Harness-style test suites.
Index: 13-harness.t
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest/t/13-harness.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** 13-harness.t 22 Dec 2002 20:35:38 -0000 1.2
--- 13-harness.t 18 Jan 2003 10:14:55 -0000 1.3
***************
*** 33,54 ****
default_report => 'no' };
! test_diag('-' x 60,
! 'URL: ' . abs_url($URL, '/test-file1'),
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 200 OK: SUCCEED',
! 'REQUIRED TEXT',
! ' 987654: SUCCEED');
test_out('ok 1');
! test_diag('-' x 60,
! 'URL: ' . abs_url($URL, '/non-existent'),
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 404 Not Found: FAIL');
test_out('not ok 2');
! test_fail(9);
! test_diag('-' x 60,
! 'URL: ' . abs_url($URL, '/non-existent'),
! 'Test Name: BlaBla',
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 404 Not Found: FAIL');
test_out('not ok 3');
test_fail(2);
--- 33,57 ----
default_report => 'no' };
! test_out(map "# $_",
! '-' x 60,
! 'URL: ' . abs_url($URL, '/test-file1'),
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 200 OK: SUCCEED',
! 'REQUIRED TEXT',
! ' 987654: SUCCEED');
test_out('ok 1');
! test_out(map "# $_",
! '-' x 60,
! 'URL: ' . abs_url($URL, '/non-existent'),
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 404 Not Found: FAIL');
test_out('not ok 2');
! test_fail(10);
! test_out(map "# $_",
! '-' x 60,
! 'URL: ' . abs_url($URL, '/non-existent'),
! 'Test Name: BlaBla',
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 404 Not Found: FAIL');
test_out('not ok 3');
test_fail(2);
***************
*** 66,82 ****
default_report => 'no' };
! test_diag('-' x 60,
! 'URL: ' . abs_url($URL, '/test-file1'),
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 200 OK: SUCCEED',
! 'REQUIRED TEXT',
! ' 987654: SUCCEED');
test_out('ok 1');
! test_diag('-' x 60,
! 'URL: ' . abs_url($URL, '/test-file1'),
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 200 OK: SUCCEED',
! 'REQUIRED TEXT',
! ' 987654: SUCCEED');
test_out('ok 2');
--- 69,87 ----
default_report => 'no' };
! test_out(map "# $_",
! '-' x 60,
! 'URL: ' . abs_url($URL, '/test-file1'),
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 200 OK: SUCCEED',
! 'REQUIRED TEXT',
! ' 987654: SUCCEED');
test_out('ok 1');
! test_out(map "# $_",
! '-' x 60,
! 'URL: ' . abs_url($URL, '/test-file1'),
! 'STATUS CODE CHECK',
! ' Expected \'200\' and got: 200 OK: SUCCEED',
! 'REQUIRED TEXT',
! ' 987654: SUCCEED');
test_out('ok 2');
|