Class InputStreamAssert
java.lang.Object
org.fest.assertions.Assert
org.fest.assertions.GenericAssert<InputStreamAssert,InputStream>
de.hybris.platform.testframework.assertions.InputStreamAssert
@Deprecated(since="2011",
forRemoval=true)
public final class InputStreamAssert
extends org.fest.assertions.GenericAssert<InputStreamAssert,InputStream>
Deprecated, for removal: This API element is subject to removal in a future version.
Assertion for checking input streams.
-
Field Summary
Fields inherited from class org.fest.assertions.GenericAssert
actual, myself -
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamAssertassertThat(InputStream actual) Deprecated, for removal: This API element is subject to removal in a future version.hasSameDataAs(byte[] expected) Deprecated.since 2011, useInputStreamAssert.hasSameContentAs(byte[])instead.hasSameDataAs(InputStream expected) Deprecated.since 2011, use assertion provided by AssertJ:Assertions.assertThat(actual).hasSameContentAs(expected).hasSameSizeAs(InputStream other) Deprecated.since 2011, use assertion provided by AssertJ:InputStreamAssert.hasSameSizeAs(InputStream).hasSize(long size) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.fest.assertions.GenericAssert
as, as, describedAs, describedAs, doesNotSatisfy, is, isEqualTo, isIn, isIn, isNot, isNotEqualTo, isNotIn, isNotIn, isNotNull, isNotSameAs, isNull, isSameAs, overridingErrorMessage, satisfiesMethods inherited from class org.fest.assertions.Assert
customErrorMessage, description, description, description, equals, fail, fail, failIfCustomMessageIsSet, failIfCustomMessageIsSet, failure, formattedErrorMessage, hashCode, rawDescription, replaceDefaultErrorMessagesWith
-
Method Details
-
assertThat
Deprecated, for removal: This API element is subject to removal in a future version. -
hasSize
Deprecated, for removal: This API element is subject to removal in a future version. -
hasSameDataAs
Deprecated.since 2011, useInputStreamAssert.hasSameContentAs(byte[])instead. TheInputStreamAssertcan be created by callingExtendedAssertions.assertThat(InputStream) -
hasSameDataAs
Deprecated.since 2011, use assertion provided by AssertJ:Assertions.assertThat(actual).hasSameContentAs(expected). TheInputStreamAssertcan be created by callingExtendedAssertions.assertThat(InputStream) -
hasSameSizeAs
Deprecated.since 2011, use assertion provided by AssertJ:InputStreamAssert.hasSameSizeAs(InputStream). TheInputStreamAssertcan be created by callingExtendedAssertions.assertThat(InputStream)
-
InputStreamAssertinstead. TheInputStreamAssertcan be accessed viaExtendedAssertions.assertThat(InputStream)method