All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.junit.runners.JUnit4 Maven / Gradle / Ivy

Go to download

Everything needed to run a comprehensive dev environment. Just type X_ and pick a service from autocomplete; new dev modules will be added as they are built. The only dev service not included in the uber jar is xapi-dev-maven, as it includes all runtime dependencies of maven, adding ~4 seconds to build time, and 6 megabytes to the final output jar size (without xapi-dev-maven, it's ~1MB).

The newest version!
package org.junit.runners;

import org.junit.runners.model.InitializationError;

/**
 * Aliases the current default JUnit 4 class runner, for future-proofing. If
 * future versions of JUnit change the default Runner class, they will also
 * change the definition of this class. Developers wanting to explicitly tag a
 * class as a JUnit 4 class should use {@code @RunWith(JUnit4.class)}, not,
 * for example in JUnit 4.5, {@code @RunWith(BlockJUnit4ClassRunner.class)}.
 * This is the only way this class should be used--any extension that
 * depends on the implementation details of this class is likely to break
 * in future versions.
 *
 * @since 4.5
 */
public final class JUnit4 extends BlockJUnit4ClassRunner {
    /**
     * Constructs a new instance of the default runner
     */
    public JUnit4(Class klass) throws InitializationError {
        super(klass);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy