Пример #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);
     }
 }