mirror of
https://github.com/google/nomulus
synced 2026-09-20 23:14:44 +00:00
Modify class name to remove checkstyleTest warning (#1281)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user