harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r389480 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ReflectPermissionTest.java
Date Tue, 28 Mar 2006 11:40:49 GMT
Author: tellison
Date: Tue Mar 28 03:40:47 2006
New Revision: 389480

URL: http://svn.apache.org/viewcvs?rev=389480&view=rev
Log:
Remove unnecessary console output.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ReflectPermissionTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ReflectPermissionTest.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ReflectPermissionTest.java?rev=389480&r1=389479&r2=389480&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ReflectPermissionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/api/java/lang/reflect/ReflectPermissionTest.java
Tue Mar 28 03:40:47 2006
@@ -24,9 +24,8 @@
 	 */
 	public void test_ConstructorLjava_lang_String() {
 		// Test for method java.lang.reflect.ReflectPermission(java.lang.String)
-		System.out.println(new ReflectPermission("Blah").toString());
-		assertTrue("Incorrect permission constructed", new ReflectPermission(
-				"Blah").toString().indexOf(
+		String permString = new ReflectPermission("Blah").toString();
+		assertTrue("Incorrect permission constructed", permString.indexOf(
 				"java.lang.reflect.ReflectPermission Blah") >= 0);
 	}
 



Mime
View raw message