Skip to content

Spring batch tests to java - basic #12076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/

package io.opentelemetry.javaagent.instrumentation.spring.batch.v3_0.basic;

import io.opentelemetry.javaagent.instrumentation.spring.batch.v3_0.runner.ApplicationConfigRunner;
import io.opentelemetry.javaagent.instrumentation.spring.batch.v3_0.runner.SpringBatchApplication;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

class JavaConfigBatchJobTest extends SpringBatchTest {

@RegisterExtension
static final ApplicationConfigRunner runner =
new ApplicationConfigRunner(
() -> new AnnotationConfigApplicationContext(SpringBatchApplication.class));

public JavaConfigBatchJobTest() {
super(runner);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/

package io.opentelemetry.javaagent.instrumentation.spring.batch.v3_0.basic;

import io.opentelemetry.javaagent.instrumentation.spring.batch.v3_0.runner.JavaxBatchConfigRunner;
import org.junit.jupiter.api.extension.RegisterExtension;

class JsrConfigBatchJobTest extends SpringBatchTest {
@Override
protected boolean hasPartitionManagerStep() {
return false;
}

@RegisterExtension static final JavaxBatchConfigRunner runner = new JavaxBatchConfigRunner();

public JsrConfigBatchJobTest() {
super(runner);
}
}
Loading
Loading