示例#1
0
void OutputsTest::test_from_XML(void) {
  message += "test_from_XML\n";

  Outputs o;

  tinyxml2::XMLDocument* document;

  // Test

  document = o.to_XML();

  o.from_XML(*document);

  delete document;
}
示例#2
0
void OutputsTest::test_to_XML(void) {
  message += "test_to_XML\n";

  Outputs o;

  tinyxml2::XMLDocument* document;

  // Test

  document = o.to_XML();

  assert_true(document != NULL, LOG);

  delete document;
}