10.12., 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit f6c14f6c authored by di68kap's avatar di68kap

- sync commit

parent 74bb67dd
......@@ -15,7 +15,7 @@ testdata/*.pdf
*.old
DEBUG*
LOGS
REPORT
**/REPORT
external_resources/
tmp/*
test/tmp*
......
Test of parser: "LB"
====================
Match-test "1"
--------------
### Test-code:
### AST
(LB
""
""
)
Fail-test "10"
--------------
### Test-code:
### Messages:
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Test of parser: "GAP"
=====================
Match-test "1"
--------------
### Test-code:
### AST
(GAP
(:RegExp
""
""
""
)
(:Whitespace
" "
)
)
Match-test "2"
--------------
### Test-code:
% Comment
### AST
(GAP
(:RegExp
""
""
""
)
(:Whitespace
""
""
)
)
Match-test "3"
--------------
### Test-code:
### AST
(GAP
(:RegExp
""
""
""
""
)
(:Whitespace
" "
)
)
Fail-test "10"
--------------
### Test-code:
### Messages:
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Fail-test "11"
--------------
### Test-code:
% Comment
% Comment
### Messages:
Error: Parser stopped before end! trying to recover...
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Test of parser: "PARSEP"
========================
Match-test "1"
--------------
### Test-code:
### AST
(PARSEP
""
""
""
)
Match-test "2"
--------------
### Test-code:
% Comment
### AST
(PARSEP
""
""
""
)
Match-test "3"
--------------
### Test-code:
### AST
(PARSEP
""
""
""
)
Match-test "4"
--------------
### Test-code:
% Comment
% Comment
### AST
(PARSEP
""
""
""
)
Match-test "5"
--------------
### Test-code:
% Comment
% Comment
% Comment
### AST
(PARSEP
""
""
""
)
Fail-test "10"
--------------
### Test-code:
### Messages:
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Fail-test "11"
--------------
### Test-code:
### Messages:
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Fail-test "12"
--------------
### Test-code:
% Comment
### Messages:
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Fail-test "13"
--------------
### Test-code:
% Comment
% Comment
% Comment
### Messages:
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Test of parser: "WSPC"
======================
Match-test "1"
--------------
### Test-code:
### AST
(WSPC
" "
)
Match-test "2"
--------------
### Test-code:
% Comment
### AST
(WSPC
(:RegExp
" "
)
(:RegExp
"% Comment"
)
)
Match-test "3"
--------------
### Test-code:
### AST
(WSPC
" "
)
Match-test "4"
--------------
### Test-code:
% Comment
### AST
(WSPC
"% Comment"
)
Match-test "5"
--------------
### Test-code:
% Comment
### AST
(WSPC
(:RegExp
"% Comment"
)
(:RegExp
""
""
)
)
Match-test "6"
--------------
### Test-code:
% Comment
% Comment
### AST
(WSPC
(:RegExp
""
" "
)
(:RegExp
"% Comment"
)
(:RegExp
""
""
" "
)
(:RegExp
"% Comment"
)
(:RegExp
""
""
" "
)
)
Match-test "7"
--------------
### Test-code:
### AST
(WSPC
""
""
""
" "
)
Fail-test "10"
--------------
### Test-code:
X
### Messages:
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Test of parser: "LFF"
=====================
Match-test "1"
--------------
### Test-code:
### AST
(NEW_LINE
""
""
)
Match-test "2"
--------------
### Test-code:
% Comment
### AST
(NEW_LINE
""
""
)
Match-test "3"
--------------
### Test-code:
% Comment
### AST
(NEW_LINE
""
""
)
Match-test "4"
--------------
### Test-code:
### AST
(NEW_LINE
""
""
)
Fail-test "10"
--------------
### Test-code:
### Messages:
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Test of parser: "LF"
====================
Match-test "1"
--------------
### Test-code:
### AST
(LF
(NEW_LINE
""
""
)
)
Match-test "2"
--------------
### Test-code:
% Comment
### AST
(LF
(NEW_LINE
""
""
)
(:RegExp
"% Comment"
)
)
Match-test "3"
--------------
### Test-code:
% Comment
% Comment
### AST
(LF
(NEW_LINE
""
""
)
(:RegExp
"% Comment"
)
(:RegExp
""
""
)
(:RegExp
"% Comment"
)
(:RegExp
""
""
)
)
Fail-test "10"
--------------
### Test-code:
### Messages:
Error: Parser stopped before end! trying to recover...
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
\ No newline at end of file
Test of parser: "text"
======================
Match-test "1"
--------------
### Test-code:
Some plain text
### AST
(text
"Some plain text"
)
Fail-test "10"
--------------
### Test-code:
Low-level text must not contain \& escaped characters.
### Messages:
Error: Parser stopped before end! trying to recover...
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Fail-test "11"
--------------
### Test-code:
Low-level text must not contain ] [ brackets.
### Messages:
Error: Parser stopped before end! trying to recover...
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Fail-test "12"
--------------
### Test-code:
Low-level text must not contain { environments }.
### Messages:
Error: Parser stopped before end! trying to recover...
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Fail-test "13"
--------------
### Test-code:
Low-level text must not contain any \commands.
### Messages:
Error: Parser stopped before end! trying to recover...
Error: Parser did not match! Invalid source file?
Most advanced: None
Last match: None;
Test of parser: "text_element"
==============================
Match-test "1"
--------------
### Test-code:
\command
### AST
(generic_command
(CMDNAME
"\command"
)
)
Match-test "2"
--------------
### Test-code:
\textbackslash