public class JCanvasTest extends TestSuite
Modifier and Type | Class and Description |
---|---|
static class |
JCanvasTest.CanvasFactory
The canvas factory provides methods for default creation
of canvas objects.
|
class |
JCanvasTest.FramedCanvas
FramedCanvas is a test case that accepts a JCanvas and places
it into a pane.
|
Constructor and Description |
---|
JCanvasTest(TestHarness harness,
JCanvasTest.CanvasFactory factory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] argv)
Create a default test harness and a canvas factory and
run all tests on it.
|
void |
runSuite()
runSuite()
|
void |
testConstructor1()
Test the nullary constructor
|
void |
testConstructor2()
Test the constructor that takes a pane
|
getFactory, getTestHarness, run, runAll, runTestCase, setFactory, setTestHarness
public JCanvasTest(TestHarness harness, JCanvasTest.CanvasFactory factory)
public void testConstructor1()
public void testConstructor2()
public static void main(String[] argv)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.