public class FuncTestSuite extends Object
Constructor and Description |
---|
FuncTestSuite() |
Modifier and Type | Method and Description |
---|---|
FuncTestSuite |
addBundledPluginsTest(Class<?> testClass)
This will add the test class into the suite as a bundled plugins 2.0 test only.
|
FuncTestSuite |
addBundledPluginsTests(List<Class<?>> testClasses) |
FuncTestSuite |
addTest(Class<?> testClass)
This will add the test class into the suite.
|
FuncTestSuite |
addTests(Collection<Class<?>> testClasses)
This will add a collection of test classes into the suite as a STANDARD, PROFESSIONAL and ENTERPRISE tests.
|
protected TestSuiteBuilder |
createFuncTestBuilder() |
junit.framework.TestSuite |
createTest()
This gets the test suite based on the func test settings that you currently have.
|
junit.framework.TestSuite |
createTest(JIRAEnvironmentData environment)
This gets the suite of tests based on the passed environment.
|
Set<Class<?>> |
getBundledPlugins2Tests() |
Set<Class<?>> |
getFuncTests() |
static List<Class<?>> |
getTestClasses(String packageName,
boolean recursive)
Returns all test classes in a package, excluding any that are marked with @Ignore.
|
Set<Class<?>> |
getTests(JIRAEnvironmentData environmentData)
Returns a set of test classes that are deemed as test that should run on based on the JIRA edition inside the
JIRAEnvironmentData object.
|
Set<Class<?>> |
getTpmLdapTests() |
public junit.framework.TestSuite createTest()
public junit.framework.TestSuite createTest(JIRAEnvironmentData environment)
environment
- the environment to used to select the tests.public Set<Class<?>> getTests(JIRAEnvironmentData environmentData)
environmentData
- the edition to use is in hereprotected TestSuiteBuilder createFuncTestBuilder()
public Set<Class<?>> getFuncTests()
public Set<Class<?>> getBundledPlugins2Tests()
public FuncTestSuite addBundledPluginsTests(List<Class<?>> testClasses)
public FuncTestSuite addBundledPluginsTest(Class<?> testClass)
testClass
- the test case class to addpublic FuncTestSuite addTest(Class<?> testClass)
testClass
- the test case class to addpublic FuncTestSuite addTests(Collection<Class<?>> testClasses)
testClasses
- a collection of test case classespublic static List<Class<?>> getTestClasses(String packageName, boolean recursive)
packageName
- a String containing a package namerecursive
- a boolean indicating whether to search recursivelyCopyright © 2002-2015 Atlassian. All Rights Reserved.