public class SimpleTestData<T extends TestDataRecord> extends Object implements TestData<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
REMOTE_DATA_URL_PROP| Constructor and Description |
|---|
SimpleTestData(boolean shared,
Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
TestDataRecordBuilder |
addNew() |
void |
close() |
void |
close(String location) |
protected List<T> |
data() |
boolean |
isShared() |
String |
name() |
T |
record(int cycle) |
com.google.common.collect.FluentIterable<T> |
records() |
String |
serialize() |
String |
toString() |
static Map<String,Object> |
unMap(TestDataRecord inner) |
public static final String NAME
public static Map<String,Object> unMap(TestDataRecord inner)
public String name()
name in interface TestData<T extends TestDataRecord>public boolean isShared()
isShared in interface TestData<T extends TestDataRecord>public com.google.common.collect.FluentIterable<T> records()
records in interface TestData<T extends TestDataRecord>public TestDataRecordBuilder addNew()
addNew in interface TestData<T extends TestDataRecord>public String serialize()
serialize in interface TestData<T extends TestDataRecord>public void close()
throws IOException
close in interface TestData<T extends TestDataRecord>IOExceptionpublic void close(String location) throws IOException
close in interface TestData<T extends TestDataRecord>IOExceptionpublic T record(int cycle)
record in interface TestData<T extends TestDataRecord>Copyright © 2019 Automation RockStars. All rights reserved.