summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-common/src/test/java/org/onap/appc/concurrent/TestSignal.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/appc-common/src/test/java/org/onap/appc/concurrent/TestSignal.java b/appc-common/src/test/java/org/onap/appc/concurrent/TestSignal.java
index 4b5eadd7a..cea8192cf 100644
--- a/appc-common/src/test/java/org/onap/appc/concurrent/TestSignal.java
+++ b/appc-common/src/test/java/org/onap/appc/concurrent/TestSignal.java
@@ -152,4 +152,12 @@ public class TestSignal {
mySignal.setTimeout(50L);
mySignal.waitForAny();
}
+
+ @Test
+ public void testIsSignaled() throws TimeoutException
+ {
+ Signal mySignal = new Signal(Thread.currentThread());
+ assertFalse(mySignal.isSignaled(SIGNAL_READY));
+
+ }
}