We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4438713 commit a0bb0feCopy full SHA for a0bb0fe
src/test/java/hudson/plugins/performance/PerformanceReportMapTest.java
@@ -57,6 +57,15 @@ void testGetters() throws Exception {
57
assertEquals("Performance", reportMap.getDisplayName());
58
assertEquals("performance", reportMap.getUrlName());
59
}
60
+
61
+ @Test
62
+ void testNoPerformancePublisher() throws Exception {
63
+ when(build.getParent()).thenReturn(null);
64
+ PerformanceReportMap reportMap = new PerformanceReportMap(performanceBuildAction, mock(TaskListener.class));
65
+ assertTrue(reportMap.ifModeThroughputUsed());
66
+ assertTrue(reportMap.ifModePerformancePerTestCaseUsed());
67
+ assertTrue(reportMap.ifShowTrendGraphsUsed());
68
+ }
69
70
@Test
71
void testRespondingTimeGraphAverageValues() throws Exception {
0 commit comments