public class CommonFixture extends Object
Modifier and Type | Field and Description |
---|---|
protected Connection |
databaseConnection |
protected DataSource |
dataSource
A JDBC DataSource for accessing the SQLite database.
|
protected File |
gpkgFile
A SQLite database file containing a GeoPackage.
|
static String |
ROOT_PKG_PATH
Root test suite package (absolute path).
|
Constructor and Description |
---|
CommonFixture() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
initCommonFixture(org.testng.ITestContext testContext)
Initializes the common test fixture.
|
public static final String ROOT_PKG_PATH
protected File gpkgFile
protected DataSource dataSource
protected Connection databaseConnection
public void initCommonFixture(org.testng.ITestContext testContext) throws SQLException
testContext
- The test context that contains all the information for a test
run, including suite attributes.SQLException
- If a database access error occurs.public void close() throws SQLException
SQLException
Copyright © 2022 Open Geospatial Consortium. All rights reserved.