public void ConvertChartToXMLTest() { XmlDocument doc = ChartToCSVExporter.ConvertChartToXML(chart); // XDocument doc = ChartToCSVExporter.ConvertChartToXML(chart); // doc.Save(@"c:\spmimages\chart.xml"); Assert.IsNotNull(doc.HasChildNodes); }
public void GetPointsListFromSeriesNodeTest() { XmlNodeList series = ChartToCSVExporter.GetSeriesListFromChartXML(ChartToCSVExporter.ConvertChartToXML(chart)); var points = ChartToCSVExporter.GetPointsListFromSeriesNode(series.Item(0)); Assert.IsTrue(points.Count == 6); }
public void CreateByteArrayListBySeriesTest() { XmlNodeList series = ChartToCSVExporter.GetSeriesListFromChartXML(ChartToCSVExporter.ConvertChartToXML(chart)); var arrayList = ChartToCSVExporter.GetByteArrayListBySeries(series); Assert.IsTrue(arrayList.Count == 2); }
public void GetSeriesListFromChartXMLTest() { var series = ChartToCSVExporter.GetSeriesListFromChartXML(ChartToCSVExporter.ConvertChartToXML(chart)); Assert.IsTrue(series.Count == 2); }