Transit Planner  1.0
An experiment on transfer patterns robustness
test/GtestUtil.h
00001 // Copyright 2011: Eugen Sawin, Philip Stahl, Jonas Sternisko
00002 
00003 // This file collects basic includes for all tests we write as well as some
00004 // utility functions.
00005 
00006 #ifndef TEST_GTESTUTIL_H_
00007 #define TEST_GTESTUTIL_H_
00008 
00009 #include <gtest/gtest.h>
00010 #include <gmock/gmock.h>
00011 #include <string>
00012 #include <cstdio>
00013 
00014 
00015 using std::string;
00016 
00017 // If you create temporary output files for testing, please store them in
00018 // 'data/tmp/' in order to keep the other directories clean. Otherwise you are
00019 // welcome to have your files removed, e.g. by the Fixture's TearDown() method.
00020 const string tmpDir = "data/tmp/"; //NOLINT
00021 
00022 
00023 // A macro to mark a test as not yet implemented.
00024 #define TEST_NOT_IMPLEMENTED printf("TEST NOT IMPLEMENTED.\n"); \
00025                              return;
00026 
00027 #endif  // TEST_GTESTUTIL_H_
 All Classes