Class InputStreamAssert
- java.lang.Object
-
- org.fest.assertions.Assert
-
- org.fest.assertions.GenericAssert<InputStreamAssert,java.io.InputStream>
-
- de.hybris.platform.testframework.assertions.InputStreamAssert
-
@Deprecated(since="2011", forRemoval=true) public final class InputStreamAssert extends org.fest.assertions.GenericAssert<InputStreamAssert,java.io.InputStream>Deprecated, for removal: This API element is subject to removal in a future version.since 2011, useInputStreamAssertinstead. TheInputStreamAssertcan be accessed viaExtendedAssertions.assertThat(InputStream)methodAssertion for checking input streams.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static InputStreamAssertassertThat(java.io.InputStream actual)Deprecated, for removal: This API element is subject to removal in a future version.InputStreamAsserthasSameDataAs(byte[] expected)Deprecated.since 2011, useInputStreamAssert.hasSameContentAs(byte[])instead.InputStreamAsserthasSameDataAs(java.io.InputStream expected)Deprecated.since 2011, use assertion provided by AssertJ:Assertions.assertThat(actual).hasSameContentAs(expected).InputStreamAsserthasSameSizeAs(java.io.InputStream other)Deprecated.since 2011, use assertion provided by AssertJ:InputStreamAssert.hasSameSizeAs(InputStream).InputStreamAsserthasSize(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, satisfies
-
-
-
-
Method Detail
-
assertThat
public static InputStreamAssert assertThat(java.io.InputStream actual)
Deprecated, for removal: This API element is subject to removal in a future version.
-
hasSize
public InputStreamAssert hasSize(long size)
Deprecated, for removal: This API element is subject to removal in a future version.
-
hasSameDataAs
public InputStreamAssert hasSameDataAs(byte[] expected)
Deprecated.since 2011, useInputStreamAssert.hasSameContentAs(byte[])instead. TheInputStreamAssertcan be created by callingExtendedAssertions.assertThat(InputStream)
-
hasSameDataAs
public InputStreamAssert hasSameDataAs(java.io.InputStream expected)
Deprecated.since 2011, use assertion provided by AssertJ:Assertions.assertThat(actual).hasSameContentAs(expected). TheInputStreamAssertcan be created by callingExtendedAssertions.assertThat(InputStream)
-
hasSameSizeAs
public InputStreamAssert hasSameSizeAs(java.io.InputStream other)
Deprecated.since 2011, use assertion provided by AssertJ:InputStreamAssert.hasSameSizeAs(InputStream). TheInputStreamAssertcan be created by callingExtendedAssertions.assertThat(InputStream)
-
-