1package org.junit.runners;
2
3import org.junit.runners.model.InitializationError;
4
5/**
6 * Aliases the current default JUnit 4 class runner, for future-proofing. If
7 * future versions of JUnit change the default Runner class, they will also
8 * change the definition of this class. Developers wanting to explicitly tag a
9 * class as a JUnit 4 class should use {@code @RunWith(JUnit4.class)}, not,
10 * for example in JUnit 4.5, {@code @RunWith(BlockJUnit4ClassRunner.class)}.
11 * This is the only way this class should be used--any extension that
12 * depends on the implementation details of this class is likely to break
13 * in future versions.
14 */
15public final class JUnit4 extends BlockJUnit4ClassRunner {
16	/**
17	 * Constructs a new instance of the default runner
18	 */
19	public JUnit4(Class<?> klass) throws InitializationError {
20		super(klass);
21	}
22}
23