クラス XpathAssertions
java.lang.ObjectSE
org.springframework.test.web.reactive.server.XpathAssertions
WebTestClient の XPath アサーション。- 導入:
- 5.1
- 作成者:
- Eric Deandrea, Rossen Stoyanchev
メソッドのサマリー
修飾子と型メソッド説明booleanexists()inthashCode()isEqualTo(boolean expectedValue) nodeCount(int expectedCount) nodeCount(ConsumerSE<IntegerSE> consumer) XPath 評価の結果としてノードの数を消費します。number(ConsumerSE<DoubleSE> consumer) XPath 評価の結果を Double として使用します。string(ConsumerSE<StringSE> consumer) XPath 評価の結果を文字列として使用します。
メソッドの詳細
isEqualTo
isEqualTo
isEqualTo
exists
doesNotExist
nodeCount
string
- 導入:
- 5.1
number
- 導入:
- 5.1
nodeCount
- 導入:
- 5.1
string
XPath 評価の結果を文字列として使用します。- 導入:
- 5.1
number
XPath 評価の結果を Double として使用します。- 導入:
- 5.1
nodeCount
XPath 評価の結果としてノードの数を消費します。- 導入:
- 5.1
equals
hashCode
public int hashCode()