mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 00:47:11 +02:00
Fix two nits in DotAppDomainInfo
1) By our convention, entity fields are package-private, not private. 2) Static analysis can't tell that checkArgumentNotNull prevents continuing with a null on the next line. Change the code to make a warning in eclipse go away. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=121944468
This commit is contained in:
parent
b60ceda055
commit
758a4ac387
10 changed files with 88 additions and 99 deletions
|
@ -26,7 +26,7 @@ public class DomainApplicationInfoCommandTest
|
|||
public void testSuccess() throws Exception {
|
||||
runCommandForced("--client=NewRegistrar", "--domain_name=example.tld",
|
||||
"--phase=landrush", "--id=123");
|
||||
verifySent("testdata/domain_info_landrush.xml", false, false);
|
||||
eppVerifier().verifySent("testdata/domain_info_landrush.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -34,7 +34,7 @@ public class DomainApplicationInfoCommandTest
|
|||
// Sunrush: phase=sunrise, subphase=landrush
|
||||
runCommandForced("--client=NewRegistrar", "--domain_name=example.tld",
|
||||
"--phase=sunrush", "--id=123");
|
||||
verifySent("testdata/domain_info_sunrush.xml", false, false);
|
||||
eppVerifier().verifySent("testdata/domain_info_sunrush.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue