Extracts a table from a text block or a string array
All 6 scenarios hold
The formatter reads a table from either form the annotation accepts: a text block, or an array of string literals. Java and Kotlin both delimit a text block with three quotes.
The formatter reads a whole source file. It extracts every annotated table in the file, in the order the tables appear. The Table forms column names the form of each extracted table.
The layout of the array does not change what the formatter extracts, so both layouts share one row. The String array layout feature covers the layout itself.
expected outcome
broken scenario
| Scenario | Source lines | Table forms? |
|---|---|---|
| Java text block |
|
|
| Kotlin raw string, content on the opening line |
|
|
| String array, either layout |
|
|
| Two tables in one file |
|
|
| No annotated table |
| [] |