commit 60f4cb605c038094cb30d9034d49adb24ae3c76c Author: Karsten Loesing karsten.loesing@gmx.net Date: Thu Nov 28 09:21:26 2013 +0100
Add note how to improve tests. --- test/org/torproject/onionoo/ResourceServletTest.java | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/test/org/torproject/onionoo/ResourceServletTest.java b/test/org/torproject/onionoo/ResourceServletTest.java index 55cf53c..51ea1b5 100644 --- a/test/org/torproject/onionoo/ResourceServletTest.java +++ b/test/org/torproject/onionoo/ResourceServletTest.java @@ -25,6 +25,9 @@ import org.torproject.onionoo.ResourceServlet.HttpServletResponseWrapper;
import com.google.gson.Gson;
+/* TODO This test class could (should?) be split into ResponseBuilderTest + * which tests ResponseBuilder and a much shorter ResourceServletTest + * which tests servlet specifics. */ public class ResourceServletTest {
private SortedMap<String, String> relays, bridges;