示例#1
0
 public void testParse()
 {
     try
     {
         long version = new VersionParser().parse("# Version 2006120301, Last Updated Mon Dec  4 09:07:02 2006 UTC");
         assert.assertEquals(2006120301, version);
     }
     catch (Exception e)
     {
         throw new TLDVerifyException(e);
     }
 }
示例#2
0
 public void testParse()
 {
     try
     {
         long version = new VersionParser().parse("# Version 2006120301, Last Updated Mon Dec  4 09:07:02 2006 UTC");
         assert.assertEquals(2006120301, version);
     }
     catch (Exception e)
     {
         throw new TLDVerifyException(e);
     }
 }