Package com.ibm.icu.dev.test.perf
Class PerfTest.TestPrefixProvider
java.lang.Object
com.ibm.icu.dev.test.perf.PerfTest.TestPrefixProvider
- All Implemented Interfaces:
PerfTest.TestCmdProvider
- Enclosing class:
PerfTest
Treat all method beginning with 'test' prefix (ignoring case) for given
object as the test methods.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTestCmd(String aname) booleanprivate StringisTestCmd_impl(String name) The given name will map to a method of the same name, or a method named "test" + name.
-
Field Details
-
theTests
-
orgNames
-
refer
-
-
Constructor Details
-
TestPrefixProvider
TestPrefixProvider(Object theProvider)
-
-
Method Details
-
getAllTestCmdNames
- Specified by:
getAllTestCmdNamesin interfacePerfTest.TestCmdProvider- Returns:
- The names for all available test.
-
isTestCmd_impl
The given name will map to a method of the same name, or a method named "test" + name. Case is ignored. -
isTestCmd
- Specified by:
isTestCmdin interfacePerfTest.TestCmdProvider- Parameters:
name-- Returns:
- Whether the given name is a test name. The implementation may have more sophisticated naming control here. TestCmdProvider.isTestCmd() != Set.contains()
-
getTestCmd
- Specified by:
getTestCmdin interfacePerfTest.TestCmdProvider- Parameters:
aname-- Returns:
- the test Command or null
-