mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
Modify class name to remove checkstyleTest warning (#1281)
This commit is contained in:
parent
aae06a25fc
commit
0d43f19e30
1 changed files with 2 additions and 2 deletions
|
@ -289,7 +289,7 @@ class InvoicingPipelineTest {
|
||||||
setTmForTest(jpaTm());
|
setTmForTest(jpaTm());
|
||||||
setupCloudSql();
|
setupCloudSql();
|
||||||
PCollection<BillingEvent> billingEvents = InvoicingPipeline.readFromCloudSql(options, pipeline);
|
PCollection<BillingEvent> billingEvents = InvoicingPipeline.readFromCloudSql(options, pipeline);
|
||||||
billingEvents = billingEvents.apply(new changeDomainRepo());
|
billingEvents = billingEvents.apply(new ChangeDomainRepo());
|
||||||
PAssert.that(billingEvents).containsInAnyOrder(INPUT_EVENTS);
|
PAssert.that(billingEvents).containsInAnyOrder(INPUT_EVENTS);
|
||||||
pipeline.run().waitUntilFinish();
|
pipeline.run().waitUntilFinish();
|
||||||
removeTmOverrideForTest();
|
removeTmOverrideForTest();
|
||||||
|
@ -590,7 +590,7 @@ class InvoicingPipelineTest {
|
||||||
return persistResource(billingEventBuilder.build());
|
return persistResource(billingEventBuilder.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class changeDomainRepo
|
private static class ChangeDomainRepo
|
||||||
extends PTransform<PCollection<BillingEvent>, PCollection<BillingEvent>> {
|
extends PTransform<PCollection<BillingEvent>, PCollection<BillingEvent>> {
|
||||||
@Override
|
@Override
|
||||||
public PCollection<BillingEvent> expand(PCollection<BillingEvent> input) {
|
public PCollection<BillingEvent> expand(PCollection<BillingEvent> input) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue