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/11/05 20:04:44 UTC
logging-log4j2 git commit: Add missing XML test.
Repository: logging-log4j2
Updated Branches:
refs/heads/LOG4J2-1651 fec124f92 -> 9490d11d0
Add missing XML 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/9490d11d
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/9490d11d
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/9490d11d
Branch: refs/heads/LOG4J2-1651
Commit: 9490d11d027b132524270595659ab04369cc9d2f
Parents: fec124f
Author: Gary Gregory <gg...@apache.org>
Authored: Sat Nov 5 13:04:40 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Sat Nov 5 13:04:40 2016 -0700
----------------------------------------------------------------------
.../config/plugins/processor/PluginCacheFormatTest.java | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/9490d11d/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/processor/PluginCacheFormatTest.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/processor/PluginCacheFormatTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/processor/PluginCacheFormatTest.java
index b7b7541..5796c27 100644
--- a/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/processor/PluginCacheFormatTest.java
+++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/config/plugins/processor/PluginCacheFormatTest.java
@@ -31,12 +31,17 @@ public class PluginCacheFormatTest {
}
@Test
+ public void testProperties() throws IOException {
+ Format.PROPERTIES.writeCache(PluginProcessorTest.loadCacheFiles(), System.out);
+ }
+
+ @Test
public void testPropertiesXml() throws IOException {
Format.PROPERTIES_XML.writeCache(PluginProcessorTest.loadCacheFiles(), System.out);
}
@Test
- public void testProperties() throws IOException {
- Format.PROPERTIES.writeCache(PluginProcessorTest.loadCacheFiles(), System.out);
+ public void testXml() throws IOException {
+ Format.XML.writeCache(PluginProcessorTest.loadCacheFiles(), System.out);
}
}