com.nordstrom.automation.junit.CreateTestClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit-foundation Show documentation
Show all versions of junit-foundation Show documentation
This is the foundation framework for JUnit automation
package com.nordstrom.automation.junit;
import static com.nordstrom.automation.junit.LifecycleHooks.getFieldValue;
import static com.nordstrom.automation.junit.LifecycleHooks.setFieldValue;
import java.util.Map;
import java.util.ServiceLoader;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicBoolean;
import org.junit.runners.model.RunnerScheduler;
import org.junit.runners.model.TestClass;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.bytebuddy.implementation.bind.annotation.SuperCall;
import net.bytebuddy.implementation.bind.annotation.This;
/**
* This class declares the interceptor for the {@link org.junit.runners.ParentRunner#createTestClass
* createTestClass} method.
*/
@SuppressWarnings("squid:S1118")
public class CreateTestClass {
private static final ServiceLoader classWatcherLoader;
private static final Logger LOGGER = LoggerFactory.getLogger(CreateTestClass.class);
private static final Map TESTCLASS_TO_RUNNER = new ConcurrentHashMap<>();
private static final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy