Uses of Interface
dev.aherscu.qa.testing.utils.assertions.JsonAsserter
-
Packages that use JsonAsserter Package Description dev.aherscu.qa.testing.utils.assertions dev.aherscu.qa.testing.utils.assertions.impl -
-
Uses of JsonAsserter in dev.aherscu.qa.testing.utils.assertions
Subinterfaces of JsonAsserter in dev.aherscu.qa.testing.utils.assertions Modifier and Type Interface Description interface
JsonAsserterEx
Supports asserting on multiple JSON paths.Methods in dev.aherscu.qa.testing.utils.assertions that return JsonAsserter Modifier and Type Method Description JsonAsserter
JsonAsserter. and()
Syntactic sugar to allow chaining assertions with a separating and() statement<T> JsonAsserter
JsonAsserter. assertEquals(String path, T expected)
Asserts that object specified by path is equal to the expected value.<T> JsonAsserter
JsonAsserter. assertEquals(String path, T expected, String message)
JsonAsserter
JsonAsserterEx. assertHas(JsonAssertion<?>... expectedContents)
Asserts that expected contents match.JsonAsserter
JsonAsserterEx. assertHas(Iterable<? extends JsonAssertion<?>> expectedContents)
Asserts that expected contents match.JsonAsserter
JsonAsserter. assertNotDefined(String path)
Checks that a path is not defined within a document.JsonAsserter
JsonAsserter. assertNotDefined(String path, String message)
<T> JsonAsserter
JsonAsserter. assertNotNull(String path)
Asserts that object specified by path is NOT null.<T> JsonAsserter
JsonAsserter. assertNotNull(String path, String message)
JsonAsserter
JsonAsserter. assertNull(String path)
Asserts that object specified by path is null.JsonAsserter
JsonAsserter. assertNull(String path, String message)
<T> JsonAsserter
JsonAsserter. assertThat(String path, org.hamcrest.Matcher<T> matcher)
Asserts that object specified by path satisfies the condition specified by matcher.<T> JsonAsserter
JsonAsserter. assertThat(String path, org.hamcrest.Matcher<T> matcher, String message)
static JsonAsserter
JsonAssert. with(InputStream is)
Creates a JSONAsserterstatic JsonAsserter
JsonAssert. with(Reader reader)
Creates a JSONAsserterstatic JsonAsserter
JsonAssert. with(String json)
Creates a JSONAsserter -
Uses of JsonAsserter in dev.aherscu.qa.testing.utils.assertions.impl
Classes in dev.aherscu.qa.testing.utils.assertions.impl that implement JsonAsserter Modifier and Type Class Description class
JsonAsserterImpl
Methods in dev.aherscu.qa.testing.utils.assertions.impl that return JsonAsserter Modifier and Type Method Description JsonAsserter
JsonAsserterImpl. and()
Syntactic sugar to allow chaining assertions with a separating and() statement<T> JsonAsserter
JsonAsserterImpl. assertEquals(String path, T expected)
Asserts that object specified by path is equal to the expected value.<T> JsonAsserter
JsonAsserterImpl. assertEquals(String path, T expected, String message)
JsonAsserter
JsonAsserterImpl. assertNotDefined(String path)
Checks that a path is not defined within a document.JsonAsserter
JsonAsserterImpl. assertNotDefined(String path, String message)
<T> JsonAsserter
JsonAsserterImpl. assertNotNull(String path)
Asserts that object specified by path is NOT null.<T> JsonAsserter
JsonAsserterImpl. assertNotNull(String path, String message)
JsonAsserter
JsonAsserterImpl. assertNull(String path)
Asserts that object specified by path is null.JsonAsserter
JsonAsserterImpl. assertNull(String path, String message)
<T> JsonAsserter
JsonAsserterImpl. assertThat(String path, org.hamcrest.Matcher<T> matcher)
Asserts that object specified by path satisfies the condition specified by matcher.<T> JsonAsserter
JsonAsserterImpl. assertThat(String path, org.hamcrest.Matcher<T> matcher, String message)
-