close the logger in tests
authorFilippo Carone <littlejohn@videolan.org>
Sun, 6 Apr 2008 22:20:01 +0000 (00:20 +0200)
committerFilippo Carone <littlejohn@videolan.org>
Sun, 6 Apr 2008 22:20:01 +0000 (00:20 +0200)
core/src/test/java/org/videolan/jvlc/LoggerTest.java

index 113eb15..552607e 100644 (file)
@@ -53,6 +53,7 @@ public class LoggerTest
         Logger logger = jvlc.getLogger();
         jvlc.play(mrl);
         Assert.assertTrue(logger.count() > 0);
+        logger.close();
     }
     
     /**
@@ -74,7 +75,7 @@ public class LoggerTest
             LoggerMessage message = loggerIterator.next();
             Assert.assertNotNull(message.getMessage());
         }
-        
+        logger.close();
     }
     
 }