mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 14:54:51 +02:00
RDAP: Document RDAP guidance
Updates the RDAP code to reflect guidance and confirmation received from various mailing lists. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129254894
This commit is contained in:
parent
6fc7eb40c6
commit
eb792e89ef
5 changed files with 86 additions and 0 deletions
|
@ -295,6 +295,18 @@ public class RdapJsonFormatterTest {
|
|||
.isEqualTo(loadJson("rdapjson_techcontact.json"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRolelessContact() throws Exception {
|
||||
assertThat(
|
||||
RdapJsonFormatter.makeRdapJsonForContact(
|
||||
contactResourceTech,
|
||||
false,
|
||||
Optional.<DesignatedContact.Type>absent(),
|
||||
LINK_BASE,
|
||||
WHOIS_SERVER))
|
||||
.isEqualTo(loadJson("rdapjson_rolelesscontact.json"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testDomain_full() throws Exception {
|
||||
assertThat(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue