harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r413116 - in /incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging: LevelTest.java SimpleFormatterTest.java util/ProjectVersion.java
Date Fri, 09 Jun 2006 18:17:34 GMT
Author: tellison
Date: Fri Jun  9 11:17:34 2006
New Revision: 413116

URL: http://svn.apache.org/viewvc?rev=413116&view=rev
Log:
Reduce verbosity of logging tests.

Removed:
    incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/ProjectVersion.java
Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LevelTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/SimpleFormatterTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LevelTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LevelTest.java?rev=413116&r1=413115&r2=413116&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LevelTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LevelTest.java
Fri Jun  9 11:17:34 2006
@@ -21,7 +21,7 @@
 import java.util.logging.Level;
 
 import junit.framework.TestCase;
-import org.apache.harmony.logging.tests.java.util.logging.util.ProjectVersion;
+
 import tests.util.SerializationTester;
 
 /**
@@ -36,16 +36,11 @@
 
 	transient ResourceBundle rb;
 
-	public LevelTest() {
-		System.out.println(ProjectVersion.IMPLEMENTATION);
-	}
-
 	/*
 	 * @see TestCase#setUp()
 	 */
 	protected void setUp() throws Exception {
 		super.setUp();
-		System.err.println(Locale.getDefault().toString());
 		rb = ResourceBundle.getBundle("bundles/java/util/logging/res");
 	}
 

Modified: incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/SimpleFormatterTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/SimpleFormatterTest.java?rev=413116&r1=413115&r2=413116&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/SimpleFormatterTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/SimpleFormatterTest.java
Fri Jun  9 11:17:34 2006
@@ -67,7 +67,7 @@
 			fail("should throw nullpointer exception");
 		} catch (NullPointerException e) {
 		}
-		System.out.println(sf.format(new LogRecord(Level.SEVERE, null)));
+		sf.format(new LogRecord(Level.SEVERE, null));
 	}
 
 	public void testLocalizedFormat() {
@@ -109,11 +109,9 @@
 		lr.setSequenceNumber(12321312);
 		lr.setMillis(0);
 		str = sf.format(lr);
-		System.out.println(str);
 		Calendar cal = Calendar.getInstance();
 		cal.setTimeInMillis(12321312);
 		assertTrue(str.indexOf(String.valueOf(cal.get(Calendar.YEAR))) >= 0);
-		// System.out.println("#"+str+"#");
 		assertTrue(str.indexOf("class") > 0);
 		assertTrue(str.indexOf("method") > 0);
 		assertTrue(str.indexOf("100") > 0);



Mime
View raw message