public final class TestUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Settings4jRepository |
getConfiguredSettingsRepository(String classpathUrl)
Read and parse a Settings4j.xml Configuration from Classpath and return the SettingsRepository.
|
static File |
getTestFolder()
The test Folder for Unittest.
|
static File |
getTmpFolder()
The TempFolder from System Property "java.io.tmpdir" and the subfolder "Settings4jUnittest".
|
static void |
reconfigureSettings4jWithDefaultConfig()
reload org/settings4j/config/defaultsettings4j.xml.
|
public static void reconfigureSettings4jWithDefaultConfig()
public static Settings4jRepository getConfiguredSettingsRepository(String classpathUrl)
classpathUrl
- The Classpath url where the settings4j.xml are placed.public static File getTmpFolder()
public static File getTestFolder()
Copyright © 2008–2014. All rights reserved.