Add MOE equivalences for pushes on 2016-10-19

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136617858
This commit is contained in:
mcilwain 2016-10-19 11:13:06 -07:00 committed by Ben McIlwain
parent 8bf268efc2
commit fd09d825e3
2 changed files with 4 additions and 2 deletions

View file

@ -475,6 +475,7 @@ public class RdapDomainSearchActionTest {
public void testDomainMatchWithWildcardAndEmptySuffix_fails() throws Exception {
// Unfortunately, we can't be sure which error is going to be returned. The version of
// IDN.toASCII used in Eclipse drops a trailing dot, if any. But the version linked in by
// Blaze throws an error in that situation. So just check that it returns an error.
generateActualJson(RequestType.NAME, "exam*..");
assertThat(response.getStatus()).isIn(Range.closed(400, 499));
}
@ -551,7 +552,7 @@ public class RdapDomainSearchActionTest {
}
persistResources(domainsBuilder.build());
}
private Object readMultiDomainFile(
String fileName,
String domainName1,
@ -987,7 +988,7 @@ public class RdapDomainSearchActionTest {
.isEqualTo(generateExpectedJson("No domains found", null, null, "rdap_error_404.json"));
assertThat(response.getStatus()).isEqualTo(404);
}
@Test
public void testAddressMatch_nontruncatedResultsSet() throws Exception {
createManyDomainsAndHosts(4, 1, 2);