Package net.avcompris.commons3.testutil
Class TestUtils
java.lang.Object
net.avcompris.commons3.testutil.TestUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertContains
(String ref, String[] array) static void
assertFileContentEquals
(File refFile, File testFile) static void
assertStartsWith
(String ref, String s) static org.junit.jupiter.api.DynamicContainer
dynamicContainer
(Object instance) static InputStream
getResourceAsStream
(String resourcePath) static byte[]
readResource
(String resourcePath)
-
Constructor Details
-
TestUtils
public TestUtils()
-
-
Method Details
-
assertFileContentEquals
- Throws:
IOException
-
getResourceAsStream
- Throws:
IOException
-
readResource
- Throws:
IOException
-
assertContains
-
assertStartsWith
-
dynamicContainer
-