Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Settings settings = Settings.parse_command_line(args);
            using (CoverageInfo coverage_info = CoverageInfo.CreateFromFile(settings.coverage_file))
            {
                CoverageDS coverage_data = coverage_info.BuildDataSet();

                Cobertura cobertura = new Cobertura();
                XDocument cobertura_xml = cobertura.convert(coverage_data);

                cobertura_xml.Save(Console.Out);
            }
        }
Exemplo n.º 2
0
 public Context()
 {
     coverage = new DataSet();
     cobertura = new Cobertura();
     xml = null;
 }