|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
TearDownTestCase.tearDown()
MethodRule
interface.
expectedRegex matches any substring of actual
and fails with message if it does not.
assertContainsRegex(String,String,String) using a
generic message.
expectedRegex matches any substring of actual
and fails with message if it does not.
JUnitAsserts.assertContainsRegex(String,String,String) using a
generic message.
actual contains precisely the elements
expected, and in the same order.
assertContentsInOrder(String,Iterable,Object...)
using a generic message.
actual contains precisely the elements
expected, and in the same order.
JUnitAsserts.assertContentsInOrder(String,Iterable,Object...)
using a generic message.
expectedRegex exactly matches actual and
fails with message if it does not.
assertMatchesRegex(String,String,String) using a
generic message.
expectedRegex exactly matches actual and
fails with message if it does not.
JUnitAsserts.assertMatchesRegex(String,String,String) using a
generic message.
unexpectedRegex does not match any substring of
actual, and fails with message if it does.
assertNotContainsRegex(String,String,String) using a
generic message.
unexpectedRegex does not match any substring of
actual, and fails with message if it does.
JUnitAsserts.assertNotContainsRegex(String,String,String) using a
generic message.
actual is not equal unexpected, according
to both == and Object.equals(java.lang.Object).
assertNotEqual(String,Object,Object) using a
generic message.
actual is not equal unexpected, according
to both == and Object.equals(java.lang.Object).
JUnitAsserts.assertNotEqual(String,Object,Object) using a
generic message.
unexpectedRegex does not exactly match actual,
and fails with message if it does.
assertNotMatchesRegex(String,String,String) using a
generic message.
unexpectedRegex does not exactly match actual,
and fails with message if it does.
JUnitAsserts.assertNotMatchesRegex(String,String,String) using a
generic message.
ClusterException is data structure that allows for some code to
"throw multiple exceptions", or something close to it.RuntimeException, with
the following rules:
If exceptions has a single exception and that exception is a
RuntimeException, return it
If exceptions has a single exceptions and that exceptions is
not a RuntimeException, return a simple
RuntimeException that wraps it
Otherwise, return an instance of ClusterException that wraps
the first exception in the exceptions collection.
TearDown that may throw
an exception but should not fail a test when it does.TearDown.tearDown() operation.TearDown instances.TearDownTestCase.TearDownStack contains a stack of TearDown instances.
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||