HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release coccinelle-0.1.1
[bpt/coccinelle.git]
/
tests
/
ctr_unit_test.c
1
2
int
classA
(
int
i
) {
3
if
(
classA
()) {
x
=
0
; }
4
5
UnitTestEntry
(
"A1"
);
6
if
(
MethodA1
()) { }
7
if
(
MethodA2
()) { }
8
UnitTestEntry
(
"A3"
);
9
if
(
MethodA3
()) { }
10
if
(
MethodA4
()) { }
11
12
}
13
14
int
classB
(
int
i
) {
15
if
(
classB
()) {
x
=
0
; }
16
17
if
(
MethodB1
()) { }
18
UnitTestEntry
(
"B2"
);
19
if
(
MethodB2
()) { }
20
if
(
MethodB3
()) { }
21
UnitTestEntry
(
"B4"
);
22
if
(
MethodB4
()) { }
23
24
25
}
26
27
int
lastfunction
(
int
i
) {
28
}