|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.util.jester.TestSuite
diva.canvas.test.JCanvasTest
public class JCanvasTest
A test suite for JCanvas. This is fairly basic, and is really just a few simple confidence tests.
| Nested Class Summary | |
|---|---|
static class |
JCanvasTest.CanvasFactory
The canvas factory provides methods for default creation of canvas objects. |
static class |
JCanvasTest.FramedCanvas
FramedCanvas is a test case that accepts a JCanvas and places it into a pane. |
| Field Summary | |
|---|---|
private JCanvasTest.CanvasFactory |
factory
The unit factory |
| Constructor Summary | |
|---|---|
JCanvasTest(TestHarness harness,
JCanvasTest.CanvasFactory factory)
Constructor |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.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 |
| Methods inherited from class diva.util.jester.TestSuite |
|---|
getFactory, getTestHarness, run, runAll, runTestCase, setFactory, setTestHarness |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private JCanvasTest.CanvasFactory factory
| Constructor Detail |
|---|
public JCanvasTest(TestHarness harness,
JCanvasTest.CanvasFactory factory)
| Method Detail |
|---|
public void runSuite()
runSuite in class TestSuitepublic void testConstructor1()
public void testConstructor2()
public static void main(java.lang.String[] argv)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||