Ejemplo n.º 1
0
 /**
  * Tests the list of identifiers.
  *
  * @throws SQLException If the test can't connect to the database.
  */
 @Test
 public void testListID() throws SQLException {
   final FormatTable table = getDatabase().getTable(FormatTable.class);
   final Set<String> identifiers = table.getIdentifiers();
   assertTrue(identifiers.contains(TEMPERATURE));
   assertTrue(identifiers.contains(CURRENT));
   assertTrue(identifiers.contains("TIFF"));
   assertTrue(identifiers.contains("PNG"));
   table.release();
 }