|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JsonAsserter | |
|---|---|
| com.jayway.jsonassert | |
| com.jayway.jsonassert.impl | |
| Uses of JsonAsserter in com.jayway.jsonassert |
|---|
| Methods in com.jayway.jsonassert that return JsonAsserter | ||
|---|---|---|
JsonAsserter |
JsonAsserter.and()
Syntactic sugar to allow chaining assertions with a separating and() statement
with(json).assertThat("firstName", is(equalTo("Bobby"))).and().assertThat("lastName", is(equalTo("Ewing")))
|
|
|
JsonAsserter.assertEquals(java.lang.String path,
T expected)
Asserts that object specified by path is equal to the expected value. |
|
JsonAsserter |
JsonAsserter.assertNotDefined(java.lang.String path)
Checks that a path is not defined within a document. |
|
|
JsonAsserter.assertNotNull(java.lang.String path)
Asserts that object specified by path is NOT null. |
|
JsonAsserter |
JsonAsserter.assertNull(java.lang.String path)
Asserts that object specified by path is null. |
|
|
JsonAsserter.assertThat(java.lang.String path,
org.hamcrest.Matcher<T> matcher)
Asserts that object specified by path satisfies the condition specified by matcher. |
|
static JsonAsserter |
JsonAssert.with(java.io.InputStream is)
Creates a JSONAsserter |
|
static JsonAsserter |
JsonAssert.with(java.io.Reader reader)
Creates a JSONAsserter |
|
static JsonAsserter |
JsonAssert.with(java.lang.String json)
Creates a JSONAsserter |
|
| Uses of JsonAsserter in com.jayway.jsonassert.impl |
|---|
| Classes in com.jayway.jsonassert.impl that implement JsonAsserter | |
|---|---|
class |
JsonAsserterImpl
User: kalle stenflo Date: 1/21/11 Time: 3:43 PM |
| Methods in com.jayway.jsonassert.impl that return JsonAsserter | ||
|---|---|---|
JsonAsserter |
JsonAsserterImpl.and()
Syntactic sugar to allow chaining assertions with a separating and() statement
with(json).assertThat("firstName", is(equalTo("Bobby"))).and().assertThat("lastName", is(equalTo("Ewing")))
|
|
|
JsonAsserterImpl.assertEquals(java.lang.String path,
T expected)
Asserts that object specified by path is equal to the expected value. |
|
JsonAsserter |
JsonAsserterImpl.assertNotDefined(java.lang.String path)
Checks that a path is not defined within a document. |
|
|
JsonAsserterImpl.assertNotNull(java.lang.String path)
Asserts that object specified by path is NOT null. |
|
JsonAsserter |
JsonAsserterImpl.assertNull(java.lang.String path)
Asserts that object specified by path is null. |
|
|
JsonAsserterImpl.assertThat(java.lang.String path,
org.hamcrest.Matcher<T> matcher)
Asserts that object specified by path satisfies the condition specified by matcher. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||