Go to the documentation of this file.00001 #include <sstream>
00002 #include <ostream>
00003
00004 #include "gtest/gtest.h"
00005 #include "hayai/hayai.hpp"
00006
00007 using namespace hayai;
00008
00009
00010 #define ADD_FAILURE_STREAM(__msg) \
00011 { \
00012 std::stringstream _msg; \
00013 _msg << __msg; \
00014 ADD_FAILURE() << _msg.str(); \
00015 }
00016
00017
00018 std::ostream& operator <<(std::ostream& s,
00019 const TestParameterDescriptor& desc)
00020 {
00021 return s << "::hayai::TestParameterDescriptor(Declaration="
00022 << desc.Declaration << ", Value=" << desc.Value << ")";
00023 }