Example #1
0
        public void test()
        {
            TldVerifyTest      tldVerifyTest      = new TldVerifyTest();
            DomainNameUtilTest domainNameUtilTest = new DomainNameUtilTest();
            VersionParserTest  versionParserTest  = new VersionParserTest();

            tldVerifyTest.testRefreshTldDB();
            Console.WriteLine("testRefreshTldDB tested.");
            tldVerifyTest.testVerifyTld();
            Console.WriteLine("testVerifyTld tested.");
            tldVerifyTest.testVerifyTldOffline();
            Console.WriteLine("testVerifyTldOffline tested.");
            domainNameUtilTest.testGetTopLevelDomain();
            Console.WriteLine("testGetTopLevelDomain tested.");
            versionParserTest.testParse();
            Console.WriteLine("testParse tested.");
        }
Example #2
0
        public void test()
        {
            TldVerifyTest tldVerifyTest = new TldVerifyTest();
            DomainNameUtilTest domainNameUtilTest = new DomainNameUtilTest();
            VersionParserTest versionParserTest = new VersionParserTest();

            tldVerifyTest.testRefreshTldDB();
            Console.WriteLine("testRefreshTldDB tested.");
            tldVerifyTest.testVerifyTld();
            Console.WriteLine("testVerifyTld tested.");
            tldVerifyTest.testVerifyTldOffline();
            Console.WriteLine("testVerifyTldOffline tested.");
            domainNameUtilTest.testGetTopLevelDomain();
            Console.WriteLine("testGetTopLevelDomain tested.");
            versionParserTest.testParse();
            Console.WriteLine("testParse tested.");
        }