|
||||||||||
| 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.ServiceAssert
public class ServiceAssert
A set of OSGi services 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 |
assertServiceAvailable(Class clazz)
Asserts that service with class is available in OSGi registry. |
static void |
assertServiceAvailable(Class clazz,
long timeoutInMillis)
Asserts that service with class is available in OSGi registry within given timeoutInMillis. |
static void |
assertServiceAvailable(Class clazz,
long timeout,
TimeUnit timeUnit)
Asserts that service with class is available in OSGi registry within given timeout. |
static void |
assertServiceAvailable(org.osgi.framework.Filter filter)
Asserts that service with filter is available in OSGi registry. |
static void |
assertServiceAvailable(org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that service with filter is available in OSGi registry within given timeoutInMillis. |
static void |
assertServiceAvailable(org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that service with filter is available in OSGi registry within given timeout. |
static void |
assertServiceAvailable(String className)
Asserts that service with class name is available in OSGi registry. |
static void |
assertServiceAvailable(String message,
Class clazz)
Asserts that service with class is available in OSGi registry. |
static void |
assertServiceAvailable(String message,
Class clazz,
long timeoutInMillis)
Asserts that service with class is available in OSGi registry within given timeoutInMillis. |
static void |
assertServiceAvailable(String message,
Class clazz,
long timeout,
TimeUnit timeUnit)
Asserts that service with class is available in OSGi registry within given timeout. |
static void |
assertServiceAvailable(String message,
org.osgi.framework.Filter filter)
Asserts that service with filter is available in OSGi registry. |
static void |
assertServiceAvailable(String message,
org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that service with filter is available in OSGi registry within given timeoutInMillis. |
static void |
assertServiceAvailable(String message,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that service with filter is available in OSGi registry within given timeout. |
static void |
assertServiceAvailable(String className,
long timeoutInMillis)
Asserts that service with class name is available in OSGi registry within given timeoutInMillis. |
static void |
assertServiceAvailable(String className,
long timeout,
TimeUnit timeUnit)
Asserts that service with class name is available in OSGi registry within given timeout. |
static void |
assertServiceAvailable(String message,
String className)
Asserts that service with class name is available in OSGi registry. |
static void |
assertServiceAvailable(String message,
String className,
long timeoutInMillis)
Asserts that service with class name is available in OSGi registry within given timeoutInMillis. |
static void |
assertServiceAvailable(String message,
String className,
long timeout,
TimeUnit timeUnit)
Asserts that service with class name is available in OSGi registry within given timeout. |
static void |
assertServiceEvent(int eventTypeMask,
Class clazz,
boolean all,
long timeoutInMillis)
Asserts that ServiceEvent with class filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(int eventTypeMask,
Class clazz,
boolean all,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with class filter will be fired within given timeout. |
static void |
assertServiceEvent(int eventTypeMask,
Class clazz,
long timeoutInMillis)
Asserts that ServiceEvent with class filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(int eventTypeMask,
Class clazz,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with class filter will be fired within given timeout. |
static void |
assertServiceEvent(int eventTypeMask,
org.osgi.framework.Filter filter,
boolean all,
long timeoutInMillis)
Asserts that ServiceEvent with filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(int eventTypeMask,
org.osgi.framework.Filter filter,
boolean all,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with filter will be fired within given timeout. |
static void |
assertServiceEvent(int eventTypeMask,
org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that ServiceEvent with filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(int eventTypeMask,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with filter will be fired within given timeout. |
static void |
assertServiceEvent(int eventTypeMask,
String className,
boolean all,
long timeoutInMillis)
Asserts that ServiceEvent with class name filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(int eventTypeMask,
String className,
boolean all,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with class name filter will be fired within given timeout. |
static void |
assertServiceEvent(int eventTypeMask,
String className,
long timeoutInMillis)
Asserts that ServiceEvent with class name filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(int eventTypeMask,
String className,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with class name filter will be fired within given timeout. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
Class clazz,
boolean all,
long timeoutInMillis)
Asserts that ServiceEvent with class filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
Class clazz,
boolean all,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with class filter will be fired within given timeout. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
Class clazz,
long timeoutInMillis)
Asserts that ServiceEvent with class filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
Class clazz,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with class filter will be fired within given timeout. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
org.osgi.framework.Filter filter,
boolean all,
long timeoutInMillis)
Asserts that ServiceEvent with filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
org.osgi.framework.Filter filter,
boolean all,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with filter will be fired within given timeout. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that ServiceEvent with filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with filter will be fired within given timeout. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
String className,
boolean all,
long timeoutInMillis)
Asserts that ServiceEvent with class name filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
String className,
boolean all,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with class name filter will be fired within given timeout. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
String className,
long timeoutInMillis)
Asserts that ServiceEvent with class name filter will be fired within given timeoutInMillis. |
static void |
assertServiceEvent(String message,
int eventTypeMask,
String className,
long timeout,
TimeUnit timeUnit)
Asserts that ServiceEvent with class name filter will be fired within given timeout. |
static void |
assertServiceUnavailable(Class clazz)
Asserts that service with class is unavailable in OSGi registry. |
static void |
assertServiceUnavailable(Class clazz,
long timeoutInMillis)
Asserts that service with class is unavailable in OSGi registry within given timeoutInMillis. |
static void |
assertServiceUnavailable(Class clazz,
long timeout,
TimeUnit timeUnit)
Asserts that service with class is unavailable in OSGi registry within given timeout. |
static void |
assertServiceUnavailable(org.osgi.framework.Filter filter)
Asserts that service with filter is unavailable in OSGi registry. |
static void |
assertServiceUnavailable(org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that service with filter is unavailable in OSGi registry within given timeoutInMillis. |
static void |
assertServiceUnavailable(org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that service with filter is unavailable in OSGi registry within given timeout. |
static void |
assertServiceUnavailable(String className)
Asserts that service with class name is unavailable in OSGi registry. |
static void |
assertServiceUnavailable(String message,
Class clazz)
Asserts that service with class is unavailable in OSGi registry. |
static void |
assertServiceUnavailable(String message,
Class clazz,
long timeoutInMillis)
Asserts that service with class is unavailable in OSGi registry within given timeoutInMillis. |
static void |
assertServiceUnavailable(String message,
Class clazz,
long timeout,
TimeUnit timeUnit)
Asserts that service with class is unavailable in OSGi registry within given timeout. |
static void |
assertServiceUnavailable(String message,
org.osgi.framework.Filter filter)
Asserts that service with filter is unavailable in OSGi registry. |
static void |
assertServiceUnavailable(String message,
org.osgi.framework.Filter filter,
long timeoutInMillis)
Asserts that service with filter is unavailable in OSGi registry within given timeoutInMillis. |
static void |
assertServiceUnavailable(String message,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
Asserts that service with filter is unavailable in OSGi registry within given timeout. |
static void |
assertServiceUnavailable(String className,
long timeoutInMillis)
Asserts that service with class name is unavailable in OSGi registry within given timeoutInMillis. |
static void |
assertServiceUnavailable(String className,
long timeout,
TimeUnit timeUnit)
Asserts that service with class name is unavailable in OSGi registry within given timeout. |
static void |
assertServiceUnavailable(String message,
String className)
Asserts that service with class name is unavailable in OSGi registry. |
static void |
assertServiceUnavailable(String message,
String className,
long timeoutInMillis)
Asserts that service with class name is unavailable in OSGi registry within given timeoutInMillis. |
static void |
assertServiceUnavailable(String message,
String className,
long timeout,
TimeUnit timeUnit)
Asserts that service with class name is unavailable in OSGi registry 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 assertServiceAvailable(Class clazz)
AssertionError without a message is thrown
clazz - service class
public static void assertServiceAvailable(String message,
Class clazz)
AssertionError is thrown with the given message
message - messageclazz - service class
public static void assertServiceAvailable(Class clazz,
long timeoutInMillis)
AssertionError without a message is thrown
clazz - service classtimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceAvailable(String message,
Class clazz,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageclazz - service classtimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceAvailable(Class clazz,
long timeout,
TimeUnit timeUnit)
AssertionError without a message is thrown
clazz - service classtimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unit
public static void assertServiceAvailable(String message,
Class clazz,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageclazz - service classtimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unitpublic static void assertServiceAvailable(String className)
AssertionError without a message is thrown
className - service class name
public static void assertServiceAvailable(String message,
String className)
AssertionError is thrown with the given message
message - messageclassName - service class name
public static void assertServiceAvailable(String className,
long timeoutInMillis)
AssertionError without a message is thrown
className - service class nametimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceAvailable(String message,
String className,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageclassName - service class nametimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceAvailable(String className,
long timeout,
TimeUnit timeUnit)
AssertionError without a message is thrown
className - service class nametimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unit
public static void assertServiceAvailable(String message,
String className,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageclassName - service class nametimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unitpublic static void assertServiceAvailable(org.osgi.framework.Filter filter)
AssertionError without a message is thrown
filter - service filter
public static void assertServiceAvailable(String message,
org.osgi.framework.Filter filter)
AssertionError is thrown with the given message
message - messagefilter - service filter
public static void assertServiceAvailable(org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError without a message is thrown
filter - service filtertimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceAvailable(String message,
org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messagefilter - service filtertimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceAvailable(org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError without a message is thrown
filter - service filtertimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unit
public static void assertServiceAvailable(String message,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messagefilter - service filtertimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unitpublic static void assertServiceUnavailable(Class clazz)
AssertionError without a message is thrown
clazz - service class
public static void assertServiceUnavailable(String message,
Class clazz)
AssertionError is thrown with the given message
message - messageclazz - service class
public static void assertServiceUnavailable(Class clazz,
long timeoutInMillis)
AssertionError without a message is thrown
clazz - service classtimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceUnavailable(String message,
Class clazz,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageclazz - service classtimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceUnavailable(Class clazz,
long timeout,
TimeUnit timeUnit)
AssertionError without a message is thrown
clazz - service classtimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unit
public static void assertServiceUnavailable(String message,
Class clazz,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageclazz - service classtimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unitpublic static void assertServiceUnavailable(String className)
AssertionError without a message is thrown
className - service class name
public static void assertServiceUnavailable(String message,
String className)
AssertionError is thrown with the given message
message - messageclassName - service class name
public static void assertServiceUnavailable(String className,
long timeoutInMillis)
AssertionError without a message is thrown
className - service class nametimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceUnavailable(String message,
String className,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageclassName - service class nametimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceUnavailable(String className,
long timeout,
TimeUnit timeUnit)
AssertionError without a message is thrown
className - service class nametimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unit
public static void assertServiceUnavailable(String message,
String className,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageclassName - service class nametimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unitpublic static void assertServiceUnavailable(org.osgi.framework.Filter filter)
AssertionError without a message is thrown
filter - service filter
public static void assertServiceUnavailable(String message,
org.osgi.framework.Filter filter)
AssertionError is thrown with the given message
message - messagefilter - service filter
public static void assertServiceUnavailable(org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError without a message is thrown
filter - service filtertimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceUnavailable(String message,
org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messagefilter - service filtertimeoutInMillis - time interval in milliseconds to wait. If zero, the method will wait indefinitely.
public static void assertServiceUnavailable(org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError without a message is thrown
filter - service filtertimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unit
public static void assertServiceUnavailable(String message,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messagefilter - service filtertimeout - time interval in milliseconds to wait. If zero, the method will wait indefinitely.timeUnit - timeout time unit
public static void assertServiceEvent(int eventTypeMask,
org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskfilter - service filtertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(String message,
int eventTypeMask,
org.osgi.framework.Filter filter,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskfilter - service filtertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(int eventTypeMask,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskfilter - service filtertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(String message,
int eventTypeMask,
org.osgi.framework.Filter filter,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskfilter - service filtertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(int eventTypeMask,
org.osgi.framework.Filter filter,
boolean all,
long timeoutInMillis)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskfilter - service filterall - use AllServiceListenertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(String message,
int eventTypeMask,
org.osgi.framework.Filter filter,
boolean all,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskfilter - service filterall - use AllServiceListenertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(int eventTypeMask,
org.osgi.framework.Filter filter,
boolean all,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskfilter - service filterall - use AllServiceListenertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(String message,
int eventTypeMask,
org.osgi.framework.Filter filter,
boolean all,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskfilter - service filterall - use AllServiceListenertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(int eventTypeMask,
String className,
long timeoutInMillis)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskclassName - service class nametimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(String message,
int eventTypeMask,
String className,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskclassName - service class nametimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(int eventTypeMask,
String className,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskclassName - service class nametimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(String message,
int eventTypeMask,
String className,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskclassName - service class nametimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(int eventTypeMask,
String className,
boolean all,
long timeoutInMillis)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskclassName - service class nameall - use AllServiceListenertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(String message,
int eventTypeMask,
String className,
boolean all,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskclassName - service class nameall - use AllServiceListenertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(int eventTypeMask,
String className,
boolean all,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskclassName - service class nameall - use AllServiceListenertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(String message,
int eventTypeMask,
String className,
boolean all,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskclassName - service class nameall - use AllServiceListenertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(int eventTypeMask,
Class clazz,
long timeoutInMillis)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskclazz - service classtimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(String message,
int eventTypeMask,
Class clazz,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskclazz - service classtimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(int eventTypeMask,
Class clazz,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskclazz - service classtimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(String message,
int eventTypeMask,
Class clazz,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskclazz - service classtimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(int eventTypeMask,
Class clazz,
boolean all,
long timeoutInMillis)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskclazz - service classall - use AllServiceListenertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(String message,
int eventTypeMask,
Class clazz,
boolean all,
long timeoutInMillis)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskclazz - service classall - use AllServiceListenertimeoutInMillis - time interval in millis to wait. If zero, the method will wait indefinitely.
public static void assertServiceEvent(int eventTypeMask,
Class clazz,
boolean all,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown
eventTypeMask - ServiceEvent type maskclazz - service classall - use AllServiceListenertimeout - time interval to wait. If zero, the method will wait indefinitely.timeUnit - time unit for the time interval
public static void assertServiceEvent(String message,
int eventTypeMask,
Class clazz,
boolean all,
long timeout,
TimeUnit timeUnit)
AssertionError is thrown with the given message
message - messageeventTypeMask - ServiceEvent type maskclazz - service classall - use AllServiceListenertimeout - 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 | |||||||||