Class JCanvasTest


  • public class JCanvasTest
    extends TestSuite
    A test suite for JCanvas. This is fairly basic, and is really just a few simple confidence tests.
    Version:
    $Id$
    Author:
    John Reekie
    • Method Detail

      • runSuite

        public void runSuite()
        runSuite()
        Specified by:
        runSuite in class TestSuite
      • testConstructor1

        public void testConstructor1()
        Test the nullary constructor
      • testConstructor2

        public void testConstructor2()
        Test the constructor that takes a pane
      • main

        public static void main​(java.lang.String[] argv)
        Create a default test harness and a canvas factory and run all tests on it.