< prev index next >

modules/controls/src/test/java/test/javafx/scene/chart/XYNumberChartsTest.java

Print this page
rev 9945 : 8089755: AreaChart area color change when series is removed


  67         try {
  68             chart = (XYChart<Number, Number>) chartClass.getConstructor(Axis.class, Axis.class).
  69                 newInstance(new NumberAxis(), new NumberAxis());
  70         } catch (InvocationTargetException e) {
  71             throw new AssertionError(e.getCause());
  72         } catch (Exception e) {
  73             throw new AssertionError(e);
  74         }
  75         return chart;
  76     }
  77 
  78     @Test
  79     public void testSeriesClearAnimated_rt_40632() {
  80         checkSeriesClearAnimated_rt_40632();
  81     }
  82 
  83     @Test
  84     public void testSeriesRemove() {
  85         checkSeriesRemove(2 + nodesPerSeries);
  86     }










  87 }


  67         try {
  68             chart = (XYChart<Number, Number>) chartClass.getConstructor(Axis.class, Axis.class).
  69                 newInstance(new NumberAxis(), new NumberAxis());
  70         } catch (InvocationTargetException e) {
  71             throw new AssertionError(e.getCause());
  72         } catch (Exception e) {
  73             throw new AssertionError(e);
  74         }
  75         return chart;
  76     }
  77 
  78     @Test
  79     public void testSeriesClearAnimated_rt_40632() {
  80         checkSeriesClearAnimated_rt_40632();
  81     }
  82 
  83     @Test
  84     public void testSeriesRemove() {
  85         checkSeriesRemove(2 + nodesPerSeries);
  86     }
  87 
  88     @Override
  89     void checkSeriesStyleClasses(XYChart.Series<?, ?> series, int seriesIndex, int colorIndex) {
  90         throw new UnsupportedOperationException("Not supported yet.");
  91     }
  92 
  93     @Override
  94     void checkDataStyleClasses(XYChart.Data<?, ?> data, int seriesIndex, int dataIndex, int colorIndex) {
  95         throw new UnsupportedOperationException("Not supported yet.");
  96     }
  97 }
< prev index next >