Package performanceTests
Class GraphicsDotTest
java.lang.Object
performanceTests.GraphicsDotTest
- All Implemented Interfaces:
PerformanceTest
- Direct Known Subclasses:
GraphicsDotTest2,GraphicsDotTestBuffered
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected PerformanceWindowprotected String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
resultString
-
dotSize
protected int dotSize -
nDots
protected int nDots -
performanceWindow
-
-
Constructor Details
-
GraphicsDotTest
public GraphicsDotTest()
-
-
Method Details
-
getName
- Specified by:
getNamein interfacePerformanceTest- Returns:
- The name of the test
-
getResultString
- Specified by:
getResultStringin interfacePerformanceTest- Returns:
- a text based results string to display.
-
runTest
public boolean runTest()Description copied from interface:PerformanceTestRun the test- Specified by:
runTestin interfacePerformanceTest- Returns:
- true if executed successfully
-
drawDots
-
cleanup
public void cleanup()Description copied from interface:PerformanceTestCalled when dialog closes to give the test an opportunity to free andy remaining resources (close graphics windows, etc.);- Specified by:
cleanupin interfacePerformanceTest
-