com.atlassian.bamboo.junit
Class Assert
java.lang.Object
com.atlassian.bamboo.junit.Assert
public class Assert
- extends Object
- Author:
- Krystian Brazulewicz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Assert
public Assert()
assertContentTextEquals
public static void assertContentTextEquals(Reader expected,
Reader actual,
boolean trimLines)
throws IOException
- Perform textual comparison of contents returned by two readers. Variation of IOUtils.contentEquals.
- Parameters:
expected
- input reader for expected dataactual
- input reader for actual datatrimLines
- flag enforcing trimming lines before comparison
- Throws:
IOException
- if an I/O error occurs
assertContentTextEquals
public static void assertContentTextEquals(InputStream expected,
InputStream actual,
boolean trimLines)
throws IOException
- Perform textual comparison of contents returned by two input streams. Variation of IOUtils.contentEquals.
- Parameters:
expected
- input stream for expected dataactual
- input stream for actual datatrimLines
- flag enforcing trimming lines before comparison
- Throws:
IOException
- if an I/O error occurs
assertFileExists
public static void assertFileExists(@NotNull
File parent,
String... pathElements)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.