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/08/12 12:12:23 UTC

[37/50] logging-log4j2 git commit: Add assert.

Add assert.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/ba677d82
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/ba677d82
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/ba677d82

Branch: refs/heads/LOG4J2-1010&LOG4J2-1447-injectable-contextdata&better-datastructure
Commit: ba677d82dc4bf8bec3c9f129653ac13862bbcf38
Parents: 2d40959
Author: ggregory <gg...@US-L-GG02.rocketsoftware.com>
Authored: Tue Aug 9 10:41:22 2016 -0700
Committer: ggregory <gg...@US-L-GG02.rocketsoftware.com>
Committed: Tue Aug 9 10:41:22 2016 -0700

----------------------------------------------------------------------
 .../config/plugins/validation/validators/RequiredValidatorTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/ba677d82/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/validators/RequiredValidatorTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/validators/RequiredValidatorTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/validators/RequiredValidatorTest.java
index fbb7660..15a51ae 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/validators/RequiredValidatorTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/validation/validators/RequiredValidatorTest.java
@@ -38,6 +38,7 @@ public class RequiredValidatorTest {
         final PluginManager manager = new PluginManager("Test");
         manager.collectPlugins();
         plugin = (PluginType<ValidatingPlugin>) manager.getPluginType("Validator");
+        assertNotNull("Rebuild this module to make sure annotaion processing kicks in.", plugin);
         node = new Node(null, "Validator", plugin);
     }