|
|||||||||
| 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.FilterAssert
public class FilterAssert
A set of OSGi Filter specific assertion methods useful for writing tests.
Before use it should be initializedOSGiAssert.init(org.osgi.framework.BundleContext)
AssertionError,
OSGiAssert| Method Summary | |
|---|---|
static void |
assertFilterCorrect(String filter)
Asserts that given filter is correct. |
static void |
assertFilterCorrect(String message,
String filter)
Asserts that given filter is correct. |
static void |
assertFilterIncorrect(String filter)
Asserts that given filter is incorrect. |
static void |
assertFilterIncorrect(String message,
String filter)
Asserts that given filter is incorrect. |
| Methods inherited from class org.knowhowlab.osgi.testing.assertions.OSGiAssert |
|---|
getBundleContext, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void assertFilterCorrect(String filter)
AssertionError without a message is thrown
filter - filter
public static void assertFilterCorrect(String message,
String filter)
AssertionError is thrown with the given message
message - messagefilter - filterpublic static void assertFilterIncorrect(String filter)
AssertionError without a message is thrown
filter - filter
public static void assertFilterIncorrect(String message,
String filter)
AssertionError is thrown with the given message
message - messagefilter - filter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||