[slf4j-dev] svn commit: r553 - slf4j/trunk/tests/src/java/org/slf4j

ceki at slf4j.org ceki at slf4j.org
Thu Feb 16 18:06:15 CET 2006


Author: ceki
Date: Thu Feb 16 18:06:14 2006
New Revision: 553

Modified:
   slf4j/trunk/tests/src/java/org/slf4j/BasicMarkerTest.java
Log:
updates to tests

Modified: slf4j/trunk/tests/src/java/org/slf4j/BasicMarkerTest.java
==============================================================================
--- slf4j/trunk/tests/src/java/org/slf4j/BasicMarkerTest.java	(original)
+++ slf4j/trunk/tests/src/java/org/slf4j/BasicMarkerTest.java	Thu Feb 16 18:06:14 2006
@@ -79,11 +79,20 @@
     assertTrue(blue2.contains(blue));
   }
 
+  public void testPrimitiveByName() {
+    assertTrue(blue.contains(BLUE_STR));
+  }
+ 
   public void testComposite() {
-    comp.add(blue);
     assertTrue(comp.contains(comp));
     assertTrue(comp.contains(blue));
   }
+  
+  public void testCompositeByName() {
+    assertTrue(comp.contains(COMP_STR));
+    assertTrue(comp.contains(BLUE_STR));
+  }
+ 
 
   public void testMultiComposite() {
     assertTrue(multiComp.contains(comp));
@@ -91,5 +100,15 @@
     assertTrue(multiComp.contains(green));
     assertFalse(multiComp.contains(red));
   }
+  
+  public void testMultiCompositeByName() {
+    assertTrue(multiComp.contains(COMP_STR));
+    assertTrue(multiComp.contains(BLUE_STR));
+    assertTrue(multiComp.contains(GREEN_STR));
+    assertFalse(multiComp.contains(RED_STR));
+  }
+ 
+ 
 
+ 
 }



More information about the slf4j-dev mailing list