From 5911f8fc33767eb43593f0334c1a3162d11719e6 Mon Sep 17 00:00:00 2001
From: Felix Schindler <felix.schindler@wwu.de>
Date: Thu, 28 Aug 2014 18:02:48 +0200
Subject: [PATCH] [test.common_logger] update

---
 dune/stuff/test/common_logger.cc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dune/stuff/test/common_logger.cc b/dune/stuff/test/common_logger.cc
index 5ce49c724..5ca07f472 100644
--- a/dune/stuff/test/common_logger.cc
+++ b/dune/stuff/test/common_logger.cc
@@ -3,9 +3,10 @@
 // Copyright holders: Rene Milk, Felix Schindler
 // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
 
-#include "main.hxx"
+#include "config.h"
 
-// dune-stuff
+#include <dune/stuff/test/gtest/gtest.h>
+#include <dune/stuff/test/common.hh>
 #include <dune/stuff/common/logging.hh>
 #include <dune/stuff/common/logstreams.hh>
 
@@ -30,7 +31,8 @@ void do_something_that_takes_long(std::ostream& out)
 
 int main(int argc, char** argv)
 {
-  test_init(argc, argv);
+  testing::InitGoogleTest(&argc, argv);
+
   DSC::Logger().create(DSC::LOG_CONSOLE | DSC::LOG_ERROR);
   DSC::Logger().error() << "This should be in output\n";
   DSC::Logger().info() << "This should NOT be in output\n";
-- 
GitLab