public class ImpexRunListener
extends RunListener
| Constructor and Description |
|---|
ImpexRunListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
importCsv(String csvFile,
String encoding)
Imports given csv file from classpath using given encoding.
|
protected void |
importStream(InputStream inputStream,
String encoding,
String resourceName) |
void |
testFinished(Description description) |
void |
testRunStarted(Description description) |
void |
testStarted(Description description) |
public void testRunStarted(Description description)
throws Exception
Exceptionprotected void importCsv(String csvFile, String encoding) throws ImpExException
csvFile - name of file to import from classpathencoding - encoding to useImpExExceptionprotected void importStream(InputStream inputStream, String encoding, String resourceName) throws ImpExException
ImpExExceptionCopyright © 2017 SAP SE. All Rights Reserved.