serenity/Userland/Libraries/LibCpp/Tests
Itamar 832e9c6e02 LibCpp: Add regression tests for the parser
For each .cpp file in the test suite data, there is a .ast file that
represents the "known good" baseline of the parser result.

Each .cpp file goes through the parser, and the result of
invoking `ASTNode::dump()` on the root node is compared to the
baseline to find regressions.

We also check that there were no parser errors when parsing the .cpp
files.
2021-05-19 23:19:07 +02:00
..
function-decl.ast LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
function-decl.cpp LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
if-else.ast LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
if-else.cpp LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
local-vars.ast LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
local-vars.cpp LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
strace.ast LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
strace.cpp LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
struct.ast LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
struct.cpp LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00