summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testXMLParser.cxx
blob: b5219e245bddaf561ea99078e49dedf4be566238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "testXMLParser.h"

#include "cmXMLParser.h"

#include <iostream>

int testXMLParser(int, char*[])
{
  // TODO: Derive from parser and check attributes.
  cmXMLParser parser;
  if(!parser.ParseFile(SOURCE_DIR "/testXMLParser.xml"))
    {
    std::cerr << "cmXMLParser failed!" << std::endl;
    return 1;
    }
  return 0;
}