Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Powell2010-07-30 04:15:36 -0400
committerSteve Powell2010-07-30 04:15:36 -0400
commit9183394167f0018193ffa134c07382d4ba318fc7 (patch)
treecc8e95257f518e9da70f600f9ba1d4bf1ed3b66b /org.eclipse.virgo.medic.integrationtest
parent50c4291e9505b7dac2ca562dd13f70fcabb3f2eb (diff)
downloadorg.eclipse.virgo.medic-9183394167f0018193ffa134c07382d4ba318fc7.tar.gz
org.eclipse.virgo.medic-9183394167f0018193ffa134c07382d4ba318fc7.tar.xz
org.eclipse.virgo.medic-9183394167f0018193ffa134c07382d4ba318fc7.zip
Change level of EntryExit traces to omit INFO level -- and update tests.
Diffstat (limited to 'org.eclipse.virgo.medic.integrationtest')
-rw-r--r--org.eclipse.virgo.medic.integrationtest/src/test/java/org/eclipse/virgo/medic/log/test/EntryExitTraceTests.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.virgo.medic.integrationtest/src/test/java/org/eclipse/virgo/medic/log/test/EntryExitTraceTests.java b/org.eclipse.virgo.medic.integrationtest/src/test/java/org/eclipse/virgo/medic/log/test/EntryExitTraceTests.java
index b476e80..75ba3b8 100644
--- a/org.eclipse.virgo.medic.integrationtest/src/test/java/org/eclipse/virgo/medic/log/test/EntryExitTraceTests.java
+++ b/org.eclipse.virgo.medic.integrationtest/src/test/java/org/eclipse/virgo/medic/log/test/EntryExitTraceTests.java
@@ -40,7 +40,7 @@ public class EntryExitTraceTests {
List<LoggingEvent> loggingEvents = StubAppender.getAndResetLoggingEvents(null);
assertEquals(2, loggingEvents.size());
LoggingEvent event = loggingEvents.get(0);
- assertEquals(Level.INFO, event.getLevel());
+ assertEquals(Level.DEBUG, event.getLevel());
assertEquals("> public void test.TestClass.publicTest(boolean)", event.getFormattedMessage());
assertEquals("public void test.TestClass.publicTest(boolean)", event.getArgumentArray()[1]);
}
@@ -51,7 +51,7 @@ public class EntryExitTraceTests {
List<LoggingEvent> loggingEvents = StubAppender.getAndResetLoggingEvents(null);
assertEquals(2, loggingEvents.size());
LoggingEvent event = loggingEvents.get(1);
- assertEquals(Level.INFO, event.getLevel());
+ assertEquals(Level.DEBUG, event.getLevel());
assertEquals("< public void test.TestClass.publicTest(boolean)", event.getFormattedMessage());
assertEquals("public void test.TestClass.publicTest(boolean)", event.getArgumentArray()[1]);
}
@@ -64,7 +64,7 @@ public class EntryExitTraceTests {
List<LoggingEvent> loggingEvents = StubAppender.getAndResetLoggingEvents(null);
assertEquals(2, loggingEvents.size());
LoggingEvent event = loggingEvents.get(1);
- assertEquals(Level.INFO, event.getLevel());
+ assertEquals(Level.DEBUG, event.getLevel());
assertEquals("< public void test.TestClass.publicTest(boolean)", event.getFormattedMessage());
assertEquals(RuntimeException.class.getName(), event.getThrowableProxy().getClassName());
}
@@ -78,7 +78,7 @@ public class EntryExitTraceTests {
List<LoggingEvent> loggingEvents = StubAppender.getAndResetLoggingEvents(null);
assertEquals(2, loggingEvents.size());
LoggingEvent event = loggingEvents.get(0);
- assertEquals(Level.DEBUG, event.getLevel());
+ assertEquals(Level.TRACE, event.getLevel());
assertEquals("> void test.TestClass.packagePrivateTest(boolean)", event.getFormattedMessage());
assertEquals("void test.TestClass.packagePrivateTest(boolean)", event.getArgumentArray()[1]);
}
@@ -91,7 +91,7 @@ public class EntryExitTraceTests {
List<LoggingEvent> loggingEvents = StubAppender.getAndResetLoggingEvents(null);
assertEquals(2, loggingEvents.size());
LoggingEvent event = loggingEvents.get(1);
- assertEquals(Level.DEBUG, event.getLevel());
+ assertEquals(Level.TRACE, event.getLevel());
assertEquals("< void test.TestClass.packagePrivateTest(boolean)", event.getFormattedMessage());
assertEquals("void test.TestClass.packagePrivateTest(boolean)", event.getArgumentArray()[1]);
}
@@ -106,7 +106,7 @@ public class EntryExitTraceTests {
List<LoggingEvent> loggingEvents = StubAppender.getAndResetLoggingEvents(null);
assertEquals(2, loggingEvents.size());
LoggingEvent event = loggingEvents.get(1);
- assertEquals(Level.DEBUG, event.getLevel());
+ assertEquals(Level.TRACE, event.getLevel());
assertEquals("< void test.TestClass.packagePrivateTest(boolean)", event.getFormattedMessage());
assertEquals(RuntimeException.class.getName(), event.getThrowableProxy().getClassName());
}

Back to the top