CPlusTest Framework Reference

The CPlusTest framework provides support for adding automated unit testing for C and C++ code into your build process. CPlusTest is available as part of the Xcode Tools.

Framework
/System/Library/Frameworks/CPlusTest.framework
Header file directories
/System/Library/Frameworks/CPlusTest.framework/Headers
Companion document

Functions

Test::name
  TestObserver::testDidStart
Test::run
  TestObserver::testDidStop
Test::setUp
  TestObserver::TestObserver
Test::tearDown
  TestObserver::testSuiteDidStart
Test::Test
  TestObserver::testSuiteDidStop
Test::~Test
  TestObserver::~TestObserver
TestCase::name
  TestRun::addObserver
TestCase::run
  TestRun::failedTest
TestCase::setUp
  TestRun::failureCount
TestCase::tearDown
  TestRun::removeObserver
TestCase::TestCase
  TestRun::runCount
TestCase::~TestCase
  TestRun::startedTest
TestFailure::file
  TestRun::startedTestSuite
TestFailure::line
  TestRun::stoppedTest
TestFailure::message
  TestRun::stoppedTestSuite
TestFailure::TestFailure
  TestRun::TestRun
TestFailure::~TestFailure
  TestRun::~TestRun
TestInvocation::invokeWithTarget
  TestSuite::addTest
TestInvocation::name
  TestSuite::allTests
TestInvocation::TestInvocation
  TestSuite::name
TestInvocation::~TestInvocation
  TestSuite::removeTest
TestLog::testDidFail
  TestSuite::run
TestLog::testDidStart
  TestSuite::setUp
TestLog::testDidStop
  TestSuite::tearDown
TestLog::TestLog
  TestSuite::tests
TestLog::testSuiteDidStart
  TestSuite::TestSuite
TestLog::testSuiteDidStop
  TestSuite::testWithName
TestLog::~TestLog
  TestSuite::~TestSuite
TestObserver::testDidFail
 

Other References

Header Index

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.