hudson.model.Messages.Run_Summary_Unstable()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(157)

本文整理了Java中hudson.model.Messages.Run_Summary_Unstable()方法的一些代码示例,展示了Messages.Run_Summary_Unstable()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Messages.Run_Summary_Unstable()方法的具体详情如下:
包路径:hudson.model.Messages
类名称:Messages
方法名:Run_Summary_Unstable

Messages.Run_Summary_Unstable介绍

[英]unstable
[中]不稳定的

代码示例

代码示例来源:origin: jenkinsci/jenkins

return new Summary(false, Messages.Run_Summary_Unstable());
case UNSTABLE :
  return new Summary(true, Messages.Run_Summary_Unstable());

代码示例来源:origin: jenkinsci/junit-plugin

@Test
public void testBuildGotNoTests() {
  // previous build has no tests at all
  mockBuilds(AbstractBuild.class);
  when(this.build.getResult()).thenReturn(Result.UNSTABLE);
  when(this.prevBuild.getResult()).thenReturn(Result.UNSTABLE);
  // Null test result action recorded
  when(((AbstractBuild) this.build).getAction(AbstractTestResultAction.class)).thenReturn(null);
  Summary summary = this.build.getBuildStatusSummary();
  assertFalse(summary.isWorse);
  assertEquals(hudson.model.Messages.Run_Summary_Unstable(), summary.message);
  // same thing should happen if previous build has tests, but no failing ones:
  buildHasTestResult((AbstractBuild) this.prevBuild, 0);
  summary = this.build.getBuildStatusSummary();
  assertFalse(summary.isWorse);
  assertEquals(hudson.model.Messages.Run_Summary_Unstable(), summary.message);
}

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

return new Summary(false, Messages.Run_Summary_Unstable());
case UNSTABLE :
  return new Summary(true, Messages.Run_Summary_Unstable());

代码示例来源:origin: org.jvnet.hudson.main/hudson-core

return new Summary(false, Messages.Run_Summary_TestFailures(trN.getFailCount()));
else // ???
  return new Summary(false, Messages.Run_Summary_Unstable());

代码示例来源:origin: org.eclipse.hudson.main/hudson-core

return new Summary(false, Messages.Run_Summary_TestFailures(trN.getFailCount()));
else // ???
  return new Summary(false, Messages.Run_Summary_Unstable());

代码示例来源:origin: hudson/hudson-2.x

return new Summary(false, Messages.Run_Summary_TestFailures(trN.getFailCount()));
else // ???
  return new Summary(false, Messages.Run_Summary_Unstable());

代码示例来源:origin: org.eclipse.hudson/hudson-core

} else // ???
  return new Summary(false, Messages.Run_Summary_Unstable());

代码示例来源:origin: org.eclipse.hudson/hudson-core

} else // ???
  return new Run.Summary(false, Messages.Run_Summary_Unstable());

相关文章

Messages类方法