Code::Blocks
SVN r11506
plugins
debuggergdb
debuggergdb_test_defs.cpp
Go to the documentation of this file.
1
#include "
debuggergdb_test_common.h
"
2
#include "
debugger_defs.h
"
3
4
SUITE
(DebugDefs)
5
{
6
TEST(DetectPointerType0)
7
{
8
CHECK(
IsPointerType
(
wxT
(
"int *"
)));
9
}
10
11
TEST(DetectPointerType1)
12
{
13
CHECK(!
IsPointerType
(
wxT
(
"int"
)));
14
}
15
16
TEST(DetectPointerType2)
17
{
18
CHECK(
IsPointerType
(
wxT
(
"int * const"
)));
19
}
20
21
TEST(DetectPointerType3)
22
{
23
CHECK(
IsPointerType
(
wxT
(
"int * volatile"
)));
24
}
25
26
TEST(DetectPointerType4)
27
{
28
CHECK(!
IsPointerType
(
wxT
(
"char *"
)));
29
}
30
31
TEST(DetectPointerType5)
32
{
33
CHECK(!
IsPointerType
(
wxT
(
"char const *"
)));
34
}
35
36
37
}
debugger_defs.h
SUITE
SUITE(DebugDefs)
Definition:
debuggergdb_test_defs.cpp:4
wxT
#define wxT(string)
IsPointerType
bool IsPointerType(wxString type)
Definition:
debugger_defs.cpp:309
debuggergdb_test_common.h
Generated by
1.8.13