performanceTests
Class SystemInfo
java.lang.Object
performanceTests.SystemInfo
- All Implemented Interfaces:
- PerformanceTest
public class SystemInfo
- extends java.lang.Object
- implements PerformanceTest
Doesn't actually do anything, but does collate some system information
- Author:
- Doug Gillespie
|
Method Summary |
private void |
appendProperty(java.lang.String key)
|
private void |
appendString(java.lang.String str)
|
void |
cleanup()
Called when dialog closes to give the test an opportunity to free
andy remaining resources (close graphics windows, etc.); |
java.lang.String |
getName()
|
java.lang.String |
getResultString()
|
boolean |
runTest()
Run the test |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultString
private java.lang.String resultString
SystemInfo
public SystemInfo()
getName
public java.lang.String getName()
- Specified by:
getName in interface PerformanceTest
- Returns:
- The name of the test
getResultString
public java.lang.String getResultString()
- Specified by:
getResultString in interface PerformanceTest
- Returns:
- a text based results string to display.
cleanup
public void cleanup()
- Description copied from interface:
PerformanceTest
- Called when dialog closes to give the test an opportunity to free
andy remaining resources (close graphics windows, etc.);
- Specified by:
cleanup in interface PerformanceTest
runTest
public boolean runTest()
- Description copied from interface:
PerformanceTest
- Run the test
- Specified by:
runTest in interface PerformanceTest
- Returns:
- true if executed successfully
appendProperty
private void appendProperty(java.lang.String key)
appendString
private void appendString(java.lang.String str)