summaryrefslogtreecommitdiffstats
path: root/docproc/src/test/java/com/yahoo/docproc/NotAcceptingNewProcessingsTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'docproc/src/test/java/com/yahoo/docproc/NotAcceptingNewProcessingsTestCase.java')
-rw-r--r--docproc/src/test/java/com/yahoo/docproc/NotAcceptingNewProcessingsTestCase.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/docproc/src/test/java/com/yahoo/docproc/NotAcceptingNewProcessingsTestCase.java b/docproc/src/test/java/com/yahoo/docproc/NotAcceptingNewProcessingsTestCase.java
index d20e372e849..0c7122b417e 100644
--- a/docproc/src/test/java/com/yahoo/docproc/NotAcceptingNewProcessingsTestCase.java
+++ b/docproc/src/test/java/com/yahoo/docproc/NotAcceptingNewProcessingsTestCase.java
@@ -1,11 +1,17 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.docproc;
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.fail;
+
/**
- * @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
+ * @author Einar M R Rosenvinge
*/
-public class NotAcceptingNewProcessingsTestCase extends junit.framework.TestCase {
+public class NotAcceptingNewProcessingsTestCase {
+ @Test
public void testNotAccepting() {
DocprocService service = new DocprocService("habla");
service.setCallStack(new CallStack());
@@ -24,4 +30,5 @@ public class NotAcceptingNewProcessingsTestCase extends junit.framework.TestCase
}
assertEquals(1, service.getQueueSize());
}
+
}