Code::Blocks
SVN r11506
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
x
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
Enumerations
+
Enumerator
b
c
d
e
f
k
n
p
r
s
u
v
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Typedefs
a
b
c
d
e
f
i
l
m
p
r
s
t
w
+
Enumerations
b
c
d
e
f
l
o
p
q
r
s
t
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
+
Related Functions
b
c
d
e
f
l
m
n
p
s
t
u
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
_
b
c
d
e
f
g
h
i
k
m
n
r
s
t
u
w
+
Typedefs
b
c
e
f
h
n
o
p
r
s
t
v
w
+
Enumerations
a
b
c
d
e
f
l
m
o
p
s
t
w
+
Enumerator
a
b
c
d
e
f
h
l
m
o
p
s
t
u
w
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
plugins
debuggergdb
debuggergdb_test_parser_cdb.cpp
Go to the documentation of this file.
1
#include "
debuggergdb_test_common.h
"
2
3
#include "
parsewatchvalue.h
"
4
5
SUITE
(CDBWatchParser)
6
{
7
8
TEST(CDBSingleLineStructPointer)
9
{
10
cb::shared_ptr<GDBWatch> w(
new
GDBWatch
(
wxT
(
"t"
)));
11
CHECK(
ParseCDBWatchValue
(w,
wxT
(
"struct t * 0x123456"
)));
12
CHECK_EQUAL(
wxT
(
"t=0x123456"
), *w);
13
}
14
15
TEST(CDBSingleLineClassPointer)
16
{
17
cb::shared_ptr<GDBWatch> w(
new
GDBWatch
(
wxT
(
"t"
)));
18
CHECK(
ParseCDBWatchValue
(w,
wxT
(
"class t * 0x123456"
)));
19
CHECK_EQUAL(
wxT
(
"t=0x123456"
), *w);
20
}
21
22
}
// SUITE(CDBWatchParser)
23
GDBWatch
Definition:
debugger_defs.h:212
parsewatchvalue.h
wxT
#define wxT(string)
debuggergdb_test_common.h
SUITE
SUITE(CDBWatchParser)
Definition:
debuggergdb_test_parser_cdb.cpp:5
ParseCDBWatchValue
bool ParseCDBWatchValue(cb::shared_ptr< GDBWatch > watch, wxString const &value)
Definition:
parsewatchvalue.cpp:847
Generated by
1.8.13