Skip to content

Commit abbfda8

Browse files
committed
ASTDiff: Tests
Update Defects4J snapshots diff (5 cases)
1 parent 1c09b5e commit abbfda8

5 files changed

+11
-66
lines changed

src/test/resources/astDiff/PREV-SNAPSHOT/defects4j/Closure/148/src_com_google_javascript_jscomp_SourceMap.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4288,17 +4288,6 @@
42884288
"secondPos" : 5757,
42894289
"firstEndPos" : 4767,
42904290
"secondEndPos" : 5794
4291-
}, {
4292-
"firstType" : "QualifiedName",
4293-
"secondType" : "QualifiedName",
4294-
"firstLabel" : "mapping.id",
4295-
"secondLabel" : "mapping.startPosition",
4296-
"firstParentType" : "Assignment",
4297-
"secondParentType" : "Assignment",
4298-
"firstPos" : 4739,
4299-
"secondPos" : 5757,
4300-
"firstEndPos" : 4749,
4301-
"secondEndPos" : 5778
43024291
}, {
43034292
"firstType" : "ASSIGNMENT_OPERATOR",
43044293
"secondType" : "ASSIGNMENT_OPERATOR",

src/test/resources/astDiff/PREV-SNAPSHOT/defects4j/JacksonDatabind/10/src_main_java_com_fasterxml_jackson_databind_ser_AnyGetterWriter.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3342,17 +3342,6 @@
33423342
"secondPos" : 3346,
33433343
"firstEndPos" : 2795,
33443344
"secondEndPos" : 3347
3345-
}, {
3346-
"firstType" : "CastExpression",
3347-
"secondType" : "CastExpression",
3348-
"firstLabel" : "",
3349-
"secondLabel" : "",
3350-
"firstParentType" : "Assignment",
3351-
"secondParentType" : "Assignment",
3352-
"firstPos" : 2796,
3353-
"secondPos" : 3348,
3354-
"firstEndPos" : 2878,
3355-
"secondEndPos" : 3367
33563345
}, {
33573346
"firstType" : "SimpleName",
33583347
"secondType" : "SimpleName",

src/test/resources/astDiff/PREV-SNAPSHOT/defects4j/JacksonDatabind/79/src_main_java_com_fasterxml_jackson_databind_introspect_JacksonAnnotationIntrospector.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24809,11 +24809,11 @@
2480924809
"firstLabel" : "",
2481024810
"secondLabel" : "",
2481124811
"firstParentType" : "Assignment",
24812-
"secondParentType" : "Assignment",
24812+
"secondParentType" : "ReturnStatement",
2481324813
"firstPos" : 19850,
24814-
"secondPos" : 19929,
24814+
"secondPos" : 19976,
2481524815
"firstEndPos" : 19895,
24816-
"secondEndPos" : 19949
24816+
"secondEndPos" : 20021
2481724817
}, {
2481824818
"firstType" : "METHOD_INVOCATION_RECEIVER",
2481924819
"secondType" : "METHOD_INVOCATION_RECEIVER",
@@ -24822,31 +24822,31 @@
2482224822
"firstParentType" : "MethodInvocation",
2482324823
"secondParentType" : "MethodInvocation",
2482424824
"firstPos" : 19850,
24825-
"secondPos" : 19929,
24825+
"secondPos" : 19976,
2482624826
"firstEndPos" : 19862,
24827-
"secondEndPos" : 19941
24827+
"secondEndPos" : 19988
2482824828
}, {
2482924829
"firstType" : "SimpleName",
2483024830
"secondType" : "SimpleName",
2483124831
"firstLabel" : "objectIdInfo",
24832-
"secondLabel" : "ObjectIdInfo",
24832+
"secondLabel" : "objectIdInfo",
2483324833
"firstParentType" : "METHOD_INVOCATION_RECEIVER",
2483424834
"secondParentType" : "METHOD_INVOCATION_RECEIVER",
2483524835
"firstPos" : 19850,
24836-
"secondPos" : 19929,
24836+
"secondPos" : 19976,
2483724837
"firstEndPos" : 19862,
24838-
"secondEndPos" : 19941
24838+
"secondEndPos" : 19988
2483924839
}, {
2484024840
"firstType" : "SimpleName",
2484124841
"secondType" : "SimpleName",
2484224842
"firstLabel" : "withAlwaysAsId",
24843-
"secondLabel" : "empty",
24843+
"secondLabel" : "withAlwaysAsId",
2484424844
"firstParentType" : "MethodInvocation",
2484524845
"secondParentType" : "MethodInvocation",
2484624846
"firstPos" : 19863,
24847-
"secondPos" : 19942,
24847+
"secondPos" : 19989,
2484824848
"firstEndPos" : 19877,
24849-
"secondEndPos" : 19947
24849+
"secondEndPos" : 20003
2485024850
}, {
2485124851
"firstType" : "METHOD_INVOCATION_ARGUMENTS",
2485224852
"secondType" : "METHOD_INVOCATION_ARGUMENTS",

src/test/resources/astDiff/PREV-SNAPSHOT/defects4j/Math/21/src_main_java_org_apache_commons_math3_linear_RectangularCholeskyDecomposition.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2748,17 +2748,6 @@
27482748
"secondPos" : 3853,
27492749
"firstEndPos" : 3869,
27502750
"secondEndPos" : 3854
2751-
}, {
2752-
"firstType" : "ArrayAccess",
2753-
"secondType" : "ArrayAccess",
2754-
"firstLabel" : "",
2755-
"secondLabel" : "",
2756-
"firstParentType" : "Assignment",
2757-
"secondParentType" : "Assignment",
2758-
"firstPos" : 3870,
2759-
"secondPos" : 3855,
2760-
"firstEndPos" : 3884,
2761-
"secondEndPos" : 3867
27622751
}, {
27632752
"firstType" : "SimpleName",
27642753
"secondType" : "SimpleName",
@@ -2792,17 +2781,6 @@
27922781
"secondPos" : 3885,
27932782
"firstEndPos" : 3922,
27942783
"secondEndPos" : 3917
2795-
}, {
2796-
"firstType" : "ArrayAccess",
2797-
"secondType" : "ArrayAccess",
2798-
"firstLabel" : "",
2799-
"secondLabel" : "",
2800-
"firstParentType" : "Assignment",
2801-
"secondParentType" : "Assignment",
2802-
"firstPos" : 3902,
2803-
"secondPos" : 3885,
2804-
"firstEndPos" : 3916,
2805-
"secondEndPos" : 3897
28062784
}, {
28072785
"firstType" : "SimpleName",
28082786
"secondType" : "SimpleName",

src/test/resources/astDiff/PREV-SNAPSHOT/defects4j/Math/96/src_java_org_apache_commons_math_complex_Complex.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8578,17 +8578,6 @@
85788578
"secondPos" : 9266,
85798579
"firstEndPos" : 9267,
85808580
"secondEndPos" : 9267
8581-
}, {
8582-
"firstType" : "InfixExpression",
8583-
"secondType" : "InfixExpression",
8584-
"firstLabel" : "",
8585-
"secondLabel" : "",
8586-
"firstParentType" : "Assignment",
8587-
"secondParentType" : "Assignment",
8588-
"firstPos" : 9268,
8589-
"secondPos" : 9268,
8590-
"firstEndPos" : 9440,
8591-
"secondEndPos" : 9318
85928581
}, {
85938582
"firstType" : "SimpleName",
85948583
"secondType" : "SimpleName",

0 commit comments

Comments
 (0)