| 程序包 | 说明 |
|---|---|
| com.github.yongchristophertang.engine.java.handler |
| 限定符和类型 | 方法和说明 |
|---|---|
JsonAssertion |
JsonAssertion.arraySize(String expression,
int size)
Evaluate the JSON path and assert the array found has the expected size.
|
JsonAssertion |
JsonAssertion.isArray(String expression)
Evaluate the JSON path and assert the content found is an array.
|
JsonAssertion |
JsonAssertion.pathExist(String expression)
Evaluate the JSONPath and assert that content exists.
|
<T> JsonAssertion |
JsonAssertion.pathMatch(String expression,
org.hamcrest.Matcher<T> matcher)
Evaluate the JSONPath and assert the value of the content found with the
given Hamcrest
Matcher. |
<T> JsonAssertion |
JsonAssertion.pathMatch(String expression,
T matcher)
Evaluate the JSONPath and assert the value of the content found.
|
JsonAssertion |
JsonAssertion.pathNotExist(String expression)
Evaluate the JSON path and assert no content was found.
|
Copyright © 2016. All rights reserved.