예제 #1
0
 @Test
 public void testPlotBandsWarning0() throws Exception {
   InterfaceLimit limit = new InterfaceLimit();
   limit.setWarning(0);
   limit.setCritical(50);
   ChartManager.setPlotBand(chart, limit);
   assertPlots(yAxis.getPlotBands(), 0, 0, 50, Integer.MAX_VALUE);
 }
예제 #2
0
 @Test
 public void testPlotBandsNull() throws Exception {
   ChartManager.setPlotBand(chart, null);
   assertPlots(yAxis.getPlotBands(), 0);
 }