public class TestScenariosFinder extends Object
| Constructor and Description |
|---|
TestScenariosFinder(String directoryWithScenarios) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(String json,
Class<T> type) |
List<TestScenario> |
getScenarios()
Returns defined test scenarios.
|
String |
readFile(File file) |
public TestScenariosFinder(String directoryWithScenarios)
directoryWithScenarios - directory with test scenariospublic List<TestScenario> getScenarios() throws IOException
IOExceptionpublic <T> T deserialize(String json, Class<T> type) throws IOException
IOExceptionpublic String readFile(File file) throws IOException
IOExceptionCopyright © 2015–2017 Red Hat, Inc.. All rights reserved.