Repository: logging-log4j2
Updated Branches:
  refs/heads/master e9917fd78 -> 0d1df6929


[LOG4J2-1299] Add pattern converter for thread id and priority in
PatternLayout.

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

Branch: refs/heads/master
Commit: 0d1df6929550072fab1385df0231955db651f731
Parents: e9917fd
Author: ggregory <[email protected]>
Authored: Tue Mar 1 10:49:05 2016 -0800
Committer: ggregory <[email protected]>
Committed: Tue Mar 1 10:49:05 2016 -0800

----------------------------------------------------------------------
 .../apache/logging/log4j/core/pattern/PatternParserTest.java  | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0d1df692/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
index 2545f88..62ff668 100644
--- 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
+++ 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/pattern/PatternParserTest.java
@@ -259,11 +259,16 @@ public class PatternParserTest {
     }
 
     @Test
-    public void testThreadIdShortPattern() {
+    public void testThreadIdShortPattern1() {
         testThreadIdPattern("%tid");
     }
 
     @Test
+    public void testThreadIdShortPattern2() {
+        testThreadIdPattern("%T");
+    }
+
+    @Test
     public void testThreadPriorityShortPattern() {
         testThreadPriorityPattern("%tp");
     }

Reply via email to