From b9469eb43b5647605ad7b9662f584c2efbef5153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Tue, 24 Apr 2012 16:27:33 +0200 Subject: Remove unused code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit – Remove old HTTP code. – Remove Jetty, Jsonrpc and servlet dependencies. – Remove state viewer servlet. – Remove unmaintained tests (rely on functional tests instead). --- .../java/com/orbekk/net/BroadcastListenerTest.java | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 same/src/test/java/com/orbekk/net/BroadcastListenerTest.java (limited to 'same/src/test/java/com/orbekk/net') diff --git a/same/src/test/java/com/orbekk/net/BroadcastListenerTest.java b/same/src/test/java/com/orbekk/net/BroadcastListenerTest.java deleted file mode 100644 index 67d4ece..0000000 --- a/same/src/test/java/com/orbekk/net/BroadcastListenerTest.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.orbekk.net; - -import static org.junit.Assert.*; - -import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class BroadcastListenerTest { - private Logger logger = LoggerFactory.getLogger(getClass()); - - @Test - public void interruptWorks() throws Exception { - final BroadcastListener listener = new BroadcastListener(0); - - Thread t = new Thread() { - @Override public void run() { - listener.listen(); - } - }; - t.start(); - - while (listener.socket == null) { - logger.info("Waiting for listener to start."); - Thread.sleep(100); - } - - listener.interrupt(); - t.join(); - } - -} -- cgit v1.2.3