mirror of
https://github.com/google/nomulus.git
synced 2025-07-20 01:35:59 +02:00
Remove more unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201243722
This commit is contained in:
parent
47322b7fcd
commit
ad73f3d167
61 changed files with 318 additions and 331 deletions
|
@ -76,7 +76,7 @@ public class PublishInvoicesActionTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testJobDone_enqueuesCopyAction_emailsResults() throws Exception {
|
||||
public void testJobDone_enqueuesCopyAction_emailsResults() {
|
||||
expectedJob.setCurrentState("JOB_STATE_DONE");
|
||||
uploadAction.run();
|
||||
assertThat(response.getStatus()).isEqualTo(SC_OK);
|
||||
|
|
|
@ -18,7 +18,6 @@ import static com.google.common.truth.Truth.assertThat;
|
|||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import java.io.IOException;
|
||||
import org.joda.time.YearMonth;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
@ -36,7 +35,7 @@ public class ActivityReportingQueryBuilderTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testAggregateQueryMatch() throws IOException {
|
||||
public void testAggregateQueryMatch() {
|
||||
ActivityReportingQueryBuilder queryBuilder = getQueryBuilder();
|
||||
assertThat(queryBuilder.getReportQuery())
|
||||
.isEqualTo(
|
||||
|
@ -45,7 +44,7 @@ public class ActivityReportingQueryBuilderTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testIntermediaryQueryMatch() throws IOException {
|
||||
public void testIntermediaryQueryMatch() {
|
||||
ImmutableList<String> expectedQueryNames =
|
||||
ImmutableList.of(
|
||||
ActivityReportingQueryBuilder.REGISTRAR_OPERATING_STATUS,
|
||||
|
|
|
@ -60,7 +60,7 @@ public class IcannReportingStagingActionTest {
|
|||
when(stager.stageReports(ReportType.TRANSACTIONS)).thenReturn(ImmutableList.of("c", "d"));
|
||||
}
|
||||
|
||||
private static void assertUploadTaskEnqueued(String subDir) throws Exception {
|
||||
private static void assertUploadTaskEnqueued(String subDir) {
|
||||
TaskMatcher matcher =
|
||||
new TaskMatcher()
|
||||
.url("/_dr/task/icannReportingUpload")
|
||||
|
|
|
@ -18,7 +18,6 @@ import static com.google.common.truth.Truth.assertThat;
|
|||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import java.io.IOException;
|
||||
import org.joda.time.YearMonth;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
@ -36,7 +35,7 @@ public class TransactionsReportingQueryBuilderTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testAggregateQueryMatch() throws IOException {
|
||||
public void testAggregateQueryMatch() {
|
||||
TransactionsReportingQueryBuilder queryBuilder = getQueryBuilder();
|
||||
assertThat(queryBuilder.getReportQuery())
|
||||
.isEqualTo(
|
||||
|
@ -45,7 +44,7 @@ public class TransactionsReportingQueryBuilderTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testIntermediaryQueryMatch() throws IOException {
|
||||
public void testIntermediaryQueryMatch() {
|
||||
ImmutableList<String> expectedQueryNames =
|
||||
ImmutableList.of(
|
||||
TransactionsReportingQueryBuilder.TRANSACTIONS_REPORT_AGGREGATION,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue