harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r906429 - /harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java
Date Thu, 04 Feb 2010 10:02:05 GMT
Author: regisxu
Date: Thu Feb  4 10:02:05 2010
New Revision: 906429

URL: http://svn.apache.org/viewvc?rev=906429&view=rev
Log:
minor refactor of LogManagerTest

Modified:
    harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java

Modified: harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java?rev=906429&r1=906428&r2=906429&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java
Thu Feb  4 10:02:05 2010
@@ -814,11 +814,9 @@
     }
 
     public void testValidConfigClass() throws Exception {
-        String oldPropertyValue = System
-                .getProperty("java.util.logging.config.class");
+        String oldPropertyValue = System.getProperty(CONFIG_CLASS);
         try {
-            System.setProperty("java.util.logging.config.class", this
-                    .getClass().getName()
+            System.setProperty(CONFIG_CLASS, this.getClass().getName()
                     + "$ConfigClass");
             assertNull(manager.getLogger("testConfigClass.foo"));
 



Mime
View raw message