mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Refactor AppEngineConnection
AppEngineConnection can now connect to all services and not just the tools. The default is still the tools. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=218734983
This commit is contained in:
parent
97aa98eb35
commit
b48061b792
31 changed files with 269 additions and 329 deletions
|
@ -60,7 +60,7 @@ public class ListDomainsCommandTest extends ListObjectsCommandTestCase<ListDomai
|
|||
public void test_bothParamsSpecified() throws Exception {
|
||||
runCommand("--tlds=foo,bar", "--limit=100");
|
||||
verify(connection)
|
||||
.send(
|
||||
.sendPostRequest(
|
||||
eq(getTaskPath()),
|
||||
eq(ImmutableMap.of("tlds", "foo,bar", "limit", 100)),
|
||||
eq(MediaType.PLAIN_TEXT_UTF_8),
|
||||
|
@ -73,7 +73,7 @@ public class ListDomainsCommandTest extends ListObjectsCommandTestCase<ListDomai
|
|||
persistResource(newRegistry("fake", "FAKE").asBuilder().setTldType(TldType.TEST).build());
|
||||
runCommand();
|
||||
verify(connection)
|
||||
.send(
|
||||
.sendPostRequest(
|
||||
eq(getTaskPath()),
|
||||
eq(ImmutableMap.of("tlds", "tldone,tldtwo", "limit", Integer.MAX_VALUE)),
|
||||
eq(MediaType.PLAIN_TEXT_UTF_8),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue