クラス UriAssert
- 実装されたすべてのインターフェース:
org.assertj.core.api.Assert<UriAssert,
、StringSE> org.assertj.core.api.Descriptable<UriAssert>
、org.assertj.core.api.EnumerableAssert<UriAssert,
、CharacterSE> org.assertj.core.api.ExtensionPoints<UriAssert,
StringSE>
URI を表す
String
SE に適用できる AssertJ assertions
。- 導入:
- 6.2
- 作成者:
- Stephane Nicoll
フィールドサマリー
クラス org.assertj.core.api.AbstractAssert から継承されたフィールド
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
コンストラクターのサマリー
コンストラクター方法の概要
修飾子と型メソッド説明isEqualToTemplate
(StringSE uriTemplate, ObjectSE... uriVars) 実際の URI が、指定されたuriTemplate
とuriVars
を使用して構築された URI と等しいことを確認します。matchesAntPattern
(StringSE uriPattern) 実際の URI が指定されたアリスタイルuriPattern
と一致することを確認します。クラス org.assertj.core.api.AbstractStringAssert から継承されたメソッド
asBase64Decoded, asBoolean, asByte, asDouble, asFloat, asInt, asLong, asShort, bytes, bytes, bytes, decodedAsBase64, isBase64, isBetween, isEqualTo, isEqualTo, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isStrictlyBetween, usingComparator, usingComparator, usingDefaultComparator
クラス org.assertj.core.api.AbstractCharSequenceAssert から継承されたメソッド
contains, contains, containsAnyOf, containsIgnoringCase, containsIgnoringNewLines, containsIgnoringWhitespaces, containsOnlyDigits, containsOnlyOnce, containsOnlyWhitespaces, containsPattern, containsPattern, containsPatternSatisfying, containsPatternSatisfying, containsSequence, containsSequence, containsSubsequence, containsSubsequence, containsWhitespaces, doesNotContain, doesNotContain, doesNotContainAnyWhitespaces, doesNotContainIgnoringCase, doesNotContainOnlyWhitespaces, doesNotContainPattern, doesNotContainPattern, doesNotEndWith, doesNotEndWithIgnoringCase, doesNotEndWithWhitespaces, doesNotMatch, doesNotMatch, doesNotStartWith, doesNotStartWithIgnoringCase, doesNotStartWithWhitespaces, endsWith, endsWithIgnoringCase, hasLineCount, hasSameSizeAs, hasSameSizeAs, hasSameSizeAs, hasSize, hasSizeBetween, hasSizeGreaterThan, hasSizeGreaterThanOrEqualTo, hasSizeLessThan, hasSizeLessThanOrEqualTo, inBinary, inHexadecimal, inUnicode, isAlphabetic, isAlphanumeric, isASCII, isBlank, isEmpty, isEqualToIgnoringCase, isEqualToIgnoringNewLines, isEqualToIgnoringWhitespace, isEqualToNormalizingNewlines, isEqualToNormalizingPunctuationAndWhitespace, isEqualToNormalizingUnicode, isEqualToNormalizingWhitespace, isHexadecimal, isJavaBlank, isLowerCase, isMixedCase, isNotBlank, isNotEmpty, isNotEqualToIgnoringCase, isNotEqualToIgnoringWhitespace, isNotEqualToNormalizingWhitespace, isNotJavaBlank, isNullOrEmpty, isPrintable, isSubstringOf, isUpperCase, isVisible, isXmlEqualTo, isXmlEqualToContentOf, matches, matches, matchesSatisfying, matchesSatisfying, startsWith, startsWithIgnoringCase, usingDefaultElementComparator, usingElementComparator
クラス org.assertj.core.api.AbstractAssert から継承されたメソッド
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
クラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.assertj.core.api.Descriptable から継承されたメソッド
as, as, as, describedAs, describedAs
コンストラクターの詳細
UriAssert
メソッドの詳細
isEqualToTemplate
実際の URI が、指定されたuriTemplate
とuriVars
を使用して構築された URI と等しいことを確認します。例:// Verify that uri is equal to "/orders/1/items/2" assertThat(uri).isEqualToTemplate("/orders/{orderId}/items/{itemId}", 1, 2));
- パラメーター:
uriTemplate
- 期待される URI 文字列と、いくつかの URI テンプレート変数uriVars
- URI テンプレート変数を置き換える値- 関連事項:
matchesAntPattern
実際の URI が指定されたアリスタイルuriPattern
と一致することを確認します。例:// Verify that pattern matches "/orders/1/items/2" assertThat(uri).matchPattern("/orders/*"));
- パラメーター:
uriPattern
- 一致すると予想されるパターン- 関連事項: