mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 06:44:51 +02:00
Automatically refactor more exception testing to use new JUnit rules
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179072309
This commit is contained in:
parent
d5d29959b4
commit
9157930983
100 changed files with 3900 additions and 3192 deletions
|
@ -92,13 +92,6 @@ public class LoadTestCommandTest extends CommandTestCase<LoadTestCommand> {
|
|||
eq(MediaType.PLAIN_TEXT_UTF_8),
|
||||
eq(new byte[0]));
|
||||
}
|
||||
@Test
|
||||
public void test_prompt() throws Exception {
|
||||
thrown.expect(IllegalStateException.class);
|
||||
runCommand();
|
||||
verifyZeroInteractions(connection);
|
||||
assertInStderr("Unable to access stdin (are you running with bazel run?)");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test_badTLD() throws Exception {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue