aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-core/appc-common-bundle/src/test/java/org/onap/appc/concurrent/TestSignal.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/appc-core/appc-common-bundle/src/test/java/org/onap/appc/concurrent/TestSignal.java b/appc-core/appc-common-bundle/src/test/java/org/onap/appc/concurrent/TestSignal.java
index 4b5eadd7a..06ddf4fc5 100644
--- a/appc-core/appc-common-bundle/src/test/java/org/onap/appc/concurrent/TestSignal.java
+++ b/appc-core/appc-common-bundle/src/test/java/org/onap/appc/concurrent/TestSignal.java
@@ -6,7 +6,7 @@
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
- * Modification Copyright (C) 2018 IBM
+ * Modifications Copyright (C) 2018 IBM
* =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -152,4 +152,11 @@ public class TestSignal {
mySignal.setTimeout(50L);
mySignal.waitForAny();
}
+
+ @Test
+ public void testIsSignaled()
+ {
+ Signal mySignal = new Signal(Thread.currentThread());
+ assertEquals(false, mySignal.isSignaled(SIGNAL_READY));
+ }
}