You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by re...@apache.org on 2010/02/04 11:02:05 UTC
svn commit: r906429 -
/harmony/enhanced/classlib/trunk/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java
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"));