Beispiel #1
0
  public void testEnumTableType() {
    EnumerationTable table =
        (EnumerationTable) populatedSchema.getTables().getByName("Enum_set_Lookup");
    assertNotNull(table);
    EnumerationTableRows rows = table.getEnums();

    assertEquals("Zero", rows.getEnumerationsPresentationValue().getTextValues()[0]);
    assertEquals("One", rows.getEnumerationsPresentationValue().getTextValues()[1]);
    assertEquals("Two", rows.getEnumerationsPresentationValue().getTextValues()[2]);
    assertNotNull(rows.getEnumerationsValue());
  }