Exemplo n.º 1
0
        public void ShouldGenerateChart()
        {
            StatisticsChartGenerator generator = new StatisticsChartGenerator(new Plotter("c:/", "png", ImageFormat.Png));

            generator.RelevantStats = new string[] { "TestCount" };
            generator.Process(statistics, "dummy");
        }
Exemplo n.º 2
0
        public void SetUp()
        {
            statistics = new XmlDocument();
            statistics.LoadXml(xml);

            mockPlotter= new DynamicMock(typeof(IPlotter));
            chartGenerator = new StatisticsChartGenerator((IPlotter)mockPlotter.MockInstance);
        }
Exemplo n.º 3
0
        public void SetUp()
        {
            statistics = new XmlDocument();
            statistics.LoadXml(xml);

            mockPlotter    = new Mock <IPlotter>();
            chartGenerator = new StatisticsChartGenerator((IPlotter)mockPlotter.Object);
        }