public class TestUtil extends Object
| Constructor and Description |
|---|
TestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
doPropertyReplacement(String line)
Provides Ant-style property replacement support.
|
static RestTest |
loadRestTest(String resourcePath,
ClassLoader cl)
Loads a rest test from a classpath resource.
|
static TestPlan |
loadTestPlan(File planFile)
Loads a test plan from a file resource.
|
static TestPlan |
loadTestPlan(String resourcePath,
ClassLoader cl)
Loads a test plan from a classpath resource.
|
static String |
setProperty(String key,
String value)
Sets the system property indicated by the specified key unless already defined
|
public static final TestPlan loadTestPlan(String resourcePath, ClassLoader cl)
resourcePath - cl - public static final TestPlan loadTestPlan(File planFile)
planFile - public static final RestTest loadRestTest(String resourcePath, ClassLoader cl)
resourcePath - cl - public static String doPropertyReplacement(String line)
line - the line being processedCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.