public interface UnitTestAdapter
UnitTestAdapter interface.
| Modifier and Type | Method and Description |
|---|---|
String |
getClassDefinition(String testName)
Get the framework specific definition of the test class
|
String |
getImports()
Get all the framework dependent imports
|
String |
getMethodDefinition(String testName)
Get the framework specific definition of a test method
|
String |
getSuite(List<String> tests)
Get the class definition of a test suite
|
String |
getTestString(int id,
TestCase test,
Map<Integer,Throwable> exceptions)
Return the sequence of method calls for a test
|
String |
getTestString(int id,
TestCase test,
Map<Integer,Throwable> exceptions,
TestCodeVisitor visitor)
Return the sequence of method calls for a test
|
String getClassDefinition(String testName)
String getMethodDefinition(String testName)
String getTestString(int id, TestCase test, Map<Integer,Throwable> exceptions)
String getTestString(int id, TestCase test, Map<Integer,Throwable> exceptions, TestCodeVisitor visitor)
test - a TestCase object.exceptions - a Map object.visitor - a TestCodeVisitor object.id - a int.String object.Copyright © 2010–2017 EvoSuite. All rights reserved.