* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.odlparent.featuretest;
+@Deprecated(since = "13.1.0", forRemoval = true)
public final class Constants {
-
- private Constants() {
- // Noop constructor
- }
-
/*
* Named of System Properties we need to set in PerFeatureRunner and read in SingleFeatureTest
*/
"org.opendaylight.featuretest.featurename";
public static final String ORG_OPENDAYLIGHT_FEATURETEST_FEATUREVERSION_PROP =
"org.opendaylight.featuretest.featureversion";
+
+ private Constants() {
+ // Noop constructor
+ }
}
* Utility class responsible for maven dependencies processing. Functionality relays on dependencies list populated
* by {@code maven-dependency-plugin} on execution prior to SFT's {@code test} phase.
*/
+@Deprecated(since = "13.1.0", forRemoval = true)
final class DependencyUtil {
-
private static final Logger LOG = LoggerFactory.getLogger(DependencyUtil.class);
private static final String TEST_DEPENDENCIES_LIST_PROP = "featureTest.dependencies.list";
private static final String FEATURES = "features";
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+@Deprecated(since = "13.1.0", forRemoval = true)
final class KarafConstants {
private static final Logger LOG = LoggerFactory.getLogger(KarafConstants.class);
import org.junit.runner.notification.RunListener;
import org.junit.runner.notification.RunNotifier;
+@Deprecated(since = "13.1.0", forRemoval = true)
public class PerFeatureRunNotifier extends RunNotifier {
-
private final RunNotifier delegate;
private final URL repoUrl;
private final String featureName;
* @param featureVersion The feature version.
* @param delegate The notification delegate.
*/
- public PerFeatureRunNotifier(
- final URL repoUrl, final String featureName, final String featureVersion, final RunNotifier delegate) {
+ public PerFeatureRunNotifier(final URL repoUrl, final String featureName, final String featureVersion,
+ final RunNotifier delegate) {
this.repoUrl = Objects.requireNonNull(repoUrl);
this.featureName = Objects.requireNonNull(featureName);
this.featureVersion = Objects.requireNonNull(featureVersion);
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.odlparent.featuretest;
import static org.opendaylight.odlparent.featuretest.Constants.ORG_OPENDAYLIGHT_FEATURETEST_FEATURENAME_PROP;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+@Deprecated(since = "13.1.0", forRemoval = true)
public class PerFeatureRunner extends Runner implements Filterable, Sortable {
-
private static final Logger LOG = LoggerFactory.getLogger(PerFeatureRunner.class);
private final String featureVersion;
System.setProperty(ORG_OPENDAYLIGHT_FEATURETEST_URI_PROP, repoUrl.toString());
System.setProperty(ORG_OPENDAYLIGHT_FEATURETEST_FEATURENAME_PROP, featureName);
System.setProperty(ORG_OPENDAYLIGHT_FEATURETEST_FEATUREVERSION_PROP, featureVersion);
- this.delegate = new PaxExam(Objects.requireNonNull(testClass));
+ delegate = new PaxExam(Objects.requireNonNull(testClass));
}
@Override
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.odlparent.featuretest;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+@Deprecated(since = "13.1.0", forRemoval = true)
public class PerRepoTestRunner extends ParentRunner<PerFeatureRunner> {
-
private static final Logger LOG = LoggerFactory.getLogger(PerRepoTestRunner.class);
private static final String REPO_RECURSE = "repo.recurse";
*
* @author Michael Vorburger.ch
*/
+@Deprecated(since = "13.1.0", forRemoval = true)
public final class ReflectionUtil {
-
private ReflectionUtil() {
-
+ // Hidden on purpose
}
public static void addAllClassesInSameAndSubPackageOfClass(TestProbeBuilder probe, Class<?> clazz) {
import org.slf4j.LoggerFactory;
@RunWith(PerRepoTestRunner.class)
+@Deprecated(since = "13.1.0", forRemoval = true)
public class SingleFeatureTest {
private static final String MAVEN_REPO_LOCAL = "maven.repo.local";
import java.util.Collection;
import org.junit.runner.Description;
+@Deprecated(since = "13.1.0", forRemoval = true)
public final class Util {
private Util() {
-
+ // Hidden on purpose
}
/**
import org.ops4j.pax.exam.karaf.options.KarafFeaturesOption;
import org.ops4j.pax.exam.options.OptionalCompositeOption;
+@Deprecated(since = "13.1.0", forRemoval = true)
class DependencyUtilTest {
@TempDir
import org.junit.Test;
+@Deprecated(since = "13.1.0", forRemoval = true)
public class KarafConstantsTest {
@Test
public void testKarafVersions() {
*
* @author Michael Vorburger.ch
*/
+@Deprecated(since = "13.1.0", forRemoval = true)
public class ReflectionUtilTest {
@Test
public void testGetClasses() {