NamedFunction that will call a zero-argument method on its target,
or get the value of a field.ExceptionMatchers.assertThrows(String, Class, ThrowingRunnable) with null for the
message.ExceptionMatchers.assertThrows(String, Matcher, ThrowingRunnable) with instanceOf(expected)
for the matcher.ExceptionMatchers.assertThrows(String, Matcher, ThrowingRunnable) with null for the
message.expected parameter on a @Test annotation or
the ExpectedException @Rule, except that it can be used conveniently within the test flow.TestHttpServer.ResponseProperties instance with a 401 (unauthorized)
status and a WWW-Authenticate header.Barrier.DEFAULT_TIMEOUT for the barrier to be signalled.TestHttpServer.authChallenge(java.lang.String) or TestHttpServer.proxyAuthChallenge(java.lang.String) in a test
response to simulate a basicauth challenge.ResponseProperties instance based on the current instance,
but adding the specified response body.ExceptionMatchers.ThrowingRunnable, catches any exception that it throws, and returns
it wrapped up as a CatchResult that can be asserted against with ExceptionMatchers.caught(Matcher) or
ExceptionMatchers.caughtNothing().ExceptionMatchers.catching(ThrowingRunnable) which asserts that it throws an exception of the
specified type.ExceptionMatchers.catching(ThrowingRunnable) which asserts that it throws an exception that
matches the given condition.ExceptionMatchers.catching(ThrowingRunnable) which asserts that no exception occurred.Matcher<String> which matches if every one of a given strings appears as a substring
of the provided string.Barrier.await().Barrier.DEFAULT_TIMEOUT: "com.atlassian.utt.concurrency.Barrier.DEFAULT_TIMEOUT".Matcher which matches a CapturedLogging if a message matching the given
messageMatcher was logged at Level.DEBUG.Matcher which matches a CapturedLogging if a single message containing all the given
substrings was logged at Level.DEBUG.Matcher which matches a CapturedLogging if a message matching the given
messageMatcher was logged at Level.ERROR.Matcher which matches a CapturedLogging if a single message containing all the given
substrings was logged at Level.ERROR.Matcher which matches a CapturedLogging if a message matching the given
messageMatcher was logged at Level.INFO.Matcher which matches a CapturedLogging if a single message containing all the given
substrings was logged at Level.INFO.Matcher which matches a CapturedLogging if a message matching the given
messageMatcher was logged at Level.WARN.Matcher which matches a CapturedLogging if a single message containing all the given
substrings was logged at Level.WARN.TestHttpServer.authChallenge(java.lang.String) or TestHttpServer.proxyAuthChallenge(java.lang.String) in a test
response to simulate a digest authentication challenge.Matchers.everyItem(Matcher) except for its generic
signature; everyItem takes a Matcher<T>, whereas this method takes a
Matcher<? super T>.ExceptionMatchers.ThrowingRunnable.Runnable, but permits checked exceptions to be thrown.answer0 and answer1.answer0 and answer1.RETURNS_DEFAULTS setting, but switches to the
provided answer1 when flipped.Runnable into a test thread.Statement into a test thread.Barrier.DEFAULT_TIMEOUT, or whatever value Barrier.DEFAULT_TIMEOUT_PROPERTY specified
to override it with.Optional whose value matches a given matcher.Optional whose value is equal to a given value.ResponseProperties instance based on the current instance,
but adding the specified response header.Matcher that passes its target through the wrapped function and then
delegates to another matcher.is(equalTo(value)).Optional exactly when it is empty.true if currently flipped (using answer1); false if still using answer0.Optional exactly when it is present.ReflectionFunctions.accessor(Class, Class, String), but for methods or fields with an Iterable type.fromClass, is also an instance of matchClass;
then casts it to matchClass and asserts the specified matcher.message().NamedFeature.thatIs(Object) thatIs}(message).message().that(orderedSubstrings(orderedSubstrings)).FeatureMatcher instances.Function with a descriptive name, and allows you to compose it with a Matcher.Matcher implementations for Jdk 8 optionals.Matcher<String> which matches if every one of a given strings appears as a substring
of the provided strings and they occur in the same order as they are listed here.TestHttpServer.ResponseProperties instance with a 407 (proxy authorization)
status and a Proxy-Authenticate header.strict answer.barrier timeout as the time limit for the test.TestHttpServer.ResponseProperties instance with a specific HTTP status code.strict Answer<T> that will infer the
correct type from the context.strict Answer<T> that will infer the
correct type from the supplied class.2 threads.Barrier.getDefaultTimeout() as the timeout.Matchers.allOf(Matcher...), but does not short-circuit; all of the matchers will be tested
even if the first one fails.Matchers.allOf(Matcher...), but does not short-circuit; all of the matchers will be tested
even if the first one fails.Matchers.allOf(Matcher...), but does not short-circuit; all of the matchers will be tested
even if the first one fails.TestHttpServer.respondIf(org.hamcrest.Matcher<com.atlassian.utt.http.TestHttpServer.RequestProperties>, com.atlassian.utt.http.TestHttpServer.ResponseProperties).testMatcher only if preconditionMatcher succeeds; if preconditionMatcher fails,
ignores the failure and returns success, skipping testMatcher.ExpectedException rule that can be used to declare that the test thread should be
expected to terminate abnormally.is(equalTo(value)) matcher derived from the wrapped
function, for any given value.Copyright © 2017 Atlassian. All rights reserved.