Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testParent (0.05 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          assertTrue(name, domain.hasRegistrySuffix());
          assertTrue(name, domain.isUnderRegistrySuffix());
          assertFalse(name, domain.isTopDomainUnderRegistrySuffix());
        }
      }
    
      public void testParent() {
        assertEquals("com", InternetDomainName.from("google.com").parent().toString());
        assertEquals("uk", InternetDomainName.from("co.uk").parent().toString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            assertEquals("Mozilla/5.0 (compatible; Fess/98.76; +http://fess.codelibs.org/bot.html)", fessConfig.getUserAgentName());
    
            systemPropMap.put(Constants.CRAWLING_USER_AGENT_PROPERTY, "TestAgent");
            assertEquals("TestAgent", fessConfig.getUserAgentName());
        }
    
        private void assertArrays(final String[] expected, final String[] actual) {
            Arrays.sort(expected);
            Arrays.sort(actual);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top