Close menu
Start
Download
Getting Started
License
References
Jam Build Tool
Class Index
Namespaces
Modules
Pt
›
Documentation
Documentation
›
Get Platinum
≡
Class Index
Namespaces
Modules
include
Pt
Unit
Api.h
1
/* Copyright (C) 2005-2008 by Dr. Marc Boris Duerner
2
SPDX-License-Identifier: LGPL-2.1-or-later WITH mif-exception
3
*/
4
5
#ifndef PT_UNIT_API_H
6
#define PT_UNIT_API_H
7
8
#include <Pt/Api.h>
9
10
#define PT_UNIT_VERSION_MAJOR PT_VERSION_MAJOR
11
#define PT_UNIT_VERSION_MINOR PT_VERSION_MINOR
12
#define PT_UNIT_VERSION_REVISION PT_VERSION_REVISION
13
#define PT_UNIT_VERSION_PRERELEASE PT_VERSION_PRERELEASE
14
15
#if defined(PT_UNIT_API_EXPORT)
16
# define PT_UNIT_API PT_EXPORT
17
# else
18
# define PT_UNIT_API PT_IMPORT
19
# endif
20
21
#endif
22
23
namespace
Pt
{
24
30
46
namespace
Unit
{
47
48
class
Application
;
49
class
Assertion
;
50
class
Reporter
;
51
class
Test
;
52
class
TestCase
;
53
class
TestContext
;
54
class
TestFixture
;
55
class
TestProtocol
;
56
class
TextProtocol
;
57
class
TestSuite
;
58
59
}
60
61
}
Pt::Unit::Application
Run registered tests.
Definition
Application.h:81
Pt::Unit::Assertion
Test Assertion exception
Definition
Assertion.h:80
Pt::Unit::Reporter
Test event reporter
Definition
Reporter.h:56
Pt::Unit::TestCase
Single test with setup and teardown.
Definition
TestCase.h:82
Pt::Unit::TestContext
Context in which test are run.
Definition
TestContext.h:47
Pt::Unit::TestFixture
Fixture interface for tests.
Definition
TestFixture.h:42
Pt::Unit::TestProtocol
Protocol for test suites.
Definition
TestProtocol.h:93
Pt::Unit::TestSuite
Protocol and data driven testing.
Definition
TestSuite.h:84
Pt::Unit::Test
Test base class
Definition
Test.h:55
Pt::Unit::TextProtocol
Implements a simple text protocol.
Definition
TextProtocol.h:43
Pt::Unit
Protocol and data driven unit testing framework.
Pt
Core module.
Definition
Allocator.h:33