Skip to content

Commit

Permalink
use camelCase, correct package
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Aug 21, 2024
1 parent edb5bcc commit 1ee063a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public SpringBatchTest(JobRunner runner) {
}

@Test
void should_trace_tasklet_job_step() {
void shouldTraceTaskletJobStep() {
runner.runJob("taskletJob");

testing.waitAndAssertTraces(
Expand All @@ -57,7 +57,7 @@ void should_trace_tasklet_job_step() {
}

@Test
void should_handle_exception_in_tasklet_job_step() {
void shouldHandleExceptionInTaskletJobStep() {
runner.runJob("taskletJob", singletonMap("fail", new JobParameter(1L)));

testing.waitAndAssertTraces(
Expand All @@ -81,7 +81,7 @@ void should_handle_exception_in_tasklet_job_step() {
}

@Test
void should_trace_chunked_items_job() {
void shouldTraceChunkedItemsJob() {
runner.runJob("itemsAndTaskletJob");

testing.waitAndAssertTraces(
Expand Down Expand Up @@ -115,7 +115,7 @@ void should_trace_chunked_items_job() {
}

@Test
void should_trace_flow_job() {
void shouldTraceFlowJob() {
runner.runJob("flowJob");

testing.waitAndAssertTraces(
Expand Down Expand Up @@ -144,7 +144,7 @@ void should_trace_flow_job() {
}

@Test
void should_trace_split_flow_job() {
void shouldTraceSplitFlowJob() {
runner.runJob("splitJob");

testing.waitAndAssertTraces(
Expand Down Expand Up @@ -185,7 +185,7 @@ void should_trace_split_flow_job() {
}

@Test
void should_trace_job_with_decision() {
void shouldTraceJobWithDecision() {
runner.runJob("decisionJob");

testing.waitAndAssertTraces(
Expand Down Expand Up @@ -214,7 +214,7 @@ void should_trace_job_with_decision() {
}

@Test
void should_trace_partitioned_job() {
void shouldTracePartitionedJob() {
runner.runJob("partitionedJob");

testing.waitAndAssertTraces(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public ChunkRootSpanTest(JobRunner jobRunner) {
}

@Test
void should_create_separate_traces_for_each_chunk() {
void shouldCreateSeparateTracesForEachChunk() {
jobRunner.runJob("itemsAndTaskletJob");
AtomicReference<SpanData> itemStepSpan = new AtomicReference<>();
AtomicReference<SpanData> taskletStepSpan = new AtomicReference<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public CustomSpanEventTest(JobRunner runner) {
}

@Test
void should_be_able_to_call_Span_current___and_add_custom_info_to_spans() {
void shouldBeAbleToCallSpanCurrentAndAddCustomInfoToSpans() {
runner.runJob("customSpanEventsItemsJob");

testing.waitAndAssertTraces(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public ItemLevelSpanTest(JobRunner runner) {
}

@Test
void should_trace_item_read__process_and_write_calls() {
void shouldTraceItemReadProcessAndWriteCalls() {
runner.runJob("itemsAndTaskletJob");

testing.waitAndAssertTraces(
Expand Down Expand Up @@ -148,7 +148,7 @@ void should_trace_item_read__process_and_write_calls() {
}

@Test
void should_trace_all_item_operations_on_a_parallel_items_job() {
void shouldTraceAllItemOperationsOnAParallelItemsJob() {
runner.runJob("parallelItemsJob");

testing.waitAndAssertTraces(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public JsrConfigItemLevelSpanTest() {

@Test
@Override
public void should_trace_item_read__process_and_write_calls() {
public void shouldTraceItemReadProcessAndWriteCalls() {
runner.runJob("itemsAndTaskletJob");

testing.waitAndAssertTraces(
Expand Down Expand Up @@ -161,7 +161,7 @@ public void should_trace_item_read__process_and_write_calls() {
}

@Override
void should_trace_all_item_operations_on_a_parallel_items_job() {
void shouldTraceAllItemOperationsOnAParallelItemsJob() {
// does not work - not sure why
}
}

0 comments on commit 1ee063a

Please sign in to comment.