From e17ba6dde7588f717bc5e79b3cb64cddd73d6173 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Tue, 6 May 2014 20:12:11 +0200 Subject: Added basic external read file function test case * ... as a test of how well we are able to test DOM structures * required change of constructDocument visibility --- test.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'test.cc') diff --git a/test.cc b/test.cc index 2a6f886..c024048 100644 --- a/test.cc +++ b/test.cc @@ -1,11 +1,17 @@ #include "plattform_guard.h" #include "transformation_facade.h" -int main() { +#include "gtest/gtest.h" + +int main(int argc, char **argv) { InputXSLT::PlattformGuard plattform; InputXSLT::TransformationFacade transformation("../dummy/transform.xsl"); - return transformation.generate("out.xml", { + transformation.generate("out.xml", { {"test", "42"} }); + + testing::InitGoogleTest(&argc, argv); + + return RUN_ALL_TESTS(); } -- cgit v1.2.3