summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/testXMLParser.cxx
blob: 54ed5dc90e45e140804cb17c4e26b2211f78e918 (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 <cmsys/ios/iostream>

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