Ejemplo n.º 1
0
  @Test
  public void find() {
    assertTrue(ICalDataType.TEXT == ICalDataType.find("tExT"));

    // find() ignores runtime-defined objects
    ICalDataType.get("test");
    assertNull(ICalDataType.find("test"));
  }
Ejemplo n.º 2
0
 @Test
 public void contentId() {
   assertEquals(ICalDataType.CONTENT_ID, ICalDataType.find("CID"));
   assertEquals(ICalDataType.CONTENT_ID, ICalDataType.get("CID"));
 }