harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r616745 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/StackTest.java
Date Wed, 30 Jan 2008 13:05:10 GMT
Author: hindessm
Date: Wed Jan 30 05:05:08 2008
New Revision: 616745

URL: http://svn.apache.org/viewvc?rev=616745&view=rev
Log:
Fail in the case where no exception is thrown.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/StackTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/StackTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/StackTest.java?rev=616745&r1=616744&r2=616745&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/StackTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/StackTest.java
Wed Jan 30 05:05:08 2008
@@ -184,6 +184,7 @@
 		testStack.setLength(20);
 		try{
 			testStack.pop();
+			fail("Should throw ArrayIndexOutOfBoundsException here");
 		}
 		catch(ArrayIndexOutOfBoundsException e)
 		{



Mime
View raw message