Uses of Class
org.assertj.core.api.AbstractStringAssert
Packages that use AbstractStringAssert
-
Uses of AbstractStringAssert in org.assertj.core.api
Classes in org.assertj.core.api with type parameters of type AbstractStringAssertModifier and TypeClassDescriptionclassAbstractStringAssert<SELF extends AbstractStringAssert<SELF>>Subclasses of AbstractStringAssert in org.assertj.core.apiFields in org.assertj.core.api with type parameters of type AbstractStringAssertModifier and TypeFieldDescriptionstatic final InstanceOfAssertFactory<String, AbstractStringAssert<?>> InstanceOfAssertFactories.STRINGInstanceOfAssertFactoryfor aString.Methods in org.assertj.core.api that return AbstractStringAssertModifier and TypeMethodDescriptionAbstractByteArrayAssert.asBase64Encoded()Encodes the actual array into a Base64 string, the encoded string becoming the new object under test.AbstractByteArrayAssert.asHexString()Converts the actual byte array under test to an hexadecimal String and returns assertions for the computed String allowing String specific assertions from this call.static AbstractStringAssert<?> Assertions.assertThat(String actual) Creates a new instance of.StringAssertfrom aStringstatic AbstractStringAssert<?> AssertionsForClassTypes.assertThat(String actual) Creates a new instance of.StringAssertstatic AbstractStringAssert<?> Java6Assertions.assertThat(String actual) Deprecated.Creates a new instance of.StringAssertdefault AbstractStringAssert<?> WithAssertions.assertThat(String actual) Creates a new instance of.CharSequenceAssertfrom aStringAbstractAssert.asString()Returns a String assertion for thetoString()of the actual value, to allow chaining of String-specific assertions from this call.AbstractByteArrayAssert.asString()Converts the actual byte[] under test to a String and returns assertions for the computed String allowing String specific assertions from this call.Converts the actual byte[] under test to a String by decoding the specified bytes using the given charset and returns assertions for the computed String allowing String specific assertions from this call.Converts the content of the actualInputStreamto aStringby decoding its bytes using the given charset and returns assertions for the computed String allowing String specific assertions from this call.static AbstractStringAssert<?> Assumptions.assumeThat(String actual) Creates a new instance ofassumption.StringAssertdefault AbstractStringAssert<?> WithAssumptions.assumeThat(String actual) Creates a new instance ofassumption.StringAssertAbstractFileAssert.content()Returns String assertions on the content of the actualFileread with thedefault charset.Returns String assertions on the content of the actualFileread with the givenCharset.AbstractPathAssert.content()Returns String assertions on the content of the actualPathread with thedefault charset.Returns String assertions on the content of the actualPathread with the givenCharset.AbstractByteArrayAssert.encodedAsBase64()Deprecated.static AbstractStringAssert<?> Creates a new assumption's instance for aStringvalue.AbstractThrowableAssert.message()A shortcut forextracting(Throwable::getMessage, as(InstanceOfAssertFactories.STRING))which allows to extract a throwable's message and then execute assertions on it.static AbstractStringAssert<?> Creates a new instance of.StringAssertstatic AbstractStringAssert<?> Deprecated.Creates a new instance of.StringAssert
AbstractByteArrayAssert.asBase64Encoded()instead.