FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cppcheck/cfg/cppunit.cfg at main · cppcheck-opensource/cppcheck · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
cppcheck-opensource
/
cppcheck
Public
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
6.7k
Code
Pull requests
201
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
cppcheck
/
cfg
/
cppunit.cfg
Copy path
More file actions
More file actions
Latest commit
History
History
History
48 lines (48 loc) · 2.63 KB
Breadcrumbs
cppcheck
/
cfg
/
cppunit.cfg
Copy path
File metadata and controls
48 lines (48 loc) · 2.63 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml
version
=
"
1.0
"
?>
<def
format
=
"
2
"
>
<!-- CppUnit sourceforge.net/projects/cppunit -->
<define
name
=
"
CPPUNIT_TEST_SUITE(testsuite)
"
value
=
"
"
/>
<define
name
=
"
CPPUNIT_TEST(test)
"
value
=
"
"
/>
<define
name
=
"
CPPUNIT_TEST_SUITE_END()
"
value
=
"
"
/>
<!-- Macros see http://cppunit.sourceforge.net/doc/cvs/group___assertions.html -->
<define
name
=
"
CPPUNIT_ASSERT(condition)
"
value
=
"
{if (!(condition)) throw false;}
"
/>
<define
name
=
"
CPPUNIT_ASSERT_MESSAGE(message, condition)
"
value
=
"
{if (!(condition)) throw message;}
"
/>
<define
name
=
"
CPPUNIT_FAIL(message)
"
value
=
"
throw message;
"
/>
<define
name
=
"
CPPUNIT_ASSERT_EQUAL(expected, actual)
"
value
=
"
{if ((expected) != (actual)) throw false;}
"
/>
<define
name
=
"
CPPUNIT_ASSERT_EQUAL_MESSAGE(message, expected, actual)
"
value
=
"
{if ((expected) != (actual)) throw message;}
"
/>
<define
name
=
"
CPPUNIT_ASSERT_DOUBLES_EQUAL(expected, actual, delta)
"
value
=
"
{if (std::abs((expected) - (actual)) > delta) throw false;}
"
/>
<define
name
=
"
CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(message, expected, actual, delta)
"
value
=
"
{if (std::abs((expected) - (actual)) > delta) throw message;}
"
/>
<define
name
=
"
CPPUNIT_ASSERT_THROW(expression, ExceptionType)
"
value
=
"
"
/>
<define
name
=
"
CPPUNIT_ASSERT_THROW_MESSAGE(message, expression, ExceptionType)
"
value
=
"
"
/>
<define
name
=
"
CPPUNIT_ASSERT_NO_THROW(expression)
"
value
=
"
"
/>
<define
name
=
"
CPPUNIT_ASSERT_NO_THROW_MESSAGE(message, expression)
"
value
=
"
"
/>
<define
name
=
"
CPPUNIT_ASSERT_ASSERTION_FAIL(assertion)
"
value
=
"
CPPUNIT_ASSERT_THROW( assertion, CPPUNIT_NS::Exception )
"
/>
<define
name
=
"
CPPUNIT_ASSERT_ASSERTION_FAIL_MESSAGE(message, assertion)
"
value
=
"
CPPUNIT_ASSERT_THROW_MESSAGE( message, assertion, CPPUNIT_NS::Exception )
"
/>
<define
name
=
"
CPPUNIT_ASSERT_ASSERTION_PASS(assertion)
"
value
=
"
CPPUNIT_ASSERT_NO_THROW( assertion )
"
/>
<define
name
=
"
CPPUNIT_ASSERT_ASSERTION_PASS_MESSAGE(message, assertion)
"
value
=
"
CPPUNIT_ASSERT_NO_THROW_MESSAGE( message, assertion )
"
/>
<function
name
=
"
CppUnit::TestCase::setUp,CppUnit::TestCase::tearDown
"
>
<noreturn>false</noreturn>
<returnValue
type
=
"
void
"
/>
</function>
<!-- virtual void addTest (Test *test) -->
<function
name
=
"
CppUnit::TestRunner::addTest
"
>
<noreturn>false</noreturn>
<returnValue
type
=
"
void
"
/>
<leak-ignore/>
<arg
nr
=
"
1
"
>
<not-uninit/>
</arg>
</function>
<!-- virtual void run (TestResult &controller, const std::string &
testPath
=
"
"
) -->
<function
name
=
"
CppUnit::TestRunner::run
"
>
<noreturn>false</noreturn>
<returnValue
type
=
"
void
"
/>
<leak-ignore/>
<arg
nr
=
"
1
"
>
<not-uninit/>
</arg>
<arg
nr
=
"
2
"
>
<not-uninit/>
</arg>
</function>
</def>
Back
|
FazBrowse Home
|
New Git URL