[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,107 @@
digraph smartcastAfterReassignment_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function test_1" style="filled" fillcolor=red];
1 [label="Const: Int(1)"];
2 [label="Variable declaration: lvar x: R|kotlin/Any|"];
3 [label="Const: String()"];
4 [label="Assignmenet: R|<local>/x|"];
5 [label="Access variable R|<local>/x|"];
6 [label="Access variable R|kotlin/String.length|"];
7 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
subgraph cluster_1 {
color=red
8 [label="Enter function test_2" style="filled" fillcolor=red];
9 [label="Const: Null(null)"];
10 [label="Variable declaration: lvar x: R|kotlin/String?|"];
subgraph cluster_2 {
color=blue
11 [label="Enter when"];
subgraph cluster_3 {
color=blue
12 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/x|"];
14 [label="Const: Null(null)"];
15 [label="Operator =="];
16 [label="Exit when branch condition"];
}
17 [label="Synthetic else branch"];
18 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
19 [label="Enter block"];
20 [label="Const: String()"];
21 [label="Assignmenet: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit when branch result"];
24 [label="Exit when"];
}
25 [label="Access variable R|<local>/x|"];
26 [label="Access variable R|kotlin/String.length|"];
27 [label="Exit function test_2" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {18 17};
17 -> {24};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
subgraph cluster_5 {
color=red
28 [label="Enter function test_3" style="filled" fillcolor=red];
29 [label="Const: Null(null)"];
30 [label="Variable declaration: lvar x: R|kotlin/String?|"];
31 [label="Const: String()"];
32 [label="Assignmenet: R|<local>/x|"];
33 [label="Access variable R|<local>/x|"];
34 [label="Access variable R|kotlin/String.length|"];
35 [label="Const: Null(null)"];
36 [label="Assignmenet: R|<local>/x|"];
37 [label="Access variable R|<local>/x|"];
38 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
39 [label="Exit function test_3" style="filled" fillcolor=red];
}
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
}