Added escaping special characters to their corresponding

entities in XML output.
This commit is contained in:
Markus Kauppila 2011-06-22 21:56:23 +03:00
parent 2dd346fae0
commit e6225c947b
3 changed files with 57 additions and 7 deletions

View file

@ -31,7 +31,6 @@ LogGenericOutput(const char *message)
fflush(stderr);
}
/*!
* Test app for logging functionality
*/
@ -66,15 +65,12 @@ main(int argc, char *argv[])
Log = PlainLog;
}
RunStarted(LogGenericOutput, "some_data_here", 0);
RunStarted(LogGenericOutput, "some_<data_>here&here", 0);
SuiteStarted("Suite data here", 0);
TestStarted("test1", "suite", "desc", 0);
TestEnded("test1", "suite", 0, 0, 0, 0);
//XMLTestStarted("test2", "desc", 0);
//XMLTestEnded("test2", "desc", 0, 0, 0, 0);
SuiteEnded(0, 0, 0, 0.0f, 0);
RunEnded(0, 0, 0, 0, 0, 0);