@Test public void testGetPostUrl() { Configuration configuration = new Configuration(); AggregatedMetricsPublisher aggregatedMetricsPublisher = new AggregatedMetricsPublisher(TimelineMetricsHolder.getInstance(), configuration, 1); String actualURL = aggregatedMetricsPublisher.getPostUrl(); String expectedURL = "%s: Assert.assertNotNull(actualURL); Assert.assertEquals(expectedURL, actualURL); }
@Override protected String getPostUrl() { return BASE_POST_URL + AGGREGATED_POST_PREFIX; }
AggregatedMetricsPublisher extends AbstractMetricPublisher { @Override protected String getPostUrl() { return BASE_POST_URL + AGGREGATED_POST_PREFIX; } }
AggregatedMetricsPublisher extends AbstractMetricPublisher { @Override protected String getPostUrl() { return BASE_POST_URL + AGGREGATED_POST_PREFIX; } AggregatedMetricsPublisher(TimelineMetricsHolder timelineMetricsHolder, Configuration configuration, int interval); }
AggregatedMetricsPublisher extends AbstractMetricPublisher { @Override protected String getPostUrl() { return BASE_POST_URL + AGGREGATED_POST_PREFIX; } AggregatedMetricsPublisher(TimelineMetricsHolder timelineMetricsHolder, Configuration configuration, int interval);  }
AggregatedMetricsPublisher extends AbstractMetricPublisher { @Override protected String getPostUrl() { return BASE_POST_URL + AGGREGATED_POST_PREFIX; } AggregatedMetricsPublisher(TimelineMetricsHolder timelineMetricsHolder, Configuration configuration, int interval);   }