|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knowhowlab.osgi.testing.assertions.OSGiAssert
org.knowhowlab.osgi.testing.assertions.cmpn.EventAdminAssert
public class EventAdminAssert
A set of OSGi EventAdmin specific assertion methods useful for writing tests.
Before use it could be initialized with default BundleContextOSGiAssert.setDefaultBundleContext(org.osgi.framework.BundleContext)
AssertionError,
OSGiAssert| Method Summary | |
|---|---|
static void |
assertEvent(String[] topics,
org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that Event for defined topics and filter will be fired within given timeoutInMillis. |
static void |
assertEvent(String[] topics,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that Event for defined topics and filter will be fired within given timeout. |
static void |
assertEvent(String[] topics,
long timeoutInMillis)
Asserts that Event for defined topics will be fired within given timeoutInMillis. |
static void |
assertEvent(String[] topics,
long timeout,
TimeUnit timeUnit)
Asserts that Event for defined topics will be fired within given timeout. |
static void |
assertEvent(String topic,
org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that Event for defined topic and filter will be fired within given timeoutInMillis. |
static void |
assertEvent(String topic,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that Event for defined topic and filter will be fired within given timeout. |
static void |
assertEvent(String topic,
long timeoutInMillis)
Asserts that Event for defined topic will be fired within given timeoutInMillis. |
static void |
assertEvent(String topic,
long timeout,
TimeUnit timeUnit)
Asserts that Event for defined topic will be fired within given timeout. |
static void |
assertEvent(String message,
String[] topics,
org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that Event for defined topics and filter will be fired within given timeoutInMillis. |
static void |
assertEvent(String message,
String[] topics,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that Event for defined topics and filter will be fired within given timeout. |
static void |
assertEvent(String message,
String[] topics,
long timeoutInMillis)
Asserts that Event for defined topics will be fired within given timeoutInMillis. |
static void |
assertEvent(String message,
String[] topics,
long timeout,
TimeUnit timeUnit)
Asserts that Event for defined topics will be fired within given timeout. |
static void |
assertEvent(String message,
String topic,
org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that Event for defined topic and filter will be fired within given timeoutInMillis. |
static void |
assertEvent(String message,
String topic,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that Event for defined topic and filter will be fired within given timeout. |
static void |
assertEvent(String message,
String topic,
long timeoutInMillis)
Asserts that Event for defined topic will be fired within given timeoutInMillis. |
static void |
assertEvent(String message,
String topic,
long timeout,
TimeUnit timeUnit)
Asserts that Event for defined topic will be fired within given timeout. |
| Methods inherited from class org.knowhowlab.osgi.testing.assertions.OSGiAssert |
|---|
getBundleContext, setDefaultBundleContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void assertEvent(String topic,
long timeoutInMillis)
AssertionError is thrown
topic - topictimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertEvent(String message,
String topic,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messagetopic - topictimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertEvent(String topic,
org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError is thrown
topic - topicfilter - filtertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertEvent(String message,
String topic,
org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messagetopic - topicfilter - filtertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertEvent(String[] topics,
long timeoutInMillis)
AssertionError is thrown
topics - topicstimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertEvent(String message,
String[] topics,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messagetopics - topicstimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertEvent(String[] topics,
org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError is thrown
topics - topicsfilter - filtertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertEvent(String message,
String[] topics,
org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messagetopics - topicsfilter - filtertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertEvent(String topic,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
topic - topictimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertEvent(String message,
String topic,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messagetopic - topictimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertEvent(String topic,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
topic - topicfilter - filtertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertEvent(String message,
String topic,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messagetopic - topicfilter - filtertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertEvent(String[] topics,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
topics - topicstimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertEvent(String message,
String[] topics,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messagetopics - topicstimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertEvent(String[] topics,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
topics - topicsfilter - filtertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertEvent(String message,
String[] topics,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messagetopics - topicsfilter - filtertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||