public class SimpleTestDataPool extends Object implements TestDataPool
TestDataPool.TestDataPermutator<T extends TestDataRecord>| Constructor and Description |
|---|
SimpleTestDataPool(String poolName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T extends TestDataRecord> |
exclusiveTestData(Class<T> clazz) |
void |
loadFrom(String... locations) |
void |
loadFrom(String location) |
String |
poolName() |
<T extends TestDataRecord> |
testData(Class<T> clazz) |
<T extends TestDataRecord> |
testData(Class<T> clazz,
boolean shared) |
public SimpleTestDataPool(String poolName)
public String poolName()
poolName in interface TestDataPoolpublic void loadFrom(String location)
loadFrom in interface TestDataPoolpublic void loadFrom(String... locations)
loadFrom in interface TestDataPoolpublic void close()
close in interface TestDataPoolpublic <T extends TestDataRecord> TestData<T> testData(Class<T> clazz)
testData in interface TestDataPoolpublic <T extends TestDataRecord> TestData<T> exclusiveTestData(Class<T> clazz)
exclusiveTestData in interface TestDataPoolpublic <T extends TestDataRecord> TestData<T> testData(Class<T> clazz, boolean shared)
Copyright © 2019 Automation RockStars. All rights reserved.