x
Yes
No
Do you want to visit DriveHQ English website?
Inicio
Características
Precios
Prueba gratuita
Software cliente
Acerca de nosotros
Servidor de archivos
|
Solución de copias de seguridad
|
Servidor FTP
|
Servidor de correo electrónico
|
Alojamiento web
|
Software cliente
Servidor de archivos
Solución de copia de seguridad
Servidor FTP
Servidor de correo electrónico
Alojamiento web
Software cliente
logged_expectations.hpp - Hosted on DriveHQ Cloud IT Platform
Arriba
Subir
Descargar
Compartir
Publicar
Nueva carpeta
Nuevo archivo
Copiar
Cortar
Eliminar
Pegar
Clasificación
Actualizar
Ruta de la carpeta: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\test\logged_expectations.hpp
Girar
Efecto
Propiedad
Historial
// (C) Copyright Gennadiy Rozental 2005-2007. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version : $Revision: 41369 $ // // Description : Facilities to perform interaction based testng of logged expectations // *************************************************************************** #ifndef BOOST_TEST_LOGGED_EXPECTATIONS_HPP_120905GER #define BOOST_TEST_LOGGED_EXPECTATIONS_HPP_120905GER // Boost.Test #include
#include
#include
#include
//____________________________________________________________________________// // ************************************************************************** // // ************** BOOST_TEST_LOGGED_EXPECTATIONS ************** // // ************************************************************************** // #define BOOST_TEST_LOGGED_EXPECTATIONS( test_name ) \ struct test_name : public BOOST_AUTO_TEST_CASE_FIXTURE \ { void test_method(); }; \ \ static void BOOST_AUTO_TC_INVOKER( test_name )() \ { \ test_name t; \ ::boost::itest::logged_expectations( \ boost::bind( &test_name::test_method, t ), \ BOOST_STRINGIZE(test_name) ".elog", \ !::boost::unit_test::runtime_config::save_pattern() ); \ } \ \ struct BOOST_AUTO_TC_UNIQUE_ID( test_name ) {}; \ \ BOOST_AUTO_TC_REGISTRAR( test_name )( \ boost::unit_test::make_test_case( \ &BOOST_AUTO_TC_INVOKER( test_name ), #test_name ), \ boost::unit_test::ut_detail::auto_tc_exp_fail< \ BOOST_AUTO_TC_UNIQUE_ID( test_name )>::instance()->value() ); \ \ void test_name::test_method() \ /**/ namespace boost { namespace itest { // ************************************************************************** // // ************** logged expectations test ************** // // ************************************************************************** // void BOOST_TEST_DECL logged_expectations( unit_test::callback0<> const& F, unit_test::const_string log_file_name, bool test_or_log = true ); } // namespace itest } // namespace boost #include
#endif // BOOST_TEST_LOGGED_EXPECTATIONS_HPP_120905GER
logged_expectations.hpp
Dirección de la página
Dirección del archivo
Anterior
9/28
Siguiente
Descargar
( 3 KB )
Comments
Total ratings:
0
Average rating:
No clasificado
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.