org.junit.Assert.assertEquals(double, double)
Use
assertEquals(double expected, double actual, double delta)
instead
|
org.junit.Assert.assertEquals(Object[], Object[])
use assertArrayEquals
|
org.junit.Assert.assertEquals(String, double, double)
Use
assertEquals(String message, double expected, double actual, double delta)
instead
|
org.junit.Assert.assertEquals(String, Object[], Object[])
use assertArrayEquals
|
org.junit.matchers.JUnitMatchers.both(Matcher super T>)
|
org.junit.matchers.JUnitMatchers.containsString(String)
|
org.junit.matchers.JUnitMatchers.either(Matcher super T>)
|
org.junit.matchers.JUnitMatchers.everyItem(Matcher)
|
org.junit.experimental.max.MaxCore.forFolder(String)
use storedLocally()
|
org.junit.rules.ExpectedException.handleAssertionErrors()
AssertionErrors are handled by default since JUnit 4.12. Just
like in JUnit <= 4.10.
|
org.junit.rules.ExpectedException.handleAssumptionViolatedExceptions()
AssumptionViolatedExceptions are handled by default since
JUnit 4.12. Just like in JUnit <= 4.10.
|
org.junit.matchers.JUnitMatchers.hasItem(Matcher super T>)
|
org.junit.matchers.JUnitMatchers.hasItem(T)
|
org.junit.matchers.JUnitMatchers.hasItems(Matcher super T>...)
|
org.junit.matchers.JUnitMatchers.hasItems(T...)
|
org.junit.runners.model.FrameworkMethod.producesType(Type)
This is used only by the Theories runner, and does not
use all the generic type info that it ought to. It will be replaced
with a forthcoming ParameterSignature#canAcceptResultOf(FrameworkMethod)
once Theories moves to junit-contrib.
|
org.junit.rules.TestWatcher.skipped(AssumptionViolatedException, Description)
|
org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(List) |
org.junit.runners.BlockJUnit4ClassRunner.withPotentialTimeout(FrameworkMethod, Object, Statement) |