[Httpunit-commit] CVS: httpunit/src/com/meterware/pseudoserver HttpUserAgentTest.java,1.12,1.13
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-08-27 02:16:10
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/pseudoserver
In directory sc8-pr-cvs1:/tmp/cvs-serv18415/src/com/meterware/pseudoserver
Modified Files:
HttpUserAgentTest.java
Log Message:
Support search by attribute
Index: HttpUserAgentTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/pseudoserver/HttpUserAgentTest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- HttpUserAgentTest.java 6 Jul 2003 13:20:09 -0000 1.12
+++ HttpUserAgentTest.java 27 Aug 2003 02:16:06 -0000 1.13
@@ -143,6 +143,7 @@
protected void assertImplement( String comment, Object[] objects, Class expectedClass ) {
+ if (objects.length == 0) fail( "No " + comment + " found." );
for (int i = 0; i < objects.length; i++) {
assertImplements( comment, objects[i], expectedClass );
}
|