| java.lang.Object org.kuali.test.suite.JiraRelatedSuite
All known Subclasses: org.kuali.test.suite.OpenOrInProgressSuite, org.kuali.test.suite.OpenOrInProgressOrReopenedSuite, org.kuali.test.suite.InProgressSuite,
JiraRelatedSuite | abstract public class JiraRelatedSuite (Code) | | The abstract superclass of suites of all test classes or methods which
RelatesTo a Kuali JIRA issue that is currently in
a certain state (e.g., in-progress). IDEs or Ant can run the concrete subclasses as JUnit tests.
See Also: org.kuali.test.suite.RelatesTo |
Inner Class :public static enum State | |
getMatchingIssues | public static Set<RelatesTo.JiraIssue> getMatchingIssues(Collection<RelatesTo.JiraIssue> from, State state)(Code) | | Filters the JIRA issues which are currently in the given state. The JIRA status is queried once when needed and cached
statically for speed.
Parameters: from - JIRA issues from which to filter Parameters: state - JIRA state to filter on any of the given issues that are currently in the given state in JIRA throws: RuntimeException - if the JIRA server cannot be queried for this list, or its response cannot be understood. After thisexception is thrown once, it's always thrown immediately thereafter, to fast-fail KualiTestBase. |
getNegativeSuite | protected TestSuite getNegativeSuite(State state) throws Exception(Code) | | Builds the suite of all test methods (including those within test class sub-suites) which do not
RelatesTo a JIRA
issue in the given state. This method is for subclasses; it cannot be run by JUnit directly.
Parameters: state - the current state to exclude the negative suite throws: java.io.IOException - if the directory containing this class file cannot be scanned for other test class files throws: RuntimeException - if the JIRA server cannot be queried for this list, or its response cannot be understood. After thisexception is thrown once, it's always thrown immediately thereafter, to fast-fail KualiTestBase. throws: Exception - is not actually thrown, because the criteria inner class does not throw it |
getSuite | protected TestSuite getSuite(State state) throws Exception(Code) | | Builds the suite of all test methods (including those within test class sub-suites) which
RelatesTo a JIRA issue in
the given state. This method is for subclasses; it cannot be run by JUnit directly.
Parameters: state - the current state to include the positive suite throws: java.io.IOException - if the directory containing this class file cannot be scanned for other test class files throws: RuntimeException - if the JIRA server cannot be queried for this list, or its response cannot be understood. After thisexception is thrown once, it's always thrown immediately thereafter, to fast-fail KualiTestBase. throws: Exception - is not actually thrown, because the criteria inner classes do not throw it |
|
|