You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/09/13 19:14:36 UTC
logging-log4j2 git commit: Do not use static imports for normal test
classes.
Repository: logging-log4j2
Updated Branches:
refs/heads/master cf7cce726 -> 034eb3ca1
Do not use static imports for normal test classes.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/034eb3ca
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/034eb3ca
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/034eb3ca
Branch: refs/heads/master
Commit: 034eb3ca1c3c2a7cbf3fd85d10ba6d96cd3444cd
Parents: cf7cce7
Author: Gary Gregory <gg...@apache.org>
Authored: Tue Sep 13 12:14:31 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Tue Sep 13 12:14:31 2016 -0700
----------------------------------------------------------------------
.../config/plugins/util/ResolverUtilCustomProtocolTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/034eb3ca/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtilCustomProtocolTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtilCustomProtocolTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtilCustomProtocolTest.java
index 0665d19..18d502d 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtilCustomProtocolTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/util/ResolverUtilCustomProtocolTest.java
@@ -17,8 +17,6 @@
package org.apache.logging.log4j.core.config.plugins.util;
-import static org.apache.logging.log4j.core.config.plugins.util.ResolverUtilTest.compileAndCreateClassLoader;
-import static org.apache.logging.log4j.core.config.plugins.util.ResolverUtilTest.compileJarAndCreateClassLoader;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
@@ -178,7 +176,7 @@ public class ResolverUtilCustomProtocolTest {
@Test
public void testFindInPackageFromVfsDirectoryURL() throws Exception {
- final ClassLoader cl = compileAndCreateClassLoader("3");
+ final ClassLoader cl = ResolverUtilTest.compileAndCreateClassLoader("3");
final ResolverUtil resolverUtil = new ResolverUtil();
resolverUtil.setClassLoader(new SingleURLClassLoader(new URL("vfs:/target/resolverutil3/customplugin3/"), cl));
@@ -190,7 +188,7 @@ public class ResolverUtilCustomProtocolTest {
@Test
public void testFindInPackageFromVfsJarURL() throws Exception {
- final ClassLoader cl = compileJarAndCreateClassLoader("4");
+ final ClassLoader cl = ResolverUtilTest.compileJarAndCreateClassLoader("4");
final ResolverUtil resolverUtil = new ResolverUtil();
resolverUtil.setClassLoader(