Argyrios Kyrtzidis
bea79d48c1
Fix python lint issue
2020-03-18 17:14:05 -07:00
Argyrios Kyrtzidis
1882b50555
[libSyntax] Enhance incremental re-parsing testing to also check whether unexpected diagnostics were emitted
...
Enhances `swift-syntax-test` to output the parser diagnostics so we can verify that
if the incremental parse resulted in parser diagnostics, those diagnostics were also emitted during the full parse.
2020-03-18 11:52:21 -07:00
Saleem Abdulrasool
0f0098265c
incrparse: move include to top
...
Address feedback from ahoppen. NFC.
2018-12-04 19:46:03 -08:00
Saleem Abdulrasool
2793b64491
incrparse: use python to diff rather than diff
...
Use the python library `difflib` which is part of a standard python
installation to generate the diff. This allows us to run the tool on
Windows wihtout needing external tools installed.
2018-12-04 13:26:52 -08:00
Pavol Vaskovic
53cd115b0e
[Gardening] Fix W291 trailing whitespace
2018-11-28 16:57:23 +01:00
Alex Hoppen
da7cdbb122
[libSyntax] Add test cases for ByteTree serialization and deserialization
2018-08-21 10:55:15 -07:00
Alex Hoppen
52acc04fa7
[libSyntax] Add test case to match the incrementally transferred syntax tree
2018-07-25 09:58:53 -07:00
Alex Hoppen
d926b74836
[incrParse] Add test cases to test the incremental syntax tree transfer
2018-07-24 16:32:23 -07:00
Alex Hoppen
d9d5afd15a
[incrParse] Refactor the test utility to be more modular
...
This way we can use the same core of the test utility to verify
round-tripness of incrementally transferring the syntax tree to
swiftSyntax.
2018-07-19 14:47:58 -07:00