test-ng/tests/org/openjdk/tests/java/util/functions/DoubleUnaryOperatorTest.java

Print this page
rev 5834 : Rename compareAndSet methods, add updateAndGet/getAndUpdate to AtomicReference, add tests
Reviewed-by: briangoetz,smarks,mduigo
Contributed-by: Jim Gish <jim.gish@oracle.com>

@@ -39,30 +39,10 @@
 public class DoubleUnaryOperatorTest {
     
     public DoubleUnaryOperatorTest() {
     }
     
-    @BeforeClass
-    public void setUpClass() {
-    }
-    
-    @AfterClass
-    public void tearDownClass() {
-    }
-    
-    @BeforeMethod
-    public void setUp() {
-    }
-    
-    @AfterMethod
-    public void tearDown() {
-    }
-
-    /**
-     * Test of operate method, of class DoubleUnaryOperator.
-     */
-    @Test
     public void testOperate() {
         double operand = 2D;
         DoubleUnaryOperator instance = new DoubleUnaryOperatorImpl();
         double expResult = 10D;
         double result = instance.operate(operand);