uk.org.skeet.jbench
Class PropertyBasedSuite
java.lang.Object
|
+--uk.org.skeet.jbench.BenchSuite
|
+--uk.org.skeet.jbench.PropertyBasedSuite
- public class PropertyBasedSuite
- extends BenchSuite
A BenchSuite loaded from a properties file.
Method Summary |
void |
configure(java.io.File file,
boolean subsuite)
|
void |
configure(java.util.Properties props)
Configures a suite from a set of properties. |
void |
configure(java.util.Properties props,
boolean subsuite)
|
void |
configure(java.lang.String filename)
|
java.util.List |
getPackages()
|
Methods inherited from class uk.org.skeet.jbench.BenchSuite |
addSuite, addSystemInformation, addTask, getAllTasks, getEventListener, getExcludeBest, getExcludeWorst, getRunsPerTask, getSuiteList, getSystemInformation, getTaskList, getTimer, isFailFast, resetSuiteList, resetSystemInformation, resetTaskList, runTests, setEventListener, setExcludeBest, setExcludeWorst, setFailFast, setRunsPerTask, setTimer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyBasedSuite
public PropertyBasedSuite()
configure
public void configure(java.lang.String filename)
throws ConfigurationException
configure
public void configure(java.io.File file,
boolean subsuite)
throws ConfigurationException
configure
public void configure(java.util.Properties props)
throws ConfigurationException
- Configures a suite from a set of properties. Any exceptions
are passed back and reported to the appropriate event listener,
unless they occur before an event listener is configured, in which
case they are reported to System.err.
configure
public void configure(java.util.Properties props,
boolean subsuite)
throws ConfigurationException
getPackages
public java.util.List getPackages()