/* * @(#)Test.java * * Project: JHotdraw - a GUI framework for technical drawings * http://www.jhotdraw.org * http://jhotdraw.sourceforge.net * Copyright: (c) by the original author(s) and all contributors * License: Lesser GNU Public License (LGPL) * http://www.opensource.org/licenses/lgpl-license.html */ package org.jhotdraw.test.standard; import org.jhotdraw.standard.BoxHandleKit; import junit.framework.TestCase; // JUnitDoclet begin import // JUnitDoclet end import /* * Generated by JUnitDoclet, a tool provided by * ObjectFab GmbH under LGPL. * Please see www.junitdoclet.org, www.gnu.org * and www.objectfab.de for informations about * the tool, the licence and the authors. */ // JUnitDoclet begin javadoc_class /** * TestCase BoxHandleKitTest is generated by * JUnitDoclet to hold the tests for BoxHandleKit. * @see org.jhotdraw.standard.BoxHandleKit */ // JUnitDoclet end javadoc_class public class BoxHandleKitTest // JUnitDoclet begin extends_implements extends TestCase // JUnitDoclet end extends_implements { // JUnitDoclet begin class // instance variables, helper methods, ... put them in this marker private BoxHandleKit boxhandlekit; // JUnitDoclet end class /** * Constructor BoxHandleKitTest is * basically calling the inherited constructor to * initiate the TestCase for use by the Framework. */ public BoxHandleKitTest(String name) { // JUnitDoclet begin method BoxHandleKitTest super(name); // JUnitDoclet end method BoxHandleKitTest } /** * Factory method for instances of the class to be tested. */ public BoxHandleKit createInstance() throws Exception { // JUnitDoclet begin method testcase.createInstance return new BoxHandleKit(); // JUnitDoclet end method testcase.createInstance } /** * Method setUp is overwriting the framework method to * prepare an instance of this TestCase for a single test. * It's called from the JUnit framework only. */ protected void setUp() throws Exception { // JUnitDoclet begin method testcase.setUp super.setUp(); boxhandlekit = createInstance(); // JUnitDoclet end method testcase.setUp } /** * Method tearDown is overwriting the framework method to * clean up after each single test of this TestCase. * It's called from the JUnit framework only. */ protected void tearDown() throws Exception { // JUnitDoclet begin method testcase.tearDown boxhandlekit = null; super.tearDown(); // JUnitDoclet end method testcase.tearDown } // JUnitDoclet begin javadoc_method addCornerHandles() /** * Method testAddCornerHandles is testing addCornerHandles * @see org.jhotdraw.standard.BoxHandleKit#addCornerHandles(org.jhotdraw.framework.Figure, java.util.List) */ // JUnitDoclet end javadoc_method addCornerHandles() public void testAddCornerHandles() throws Exception { // JUnitDoclet begin method addCornerHandles // JUnitDoclet end method addCornerHandles } // JUnitDoclet begin javadoc_method addHandles() /** * Method testAddHandles is testing addHandles * @see org.jhotdraw.standard.BoxHandleKit#addHandles(org.jhotdraw.framework.Figure, java.util.List) */ // JUnitDoclet end javadoc_method addHandles() public void testAddHandles() throws Exception { // JUnitDoclet begin method addHandles // JUnitDoclet end method addHandles } // JUnitDoclet begin javadoc_method south() /** * Method testSouth is testing south * @see org.jhotdraw.standard.BoxHandleKit#south(org.jhotdraw.framework.Figure) */ // JUnitDoclet end javadoc_method south() public void testSouth() throws Exception { // JUnitDoclet begin method south // JUnitDoclet end method south } // JUnitDoclet begin javadoc_method southEast() /** * Method testSouthEast is testing southEast * @see org.jhotdraw.standard.BoxHandleKit#southEast(org.jhotdraw.framework.Figure) */ // JUnitDoclet end javadoc_method southEast() public void testSouthEast() throws Exception { // JUnitDoclet begin method southEast // JUnitDoclet end method southEast } // JUnitDoclet begin javadoc_method southWest() /** * Method testSouthWest is testing southWest * @see org.jhotdraw.standard.BoxHandleKit#southWest(org.jhotdraw.framework.Figure) */ // JUnitDoclet end javadoc_method southWest() public void testSouthWest() throws Exception { // JUnitDoclet begin method southWest // JUnitDoclet end method southWest } // JUnitDoclet begin javadoc_method north() /** * Method testNorth is testing north * @see org.jhotdraw.standard.BoxHandleKit#north(org.jhotdraw.framework.Figure) */ // JUnitDoclet end javadoc_method north() public void testNorth() throws Exception { // JUnitDoclet begin method north // JUnitDoclet end method north } // JUnitDoclet begin javadoc_method northEast() /** * Method testNorthEast is testing northEast * @see org.jhotdraw.standard.BoxHandleKit#northEast(org.jhotdraw.framework.Figure) */ // JUnitDoclet end javadoc_method northEast() public void testNorthEast() throws Exception { // JUnitDoclet begin method northEast // JUnitDoclet end method northEast } // JUnitDoclet begin javadoc_method northWest() /** * Method testNorthWest is testing northWest * @see org.jhotdraw.standard.BoxHandleKit#northWest(org.jhotdraw.framework.Figure) */ // JUnitDoclet end javadoc_method northWest() public void testNorthWest() throws Exception { // JUnitDoclet begin method northWest // JUnitDoclet end method northWest } // JUnitDoclet begin javadoc_method east() /** * Method testEast is testing east * @see org.jhotdraw.standard.BoxHandleKit#east(org.jhotdraw.framework.Figure) */ // JUnitDoclet end javadoc_method east() public void testEast() throws Exception { // JUnitDoclet begin method east // JUnitDoclet end method east } // JUnitDoclet begin javadoc_method west() /** * Method testWest is testing west * @see org.jhotdraw.standard.BoxHandleKit#west(org.jhotdraw.framework.Figure) */ // JUnitDoclet end javadoc_method west() public void testWest() throws Exception { // JUnitDoclet begin method west // JUnitDoclet end method west } // JUnitDoclet begin javadoc_method testVault /** * JUnitDoclet moves marker to this method, if there is not match * for them in the regenerated code and if the marker is not empty. * This way, no test gets lost when regenerating after renaming. * <b>Method testVault is supposed to be empty.</b> */ // JUnitDoclet end javadoc_method testVault public void testVault() throws Exception { // JUnitDoclet begin method testcase.testVault // JUnitDoclet end method testcase.testVault } }