[FIR-TEST] Move analysis tests to separate module

This commit is contained in:
Dmitriy Novozhilov
2020-03-18 15:10:46 +03:00
parent 3a479d5d16
commit cc07ae96b3
1477 changed files with 1001 additions and 980 deletions
@@ -0,0 +1,178 @@
digraph tryWithLambdaInside_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function notInPlaceFilter" style="filled" fillcolor=red];
1 [label="Access variable this@R|/notInPlaceFilter|"];
2 [label="Jump: ^notInPlaceFilter this@R|/notInPlaceFilter|"];
3 [label="Stub" style="filled" fillcolor=gray];
4 [label="Exit function notInPlaceFilter" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {4};
2 -> {3} [style=dotted];
3 -> {4} [style=dotted];
subgraph cluster_1 {
color=red
5 [label="Enter function foo" style="filled" fillcolor=red];
6 [label="Exit function foo" style="filled" fillcolor=red];
}
5 -> {6};
subgraph cluster_2 {
color=red
7 [label="Enter function testInPlace" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
8 [label="Try expression enter"];
subgraph cluster_4 {
color=blue
9 [label="Try main block enter"];
subgraph cluster_5 {
color=blue
10 [label="Enter block"];
11 [label="Access variable R|<local>/list|"];
12 [label="Postponed enter to lambda"];
subgraph cluster_6 {
color=blue
13 [label="Enter function anonymousFunction"];
14 [label="Access variable R|<local>/it|"];
15 [label="Exit function anonymousFunction"];
}
16 [label="Postponed exit from lambda"];
17 [label="Function call: R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(...)"];
18 [label="Exit block"];
}
19 [label="Try main block exit"];
}
subgraph cluster_7 {
color=blue
20 [label="Enter finally"];
subgraph cluster_8 {
color=blue
21 [label="Enter block"];
22 [label="Exit block"];
}
23 [label="Exit finally"];
}
24 [label="Try expression exit"];
}
25 [label="Jump: ^testInPlace try {
R|<local>/list|.R|kotlin/collections/filter|<R|kotlin/Boolean|>(<L> = filter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| <kind=UNKNOWN> {
^ R|<local>/it|
}
)
}
finally {
}
"];
26 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit function testInPlace" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
9 -> {27 20 10};
10 -> {11};
11 -> {12};
12 -> {13};
12 -> {16} [color=red];
13 -> {15 14};
14 -> {15};
15 -> {13};
15 -> {16} [color=green];
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {24};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {27};
25 -> {26} [style=dotted];
26 -> {27} [style=dotted];
subgraph cluster_9 {
color=red
28 [label="Enter function testNotInPlace" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
29 [label="Try expression enter"];
subgraph cluster_11 {
color=blue
30 [label="Try main block enter"];
subgraph cluster_12 {
color=blue
31 [label="Enter block"];
32 [label="Access variable R|<local>/list|"];
33 [label="Postponed enter to lambda"];
34 [label="Postponed exit from lambda"];
35 [label="Function call: R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(...)"];
36 [label="Exit block"];
}
37 [label="Try main block exit"];
}
subgraph cluster_13 {
color=blue
38 [label="Enter finally"];
subgraph cluster_14 {
color=blue
39 [label="Enter block"];
40 [label="Exit block"];
}
41 [label="Exit finally"];
}
42 [label="Try expression exit"];
}
43 [label="Jump: ^testNotInPlace try {
R|<local>/list|.R|/notInPlaceFilter|<R|kotlin/Boolean|>(<L> = notInPlaceFilter@fun <anonymous>(it: R|kotlin/Boolean|): R|kotlin/Boolean| {
^ R|<local>/it|
}
)
}
finally {
}
"];
44 [label="Stub" style="filled" fillcolor=gray];
45 [label="Exit function testNotInPlace" style="filled" fillcolor=red];
}
28 -> {29};
29 -> {30};
30 -> {45 38 31};
31 -> {32};
32 -> {33};
33 -> {34 34} [color=green];
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {42};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {45};
43 -> {44} [style=dotted];
44 -> {45} [style=dotted];
subgraph cluster_15 {
color=red
46 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
47 [label="Access variable R|<local>/it|"];
48 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
}