Package org.opengis.cite.gpkg12
Class TileFixture
java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.TileFixture
- Direct Known Subclasses:
TiledGriddedCoverageTests
,TileTests
,WebPTests
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Collection<ImageReader>
protected static final Collection<ImageReader>
protected static final Map<String,
ColumnDefinition> protected final Collection<String>
Fields inherited from class org.opengis.cite.gpkg12.CommonFixture
databaseConnection, dataSource, geopackageVersion, gpkgFile, ROOT_PKG_PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
canReadImage
(Iterable<ImageReader> imageReaders, ImageInputStream image) protected boolean
isAcceptedImageFormat
(byte[] image) protected static boolean
isEqual
(double first, double second) protected void
setDataType
(String dataType) void
setUp()
Sets up variables used across methodsMethods inherited from class org.opengis.cite.gpkg12.CommonFixture
checkPrimaryKey, close, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabled
-
Field Details
-
tileTableNames
-
jpegImageReaders
-
pngImageReaders
-
TileTableExpectedColumns
-
-
Constructor Details
-
TileFixture
public TileFixture()
-
-
Method Details
-
isEqual
protected static boolean isEqual(double first, double second) -
setUp
Sets up variables used across methods- Throws:
SQLException
- if there is a database error
-
canReadImage
protected static boolean canReadImage(Iterable<ImageReader> imageReaders, ImageInputStream image) throws IOException - Throws:
IOException
-
isAcceptedImageFormat
- Throws:
IOException
-
setDataType
-