mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 09:21:49 +02:00
Get rid of ReferenceUnions entirely
This is the third and final phase in the migration away from ReferenceUnions. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138778148
This commit is contained in:
parent
8d97fa5858
commit
780a5add78
14 changed files with 5 additions and 148 deletions
|
@ -41,7 +41,7 @@ public class GetApplicationCommandTest extends CommandTestCase<GetApplicationCom
|
|||
persistActiveDomainApplication("example.tld");
|
||||
runCommand("2-TLD");
|
||||
assertInStdout("fullyQualifiedDomainName=example.tld");
|
||||
assertInStdout("contactId=ReferenceUnion");
|
||||
assertInStdout("contact=Key<?>(ContactResource(\"3-ROID\"))");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -50,7 +50,6 @@ public class GetApplicationCommandTest extends CommandTestCase<GetApplicationCom
|
|||
runCommand("2-TLD", "--expand");
|
||||
assertInStdout("fullyQualifiedDomainName=example.tld");
|
||||
assertInStdout("contactId=contact1234");
|
||||
assertNotInStdout("ReferenceUnion");
|
||||
assertNotInStdout("LiveRef");
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ public class GetContactCommandTest extends CommandTestCase<GetContactCommand> {
|
|||
runCommand("sh8013", "--expand");
|
||||
assertInStdout("contactId=sh8013");
|
||||
assertInStdout("Websafe key: agR0ZXN0chsLEg9Db250YWN0UmVzb3VyY2UiBjItUk9JRAw");
|
||||
assertNotInStdout("ReferenceUnion");
|
||||
assertNotInStdout("LiveRef");
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ public class GetDomainCommandTest extends CommandTestCase<GetDomainCommand> {
|
|||
persistActiveDomain("example.tld");
|
||||
runCommand("example.tld");
|
||||
assertInStdout("fullyQualifiedDomainName=example.tld");
|
||||
assertInStdout("contactId=ReferenceUnion");
|
||||
assertInStdout("contact=Key<?>(ContactResource(\"3-ROID\"))");
|
||||
assertInStdout("Websafe key: agR0ZXN0chULEgpEb21haW5CYXNlIgUyLVRMRAw");
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,6 @@ public class GetDomainCommandTest extends CommandTestCase<GetDomainCommand> {
|
|||
assertInStdout("fullyQualifiedDomainName=example.tld");
|
||||
assertInStdout("contactId=contact1234");
|
||||
assertInStdout("Websafe key: agR0ZXN0chULEgpEb21haW5CYXNlIgUyLVRMRAw");
|
||||
assertNotInStdout("ReferenceUnion");
|
||||
assertNotInStdout("LiveRef");
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ public class GetHostCommandTest extends CommandTestCase<GetHostCommand> {
|
|||
runCommand("ns1.example.tld", "--expand");
|
||||
assertInStdout("fullyQualifiedHostName=ns1.example.tld");
|
||||
assertInStdout("Websafe key: agR0ZXN0chgLEgxIb3N0UmVzb3VyY2UiBjItUk9JRAw");
|
||||
assertNotInStdout("ReferenceUnion");
|
||||
assertNotInStdout("LiveRef");
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class GetResourceByKeyCommandTest extends CommandTestCase<GetResourceByKe
|
|||
persistActiveDomain("example.tld");
|
||||
runCommand("agR0ZXN0chULEgpEb21haW5CYXNlIgUyLVRMRAw");
|
||||
assertInStdout("fullyQualifiedDomainName=example.tld");
|
||||
assertInStdout("contactId=ReferenceUnion");
|
||||
assertInStdout("contact=Key<?>(ContactResource(\"3-ROID\"))");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -52,7 +52,6 @@ public class GetResourceByKeyCommandTest extends CommandTestCase<GetResourceByKe
|
|||
runCommand("agR0ZXN0chULEgpEb21haW5CYXNlIgUyLVRMRAw", "--expand");
|
||||
assertInStdout("fullyQualifiedDomainName=example.tld");
|
||||
assertInStdout("contactId=contact1234");
|
||||
assertNotInStdout("ReferenceUnion");
|
||||
assertNotInStdout("LiveRef");
|
||||
}
|
||||
|
||||
|
@ -96,7 +95,6 @@ public class GetResourceByKeyCommandTest extends CommandTestCase<GetResourceByKe
|
|||
persistActiveContact("sh8013");
|
||||
runCommand("agR0ZXN0chsLEg9Db250YWN0UmVzb3VyY2UiBjItUk9JRAw", "--expand");
|
||||
assertInStdout("contactId=sh8013");
|
||||
assertNotInStdout("ReferenceUnion");
|
||||
assertNotInStdout("LiveRef");
|
||||
}
|
||||
|
||||
|
@ -142,7 +140,6 @@ public class GetResourceByKeyCommandTest extends CommandTestCase<GetResourceByKe
|
|||
persistActiveHost("ns1.example.tld");
|
||||
runCommand("agR0ZXN0chgLEgxIb3N0UmVzb3VyY2UiBjItUk9JRAw", "--expand");
|
||||
assertInStdout("fullyQualifiedHostName=ns1.example.tld");
|
||||
assertNotInStdout("ReferenceUnion");
|
||||
assertNotInStdout("LiveRef");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue