commit | 4d6f735b2285bb61bdf299811f0d21756fe2db2c | [log] [tgz] |
---|---|---|
author | Xu Rui Zhi <regisxu@apache.org> | Thu Feb 04 10:02:05 2010 +0000 |
committer | Xu Rui Zhi <regisxu@apache.org> | Thu Feb 04 10:02:05 2010 +0000 |
tree | 9320096880121a7e21a35d72afe346b4e6e8f165 | |
parent | 3a67e245b0373363a4961658c4a3e01e41aa3ed5 [diff] |
minor refactor of LogManagerTest git-svn-id: https://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk@906429 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java b/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java index 28bf612..cf350fd 100644 --- a/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java +++ b/modules/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/LogManagerTest.java
@@ -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"));