Deprecated List (JUnit API)

Junit


Deprecated API


目录
Deprecated Methods
org.junit.Assert.assertEquals(double, double)           Use assertEquals(double expected, double actual, double epsilon) 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 epsilon) instead 
org.junit.Assert.assertEquals(String, Object[], Object[])
          use assertArrayEquals 
org.junit.runner.Request.errorReport(Class, Throwable)
           
org.junit.runners.BlockJUnit4ClassRunner.possiblyExpectingExceptions(FrameworkMethod, Object, Statement)
          Will be private soon: use Rules instead 
org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(List)
          unused API, will go away in future version 
org.junit.runners.BlockJUnit4ClassRunner.withAfters(FrameworkMethod, Object, Statement)
          Will be private soon: use Rules instead 
org.junit.runners.BlockJUnit4ClassRunner.withBefores(FrameworkMethod, Object, Statement)
          Will be private soon: use Rules instead 
org.junit.runners.BlockJUnit4ClassRunner.withPotentialTimeout(FrameworkMethod, Object, Statement)
          Will be private soon: use Rules instead