#ifndef CPPUNIT_EXTENSIONS_TESTSETUP_H #define CPPUNIT_EXTENSIONS_TESTSETUP_H #include namespace CppUnit { class Test; class T…
cppunit 源代码
CPPunit是专为C++设计的单元测试框架,支持自动化测试用例执行与结果分析,极大提升了软件开发过程中代码质量与稳定性。广泛应用于嵌入式系统、桌面应用及服务器端软件等领域的开发测试环节。掌握CPPunit不仅能够帮助工程师构建健康新颖的测试驱动开发模式,还能有效减少bug出现几…
// ////////////////////////////////////////////////////////////////////////// // Header file HelperMacros.h // (c)Copyright 2000, …
#ifndef CPPUNIT_EXTENSIONS_TESTFACTORYREGISTRY_H #define CPPUNIT_EXTENSIONS_TESTFACTORYREGISTRY_H #include #if CPPUNIT_NEED_DLL…
#ifndef CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H #define CPPUNIT_EXTENSIONS_TESTSUITEFACTORY_H #include namespace CppUnit { cla…
#ifndef CPPUNIT_EXTENSIONS_TESTFACTORY_H #define CPPUNIT_EXTENSIONS_TESTFACTORY_H #include namespace CppUnit { class Test; /*…
#ifndef CPPUNIT_TESTSUITE_H // -*- C++ -*- #define CPPUNIT_TESTSUITE_H #include #if CPPUNIT_NEED_DLL_DECL #pragma warning( p…
#include #if CPPUNIT_USE_TYPEINFO_NAME #include #include namespace CppUnit { std::string TypeInfoHelper::getClassName( co…
#include namespace CppUnit { TestSetUp::TestSetUp( Test *test ) : TestDecorator( test ) { } void TestSetUp::setUp() { } v…
#include namespace CppUnit { SynchronizedObject::SynchronizedObject( SynchronizationObject *syncObject ) : m_syncObject…
#include namespace CppUnit { TestSucessListener::TestSucessListener( SynchronizationObject *syncObject ) : SynchronizedO…