public class JiraAwareFailureUtil extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
JIRA_BROWSE_URL
https://jira.kuali.org/browse/ 
 | 
static String | 
KULRICE_8823_FIX_BROKEN_SMOKE_TESTS_IN_CI
KULRICE-8823 Fix broken smoke tests in CI 
 | 
| Constructor and Description | 
|---|
JiraAwareFailureUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
failOnMatchedJira(String contents,
                                  Failable failable)
If the contents contents the jiraMatches key, call fail on failable passing in the jiraMatches value for the matched key. 
 | 
static void | 
failOnMatchedJira(String contents,
                                  String message,
                                  Failable failable)
Calls failOnMatchedJira with the contents and if no match is detected then the message. 
 | 
public static final String KULRICE_8823_FIX_BROKEN_SMOKE_TESTS_IN_CI
public static final String JIRA_BROWSE_URL
public JiraAwareFailureUtil()
public static void failOnMatchedJira(String contents, Failable failable)
contents - to check for containing of the jiraMatches keys.failable - to fail with the jiraMatches value if the jiraMatches key is contained in the contentspublic static void failOnMatchedJira(String contents, String message, Failable failable)
contents - to check for containing of the jiraMatches keys.message - to check for containing of the jiraMatches keys if contents doesn'tfailable - to fail with the jiraMatches value if the contents or message is detectedCopyright © 2005–2015 The Kuali Foundation. All rights reserved.