99 // tests RT-22124
100 chart.getData().remove(0);
101 });
102 toolkit.setAnimationTime(seriesFadeOutTime/2);
103 assertEquals(1, XYChartShim.getPlotChildren(chart).size());
104 // tests RT-46086
105 assertEquals(0.5, XYChartShim.getPlotChildren(chart).get(0).getOpacity(), 0.0);
106 toolkit.setAnimationTime(seriesFadeOutTime);
107 assertEquals(0, XYChartShim.getPlotChildren(chart).size());
108 }
109
110 @Test
111 public void testDataWithoutSymbolsAddWithAnimation_rt_39353() {
112 startAppWithSeries();
113 chart.setAnimated(true);
114 series.getData().add(new XYChart.Data<>(30, 30));
115 ControlTestUtils.runWithExceptionHandler(() -> {
116 toolkit.setAnimationTime(0);
117 });
118 }
119 }
|
99 // tests RT-22124
100 chart.getData().remove(0);
101 });
102 toolkit.setAnimationTime(seriesFadeOutTime/2);
103 assertEquals(1, XYChartShim.getPlotChildren(chart).size());
104 // tests RT-46086
105 assertEquals(0.5, XYChartShim.getPlotChildren(chart).get(0).getOpacity(), 0.0);
106 toolkit.setAnimationTime(seriesFadeOutTime);
107 assertEquals(0, XYChartShim.getPlotChildren(chart).size());
108 }
109
110 @Test
111 public void testDataWithoutSymbolsAddWithAnimation_rt_39353() {
112 startAppWithSeries();
113 chart.setAnimated(true);
114 series.getData().add(new XYChart.Data<>(30, 30));
115 ControlTestUtils.runWithExceptionHandler(() -> {
116 toolkit.setAnimationTime(0);
117 });
118 }
119
120 @Override
121 void checkSeriesStyleClasses(XYChart.Series<?, ?> series, int seriesIndex, int colorIndex) {
122 throw new UnsupportedOperationException("Not supported yet.");
123 }
124
125 @Override
126 void checkDataStyleClasses(XYChart.Data<?, ?> data, int seriesIndex, int dataIndex, int colorIndex) {
127 throw new UnsupportedOperationException("Not supported yet.");
128 }
129 }
|