001 package tests; 002 003 import junit.framework.TestCase; 004 import sysModel.env.WrappingEnv; 005 006 /** 007 * Test cases for WrappingEnv. Only necessary for DrJava. 008 * 009 * @author Mathias Ricken 010 */ 011 public class DrJava_Test_WrappingEnv extends TestCase { 012 WrappingEnv.Test_WrappingEnv _test; 013 014 public void setUp() throws Exception { 015 super.setUp(); 016 _test = new WrappingEnv.Test_WrappingEnv(); 017 _test.setUp(); 018 } 019 020 /** 021 * Test addFishToInternalData. 022 */ 023 public void testAddFish() { 024 _test.testAddFish(); 025 } 026 027 /** 028 * Test editFish. 029 */ 030 public void testEditFish() { 031 _test.testEditFish(); 032 } 033 034 /** 035 * Test getViewPosition. 036 */ 037 public void testGetViewPosition() { 038 _test.testGetViewPosition(); 039 } 040 041 /** 042 * Test getPanDelta. 043 */ 044 public void testGetPanDelta() { 045 _test.testGetPanDelta(); 046 } 047 }