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.
17 lines
350 B
17 lines
350 B
#include "testXMLParser.h"
|
|
|
|
#include <iostream>
|
|
|
|
#include "cmXMLParser.h"
|
|
|
|
int testXMLParser(int /*unused*/, char* /*unused*/[])
|
|
{
|
|
// 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;
|
|
}
|