mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 12:08:36 +02:00
Add host linker mapreduce for RDE imports
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=147025088
This commit is contained in:
parent
6cdb3d81d3
commit
da1f83a7b4
15 changed files with 353 additions and 29 deletions
|
@ -132,6 +132,16 @@ public class XjcToDomainResourceConverterTest {
|
|||
assertThat(domain.getAuthInfo().getPw().getValue()).isEqualTo("0123456789abcdef");
|
||||
}
|
||||
|
||||
/** Verifies that uppercase domain names are converted to lowercase */
|
||||
@Test
|
||||
public void testConvertDomainResourceUpperCase() throws Exception {
|
||||
persistActiveContact("jd1234");
|
||||
persistActiveContact("sh8013");
|
||||
final XjcRdeDomain xjcDomain = loadDomainFromRdeXml("domain_fragment_ucase.xml");
|
||||
DomainResource domain = convertDomainInTransaction(xjcDomain);
|
||||
assertThat(domain.getFullyQualifiedDomainName()).isEqualTo("example1.example");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testConvertDomainResourceAddPeriod() throws Exception {
|
||||
persistActiveContact("jd1234");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue