代码搜索:cppunit
找到约 2,238 项符合「cppunit」的源代码
代码结果 2,238
www.eeworm.com/read/339586/3296878
h testfailuretest.h
#ifndef TESTFAILURETEST_H
#define TESTFAILURETEST_H
#include
class TestFailureTest : public CPPUNIT_NS::TestFixture
{
CPPUNIT_TEST_SUITE( TestFailureTest );
www.eeworm.com/read/339586/3296898
cpp repeatedtesttest.cpp
#include "ExtensionSuite.h"
#include "RepeatedTestTest.h"
#include
#include
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( RepeatedTestTest,
www.eeworm.com/read/339586/3296899
h repeatedtesttest.h
#ifndef REPEATEDTESTTEST_H
#define REPEATEDTESTTEST_H
#include
class RepeatedTestTest : public CPPUNIT_NS::TestFixture
{
CPPUNIT_TEST_SUITE( RepeatedTestTest )
www.eeworm.com/read/339586/3296902
cpp orthodoxtest.cpp
#include "ExtensionSuite.h"
#include "OrthodoxTest.h"
#include
#include
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( OrthodoxTest,
www.eeworm.com/read/339586/3296939
cpp exampletestcases.cpp
#include "ExampleTestCases.h"
CPPUNIT_TEST_SUITE_REGISTRATION( ExampleTestCases );
void ExampleTestCases::example ()
{
CPPUNIT_ASSERT_DOUBLES_EQUAL (1.0, 1.1, 0.05);
CPPUNIT_ASSERT (1 == 0);
www.eeworm.com/read/339586/3297055
h sourceline.h
#ifndef CPPUNIT_SOURCELINE_H
#define CPPUNIT_SOURCELINE_H
#include
#include
/*! \brief Constructs a SourceLine object initialized with the location where the macro i
www.eeworm.com/read/339586/3297140
h cppunitset.h
#ifndef CPPUNIT_PORTABILITY_CPPUNITSET_H
#define CPPUNIT_PORTABILITY_CPPUNITSET_H
// The technic used is similar to the wrapper of STLPort.
#include
#include
#i
www.eeworm.com/read/339586/3297142
h cppunitmap.h
#ifndef CPPUNIT_PORTABILITY_CPPUNITMAP_H
#define CPPUNIT_PORTABILITY_CPPUNITMAP_H
// The technic used is similar to the wrapper of STLPort.
#include
#include
#i
www.eeworm.com/read/339586/3297280
cpp exception.cpp
#include
CPPUNIT_NS_BEGIN
#ifdef CPPUNIT_ENABLE_SOURCELINE_DEPRECATED
/*!
* \deprecated Use SourceLine::isValid() instead.
*/
const std::string Exception::UNKNOWNFILENAME =
www.eeworm.com/read/339586/3297283
cpp repeatedtest.cpp
#include
#include
CPPUNIT_NS_BEGIN
// Counts the number of test cases that will be run by this test.
int
RepeatedTest::countTestCases() co