You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/09/18 08:32:03 UTC
logging-log4j2 git commit: LOG4J2-1590 modified unit test
Repository: logging-log4j2
Updated Branches:
refs/heads/master d5c79c707 -> f3ddb8398
LOG4J2-1590 modified unit test
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/f3ddb839
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/f3ddb839
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/f3ddb839
Branch: refs/heads/master
Commit: f3ddb83984024d7f5f25da3ca7f98eb7c88b41ed
Parents: d5c79c7
Author: rpopma <rp...@apache.org>
Authored: Sun Sep 18 17:29:49 2016 +0900
Committer: rpopma <rp...@apache.org>
Committed: Sun Sep 18 17:29:49 2016 +0900
----------------------------------------------------------------------
.../apache/logging/log4j/core/filter/AbstractFilterTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/f3ddb839/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/AbstractFilterTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/AbstractFilterTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/AbstractFilterTest.java
index e23a7a6..bdfba2d 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/AbstractFilterTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/filter/AbstractFilterTest.java
@@ -35,13 +35,13 @@ public class AbstractFilterTest {
public void testUnrolledBackwardsCompatible() {
ConcreteFilter filter = new ConcreteFilter();
Filter.Result expected = Filter.Result.DENY;
- verify(filter, Filter.Result.DENY);
+ verifyMethodsWithUnrolledVarargs(filter, Filter.Result.DENY);
filter.testResult = Filter.Result.ACCEPT;
- verify(filter, Filter.Result.ACCEPT);
+ verifyMethodsWithUnrolledVarargs(filter, Filter.Result.ACCEPT);
}
- private void verify(final ConcreteFilter filter, final Filter.Result expected) {
+ private void verifyMethodsWithUnrolledVarargs(final ConcreteFilter filter, final Filter.Result expected) {
Logger logger = null;
Level level = null;
Marker marker = null;