Remove stale tests/java-jul test
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 22 Oct 2015 20:51:49 +0000 (16:51 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 22 Oct 2015 20:54:21 +0000 (16:54 -0400)
This test has been superseded by lttng-tools tests and
https://github.com/lttng/lttng-ust-java-tests .

This test was not in configure.ac nor had any automake Makefile.am
anyway.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/java-jul/JULTest.java [deleted file]

diff --git a/tests/java-jul/JULTest.java b/tests/java-jul/JULTest.java
deleted file mode 100644 (file)
index bc8f65a..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2013 - David Goulet <dgoulet@efficios.com>
- *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License, version 2.1 only,
- * as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-import java.io.IOException;
-import java.util.concurrent.Semaphore;
-import java.util.logging.LogManager;
-
-import org.lttng.ust.jul.*;
-
-public class JULTest {
-       private final static int NUM_TESTS = 5;
-       private static int testCount = 1;
-
-       /* Singleton agent object. */
-       private static LTTngAgent agent;
-       private static LTTngLogHandler handler;
-       private static LTTngTCPSessiondClient client;
-
-       private static Semaphore sem;
-
-       private static void ok(String desc) {
-               System.out.println("ok " + testCount + " - " + desc);
-               testCount++;
-       }
-
-       public static void go() throws IOException {
-               client = new LTTngTCPSessiondClient("127.0.0.1", sem);
-               assert client != null;
-               ok("TCP client is valid");
-               client.destroy();
-               ok("TCP client destroyed");
-
-               agent = LTTngAgent.getLTTngAgent();
-               assert agent != null;
-               ok("LTTngAgent is valid");
-               agent.dispose();
-               ok("LTTngAgent disposed");
-       }
-
-       public static void main(String args[]) throws Exception {
-               System.out.println("1.." + NUM_TESTS);
-               go();
-       }
-}
This page took 0.025348 seconds and 4 git commands to generate.