You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
355 B
18 lines
355 B
#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;
|
|
}
|