jetbrains.buildServer.tests.TestInfo Java Examples
The following examples show how to use
jetbrains.buildServer.tests.TestInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SlackNotificationPayloadContent.java From tcSlackBuildNotifier with MIT License | 6 votes |
private void populateResults(SRunningBuild sRunningBuild) { List<BuildProblemData> failureReasons = sRunningBuild.getFailureReasons(); if(failureReasons == null){ return; } HashSet<String> failureTestNames = new HashSet<String>(); HashSet<String> failureMessages = new HashSet<String>(); for(BuildProblemData reason : failureReasons){ if(reason.getType() == BuildProblemData.TC_FAILED_TESTS_TYPE){ List<TestInfo> failedTestMessages = sRunningBuild.getTestMessages(0, 2000); if(!failedTestMessages.isEmpty()) { for (TestInfo failedTest : failedTestMessages) { failureTestNames.add(failedTest.getName()); } } else { failureMessages.add(reason.getDescription()); } } else { failureMessages.add(reason.getDescription()); } } failedBuildMessages = new ArrayList<String>(failureMessages); failedTestNames = new ArrayList<String>(failureTestNames); }
Example #2
Source File: MockSRunningBuild.java From tcSlackBuildNotifier with MIT License | 4 votes |
public List<TestInfo> getTestMessages(int arg0) { // TODO Auto-generated method stub return null; }
Example #3
Source File: MockSRunningBuild.java From tcSlackBuildNotifier with MIT License | 4 votes |
public List<TestInfo> getTestMessages(int arg0, int arg1) { // TODO Auto-generated method stub return null; }
Example #4
Source File: ReportsMain.java From appengine-tck with Apache License 2.0 | 4 votes |
@Override public List<TestInfo> getTestMessages(int i, int i2) { return null; }