Skip to content

Commit a381241

Browse files
committed
C#: Update test expected output.
1 parent 6aa7fd6 commit a381241

File tree

5 files changed

+17
-13
lines changed

5 files changed

+17
-13
lines changed

csharp/ql/test/library-tests/dispatch/CallGraph.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
| ViableCallable.cs:679:17:679:20 | Run3 | ViableCallable.cs:637:21:637:21 | M |
271271
| ViableCallable.cs:679:17:679:20 | Run3 | ViableCallable.cs:646:21:646:21 | M |
272272
| ViableCallable.cs:679:17:679:20 | Run3 | ViableCallable.cs:648:21:648:21 | M |
273-
| ViableCallable.cs:711:17:711:20 | Run1 | ViableCallable.cs:695:24:695:31 | Partial1 |
273+
| ViableCallable.cs:711:17:711:20 | Run1 | ViableCallable.cs:704:24:704:31 | Partial1 |
274274
| ViableCallable.cs:711:17:711:20 | Run1 | ViableCallable.cs:705:42:705:44 | get_Property |
275275
| ViableCallable.cs:711:17:711:20 | Run1 | ViableCallable.cs:705:63:705:65 | set_Property |
276276
| ViableCallable.cs:711:17:711:20 | Run1 | ViableCallable.cs:707:49:707:51 | get_Item |

csharp/ql/test/library-tests/partial/Partial1.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
| Partial.cs:3:15:3:26 | TwoPartClass |
2-
| Partial.cs:6:20:6:31 | TwoPartClass |
32
| Partial.cs:8:18:8:42 | PartialMethodWithoutBody1 |
43
| Partial.cs:18:15:18:26 | TwoPartClass |
4+
| Partial.cs:21:20:21:31 | TwoPartClass |
55
| Partial.cs:22:18:22:39 | PartialMethodWithBody1 |
66
| Partial.cs:26:27:26:42 | PartialProperty1 |
77
| Partial.cs:28:9:28:11 | get_PartialProperty1 |

csharp/ql/test/library-tests/partial/Partial2.expected

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
| Partial.cs:3:15:3:26 | TwoPartClass | Partial.cs:3:15:3:26 | <object initializer> |
12
| Partial.cs:3:15:3:26 | TwoPartClass | Partial.cs:8:18:8:42 | PartialMethodWithoutBody1 |
23
| Partial.cs:3:15:3:26 | TwoPartClass | Partial.cs:9:17:9:23 | Method2 |
34
| Partial.cs:3:15:3:26 | TwoPartClass | Partial.cs:22:18:22:39 | PartialMethodWithBody1 |
45
| Partial.cs:3:15:3:26 | TwoPartClass | Partial.cs:23:17:23:23 | Method3 |
6+
| Partial.cs:18:15:18:26 | TwoPartClass | Partial.cs:3:15:3:26 | <object initializer> |
57
| Partial.cs:18:15:18:26 | TwoPartClass | Partial.cs:8:18:8:42 | PartialMethodWithoutBody1 |
68
| Partial.cs:18:15:18:26 | TwoPartClass | Partial.cs:9:17:9:23 | Method2 |
79
| Partial.cs:18:15:18:26 | TwoPartClass | Partial.cs:22:18:22:39 | PartialMethodWithBody1 |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
| Partial.cs:21:20:21:31 | TwoPartClass | Partial.cs:21:45:21:47 | {...} |
12
| Partial.cs:43:15:43:33 | OnePartPartialClass | Partial.cs:43:15:43:33 | {...} |
23
| Partial.cs:51:12:51:26 | NonPartialClass | Partial.cs:51:40:51:42 | {...} |
34
| PartialMultipleFiles1.cs:1:22:1:41 | PartialMultipleFiles | PartialMultipleFiles1.cs:1:22:1:41 | {...} |

csharp/ql/test/library-tests/partial/PrintAst.expected

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
Partial.cs:
22
# 3| [Class] TwoPartClass
3-
# 6| 4: [InstanceConstructor] TwoPartClass
4-
#-----| 2: (Parameters)
5-
# 6| 0: [Parameter] obj
6-
# 6| -1: [TypeMention] object
73
# 8| 5: [Method] PartialMethodWithoutBody1
84
# 8| -1: [TypeMention] Void
95
# 9| 6: [Method] Method2
106
# 9| -1: [TypeMention] Void
117
# 9| 4: [BlockStmt] {...}
12-
# 22| 7: [Method] PartialMethodWithBody1
8+
# 21| 7: [InstanceConstructor] TwoPartClass
9+
#-----| 2: (Parameters)
10+
# 6| 0: [Parameter] obj
11+
# 6| -1: [TypeMention] object
12+
# 21| 4: [BlockStmt] {...}
13+
# 22| 8: [Method] PartialMethodWithBody1
1314
# 7| -1: [TypeMention] Void
1415
# 22| 4: [BlockStmt] {...}
15-
# 23| 8: [Method] Method3
16+
# 23| 9: [Method] Method3
1617
# 23| -1: [TypeMention] Void
1718
# 23| 4: [BlockStmt] {...}
18-
# 24| 9: [Field] _backingField
19+
# 24| 10: [Field] _backingField
1920
# 24| -1: [TypeMention] object
20-
# 26| 10: [Property] PartialProperty1
21+
# 26| 11: [Property] PartialProperty1
2122
# 11| -1: [TypeMention] object
2223
# 26| -1: [TypeMention] object
2324
# 28| 3: [Getter] get_PartialProperty1
@@ -32,10 +33,10 @@ Partial.cs:
3233
# 29| 0: [AssignExpr] ... = ...
3334
# 29| 0: [FieldAccess] access to field _backingField
3435
# 29| 1: [ParameterAccess] access to parameter value
35-
# 31| 11: [Field] _backingArray
36+
# 31| 12: [Field] _backingArray
3637
# 31| -1: [TypeMention] Object[]
3738
# 31| 1: [TypeMention] object
38-
# 33| 12: [Indexer] Item
39+
# 33| 13: [Indexer] Item
3940
# 13| -1: [TypeMention] object
4041
# 33| -1: [TypeMention] object
4142
#-----| 1: (Parameters)
@@ -61,7 +62,7 @@ Partial.cs:
6162
# 36| -1: [FieldAccess] access to field _backingArray
6263
# 36| 0: [ParameterAccess] access to parameter index
6364
# 36| 1: [ParameterAccess] access to parameter value
64-
# 40| 13: [Event] PartialEvent1
65+
# 40| 14: [Event] PartialEvent1
6566
# 15| -1: [TypeMention] EventHandler
6667
# 40| 3: [AddEventAccessor] add_PartialEvent1
6768
#-----| 2: (Parameters)

0 commit comments

Comments
 (0)