示例#1
0
 public void testDecompress4() throws Exception {
   GlobalObjectId gloID =
       new GlobalObjectId(
           new ByteArrayInputStream(
               getHexa(
                   "040000008200E00074C5B7101A82E00807DA0A0B6DBB15E46333549A5D48E37D6E66ED3B100000000CBE9F652487D768F26FC1CDC5CB0867")),
           61440);
   assertEquals(
       "040000008200E00074C5B7101A82E008000000006DBB15E46333549A5D48E37D6E66ED3B100000000CBE9F652487D768F26FC1CDC5CB0867",
       gloID.getUid());
   assertEquals("Mon Oct 11 15:00:00 CEST 2010", gloID.getRecurrenceId().toString());
 }
示例#2
0
 public void testDecompress5() throws Exception {
   GlobalObjectId gloID =
       new GlobalObjectId(
           new ByteArrayInputStream(
               getHexa(
                   "040000008200E00074C5B7101A82E00807DA0A1A6DBB15E46333549A5D48E37D6E66ED3B10000000FC68EC31627BCAF602BB3BF24E59FE00")),
           49152);
   assertEquals(
       "040000008200E00074C5B7101A82E008000000006DBB15E46333549A5D48E37D6E66ED3B10000000FC68EC31627BCAF602BB3BF24E59FE00",
       gloID.getUid());
   assertEquals("Tue Oct 26 12:00:00 CEST 2010", gloID.getRecurrenceId().toString());
 }
示例#3
0
  public void testDecompress3() throws Exception {
    GlobalObjectId gloID =
        new GlobalObjectId(
            new ByteArrayInputStream(
                getHexa(
                    "040000008200E00074C5B7101A82E00807DA0A0D6DBB15E46333549A5D48E37D6E66ED3B10000000EB7523FA41CE256CF911970CF605B651")),
            49152);
    assertEquals(
        "040000008200E00074C5B7101A82E008000000006DBB15E46333549A5D48E37D6E66ED3B10000000EB7523FA41CE256CF911970CF605B651",
        gloID.getUid());

    assertEquals("Wed Oct 13 12:00:00 CEST 2010", gloID.getRecurrenceId().toString());
  }