public class TestUtils extends Object
TestUtils class.
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanupFields(Object test)
Cleans up all fields within a given test
|
static File |
createEmptyTmpDir()
Deprecated.
Use org.junit.rules.TemporaryFolder instead
createEmptyTmpDir |
static File |
createTmpFile(String prefix,
String suffix,
InputStream in)
Deprecated.
Use org.junit.rules.TemporaryFolder instead
|
static File |
getTmpDir()
getTmpDir
|
public static void cleanupFields(@Nullable Object test) throws IllegalAccessException
test - the test that is cleaned upIllegalAccessException - if any.@Deprecated @Nonnull public static File createTmpFile(@Nonnull String prefix, @Nonnull String suffix, @Nonnull InputStream in) throws IOException
prefix - a String object.suffix - a String object.in - a InputStream object.IOException - if any.@Deprecated @Nonnull public static File createEmptyTmpDir()
createEmptyTmpDir
Copyright © 2007–2016 cedarsoft GmbH. All rights reserved.