public class JUnit4TestAdapter extends Object implements UnitTestAdapter
JUnit4TestAdapter class.
| Constructor and Description |
|---|
JUnit4TestAdapter() |
| 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> suites)
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
|
public String getImports()
getImports in interface UnitTestAdapterString object.public String getClassDefinition(String testName)
getClassDefinition in interface UnitTestAdaptertestName - a String object.String object.public String getMethodDefinition(String testName)
getMethodDefinition in interface UnitTestAdaptertestName - a String object.String object.public String getSuite(List<String> suites)
getSuite in interface UnitTestAdaptersuites - a List object.String object.public String getTestString(int id, TestCase test, Map<Integer,Throwable> exceptions)
getTestString in interface UnitTestAdapterid - a int.test - a TestCase object.exceptions - a Map object.String object.public String getTestString(int id, TestCase test, Map<Integer,Throwable> exceptions, TestCodeVisitor visitor)
getTestString in interface UnitTestAdapterid - a int.test - a TestCase object.exceptions - a Map object.visitor - a TestCodeVisitor object.String object.Copyright © 2010–2017 EvoSuite. All rights reserved.