-
Classes Class Description junit.framework.Assert Please useAssert
instead.org.junit.internal.matchers.TypeSafeMatcher Please useTypeSafeMatcher
.org.junit.internal.runners.ClassRoadie Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please useBlockJUnit4ClassRunner
in place ofJUnit4ClassRunner
.org.junit.internal.runners.JUnit4ClassRunner Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please useBlockJUnit4ClassRunner
in place ofJUnit4ClassRunner
.org.junit.internal.runners.MethodRoadie Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please useBlockJUnit4ClassRunner
in place ofJUnit4ClassRunner
.org.junit.internal.runners.MethodValidator Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please useBlockJUnit4ClassRunner
in place ofJUnit4ClassRunner
.org.junit.internal.runners.TestClass Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please useBlockJUnit4ClassRunner
in place ofJUnit4ClassRunner
.org.junit.internal.runners.TestMethod Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please useBlockJUnit4ClassRunner
in place ofJUnit4ClassRunner
.org.junit.rules.TestWatchman UseTestWatcher
(which implementsTestRule
) instead.
-
Exceptions Exceptions Description org.junit.internal.runners.FailedBefore Included for backwards compatibility with JUnit 4.4. Will be removed in the next major release. Please useBlockJUnit4ClassRunner
in place ofJUnit4ClassRunner
.org.junit.internal.runners.InitializationError org.junit.internal.runners.model.MultipleFailureException
-
Constructors Constructor Description org.junit.internal.AssumptionViolatedException(String, boolean, Object, Matcher<?>) Please useAssumptionViolatedException
instead.org.junit.internal.runners.statements.FailOnTimeout(Statement, long) useFailOnTimeout.builder()
instead.org.junit.rules.Timeout(int)