public class XpathAssertions
extends java.lang.ObjectWebTestClient の XPath アサーション。| 修飾子と型 | メソッドと説明 |
|---|---|
WebTestClient.BodyContentSpec | doesNotExist() |
boolean | equals(java.lang.Object obj) |
WebTestClient.BodyContentSpec | exists() |
int | hashCode() |
WebTestClient.BodyContentSpec | isEqualTo(boolean expectedValue) |
WebTestClient.BodyContentSpec | isEqualTo(java.lang.Double expectedValue) |
WebTestClient.BodyContentSpec | isEqualTo(java.lang.String expectedValue) |
WebTestClient.BodyContentSpec | nodeCount(java.util.function.Consumer<java.lang.Integer> consumer)XPath 評価の結果としてノードの数を消費します。 |
WebTestClient.BodyContentSpec | nodeCount(int expectedCount) |
WebTestClient.BodyContentSpec | nodeCount(org.hamcrest.Matcher<java.lang.Integer> matcher) |
WebTestClient.BodyContentSpec | number(java.util.function.Consumer<java.lang.Double> consumer)XPath 評価の結果を Double として使用します。 |
WebTestClient.BodyContentSpec | number(org.hamcrest.Matcher<? super java.lang.Double> matcher) |
WebTestClient.BodyContentSpec | string(java.util.function.Consumer<java.lang.String> consumer)XPath 評価の結果を文字列として使用します。 |
WebTestClient.BodyContentSpec | string(org.hamcrest.Matcher<? super java.lang.String> matcher) |
public WebTestClient.BodyContentSpec isEqualTo(java.lang.String expectedValue)
public WebTestClient.BodyContentSpec isEqualTo(java.lang.Double expectedValue)
public WebTestClient.BodyContentSpec isEqualTo(boolean expectedValue)
public WebTestClient.BodyContentSpec exists()
public WebTestClient.BodyContentSpec doesNotExist()
public WebTestClient.BodyContentSpec nodeCount(int expectedCount)
public WebTestClient.BodyContentSpec string(org.hamcrest.Matcher<? super java.lang.String> matcher)
public WebTestClient.BodyContentSpec number(org.hamcrest.Matcher<? super java.lang.Double> matcher)
public WebTestClient.BodyContentSpec nodeCount(org.hamcrest.Matcher<java.lang.Integer> matcher)
public WebTestClient.BodyContentSpec string(java.util.function.Consumer<java.lang.String> consumer)
public WebTestClient.BodyContentSpec number(java.util.function.Consumer<java.lang.Double> consumer)
public WebTestClient.BodyContentSpec nodeCount(java.util.function.Consumer<java.lang.Integer> consumer)
public boolean equals(java.lang.Object obj)
java.lang.Object の equals public int hashCode()
java.lang.Object の hashCode