public class TestRunListener extends Object implements org.testng.IExecutionListener
A shared fixture should be used with caution in order to avoid undesirable test interactions. In general, it should be populated with "read-only" objects that are not modified during the test run.
FixtureManager| Constructor and Description |
|---|
TestRunListener() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
checkEpsgDataSource(DataSource dataSource)
Checks that the database represented by the given DataSource is
accessible and contains the EPSG geodetic parameter data.
|
void |
onExecutionFinish() |
void |
onExecutionStart()
Notifies the listener that a test run is about to start; it looks for a
JNDI DataSource named "jdbc/EPSG" that provides access to a database
containing the official EPSG geodetic parameters.
|
public void onExecutionStart()
hint when
initializing the EPSG factory. An embedded database will be created if
necessary.onExecutionStart in interface org.testng.IExecutionListenerpublic void onExecutionFinish()
onExecutionFinish in interface org.testng.IExecutionListenervoid checkEpsgDataSource(DataSource dataSource)
dataSource - A JDBC DataSource.Copyright © 2020 Open Geospatial Consortium. All rights reserved.