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
FieldsModifier 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleancanReadImage(Iterable<ImageReader> imageReaders, ImageInputStream image) protected booleanisAcceptedImageFormat(byte[] image) protected static booleanisEqual(double first, double second) protected voidsetDataType(String dataType) voidsetUp()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
-