aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-16 11:33:06 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-16 11:33:06 +1300
commit3563910f1b551c02db5dffc9745bd8aba9cbeeeb (patch)
tree90258424db16d130b8dd9db7a01b24ea97d5290f /test
parent4d9155939e9efc96278d2d7407c2ad13c8136ca5 (diff)
downloadtraccar-server-3563910f1b551c02db5dffc9745bd8aba9cbeeeb.tar.gz
traccar-server-3563910f1b551c02db5dffc9745bd8aba9cbeeeb.tar.bz2
traccar-server-3563910f1b551c02db5dffc9745bd8aba9cbeeeb.zip
Disable async debugging and add test
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/web/AsyncServletTest.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/org/traccar/web/AsyncServletTest.java b/test/org/traccar/web/AsyncServletTest.java
new file mode 100644
index 000000000..e2f7b2f21
--- /dev/null
+++ b/test/org/traccar/web/AsyncServletTest.java
@@ -0,0 +1,13 @@
+package org.traccar.web;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class AsyncServletTest {
+
+ @Test
+ public void testDebugDisabled() {
+ Assert.assertFalse("debugging enabled", AsyncServlet.AsyncSession.DEBUG_ASYNC);
+ }
+
+}