Macros
test.h File Reference

Main include file of C++ unit testing framework. More...

#include <basis/config.h>
#include <basis/gtest/gtest.h>
#include <basis/gmock/gmock.h>
+ Include dependency graph for test.h:

Go to the source code of this file.

Macros

#define _BASIS_TEST_H
 
#define GTEST_HAS_PTHREAD   0
 
#define GTEST_USE_OWN_TR1_TUPLE   1
 

Detailed Description

Main include file of C++ unit testing framework.

This file should be included by implementations of unit tests. Note that currently we are simply using Google Test and Google Mock. Likely, this will not change soon. However, we use this header file to be prepared for this case. The implementation of the functions and macros provided by the underlying testing frameworks could then potentially be replaced by another implementations if desired.

Definition in file test.h.

Macro Definition Documentation

§ _BASIS_TEST_H

#define _BASIS_TEST_H

Definition at line 26 of file test.h.

§ GTEST_HAS_PTHREAD

#define GTEST_HAS_PTHREAD   0

Definition at line 50 of file test.h.

§ GTEST_USE_OWN_TR1_TUPLE

#define GTEST_USE_OWN_TR1_TUPLE   1

Definition at line 40 of file test.h.