[vlc-devel] commit: close the logger in tests (Filippo Carone )
git version control
git at videolan.org
Mon Apr 7 00:19:16 CEST 2008
vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Mon Apr 7 00:20:01 2008 +0200| [883c4fc19fe21b55cadc42a9451d283d093b701c]
close the logger in tests
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=883c4fc19fe21b55cadc42a9451d283d093b701c
---
.../test/java/org/videolan/jvlc/LoggerTest.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/bindings/java/core/src/test/java/org/videolan/jvlc/LoggerTest.java b/bindings/java/core/src/test/java/org/videolan/jvlc/LoggerTest.java
index 113eb15..552607e 100644
--- a/bindings/java/core/src/test/java/org/videolan/jvlc/LoggerTest.java
+++ b/bindings/java/core/src/test/java/org/videolan/jvlc/LoggerTest.java
@@ -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();
}
}
More information about the vlc-devel
mailing list