public final class TestHelper extends Object
Constructor and Description |
---|
TestHelper(Class<?> testClass)
Creates a helper for the specified test class.
|
Modifier and Type | Method and Description |
---|---|
static String |
getBaseScratchPath()
Return the base scratch path.
|
String |
getResourcePath(String resourceName)
Gets the file path to a specified resource.
|
String |
getScratchPath(String fileName)
Gets the file path to a specified scratch file.
|
public TestHelper(Class<?> testClass)
testClass
- the class object of the test with
which the helper is associatedpublic static String getBaseScratchPath()
public String getScratchPath(String fileName)
fileName
of null will return the path to the
scratch directory for this test.fileName
- the scratch file for which to get the pathpublic String getResourcePath(String resourceName)
resourceName
of null will return the path to the
directory containing the resources for this test.resourceName
- the resource for which to retrieve the pathCopyright © 2019 Actian Corporation. All rights reserved.