- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for registrySuffix (0.06 seconds)
-
guava-tests/test/com/google/common/net/InternetDomainNameTest.java
InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp"); assertTrue(domain.hasRegistrySuffix()); assertThat(domain.registrySuffix().toString()).isEqualTo("yokohama.jp"); // Behold the weirdness! assertFalse(domain.registrySuffix().isRegistrySuffix()); } public void testRegistrySuffixMultipleUnders() { // PSL has both *.uk and *.sch.uk; the latter should win.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp"); assertTrue(domain.hasRegistrySuffix()); assertThat(domain.registrySuffix().toString()).isEqualTo("yokohama.jp"); // Behold the weirdness! assertFalse(domain.registrySuffix().isRegistrySuffix()); } public void testRegistrySuffixMultipleUnders() { // PSL has both *.uk and *.sch.uk; the latter should win.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0)