Deprecated API


Contents
Deprecated Interfaces
org.junit.rules.MethodRule
           
 

Deprecated Classes
org.junit.rules.TestWatchman
          MethodRule is deprecated. Use TestWatcher implements TestRule instead. 
 

Deprecated Methods
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.runner.Request.errorReport(Class, Throwable)
           
org.junit.experimental.max.MaxCore.forFolder(String)
          use storedLocally() 
org.junit.runners.BlockJUnit4ClassRunner.possiblyExpectingExceptions(FrameworkMethod, Object, Statement)
          Will be private soon: use Rules instead 
org.junit.runners.BlockJUnit4ClassRunner.rules(Object)
          MethodRule is a deprecated interface. Port to TestRule and BlockJUnit4ClassRunner.getTestRules(Object) 
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