Collect tests to one file
This commit is contained in:
parent
3466e86526
commit
ed4f0e5c56
81
corpus/common_invocations.txt
Normal file
81
corpus/common_invocations.txt
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
===================================
|
||||||
|
Command invocation without argument
|
||||||
|
===================================
|
||||||
|
|
||||||
|
message()
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
(source_file
|
||||||
|
(command_invocation
|
||||||
|
(identifier)))
|
||||||
|
|
||||||
|
===============================================
|
||||||
|
Command invocation without argument with spaces
|
||||||
|
===============================================
|
||||||
|
|
||||||
|
message( )
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
(source_file
|
||||||
|
(command_invocation
|
||||||
|
(identifier)
|
||||||
|
(seperation (space))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
================================================
|
||||||
|
Command invocation without argument with newline
|
||||||
|
================================================
|
||||||
|
|
||||||
|
message(
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
(source_file
|
||||||
|
(command_invocation
|
||||||
|
(identifier)
|
||||||
|
(seperation
|
||||||
|
(line_ending (newline))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
====================================
|
||||||
|
Command invocation with one argument
|
||||||
|
====================================
|
||||||
|
|
||||||
|
message(STATUS)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
(source_file
|
||||||
|
(command_invocation
|
||||||
|
(identifier)
|
||||||
|
(arguments
|
||||||
|
(argument)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
=====================================
|
||||||
|
Command invocation with two arguments
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
message(STATUS Hello)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
(source_file
|
||||||
|
(command_invocation
|
||||||
|
(identifier)
|
||||||
|
(arguments
|
||||||
|
(argument)
|
||||||
|
(seperation (space))
|
||||||
|
(argument)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
|
@ -1,11 +0,0 @@
|
||||||
===================================
|
|
||||||
Command invocation without argument
|
|
||||||
===================================
|
|
||||||
|
|
||||||
message()
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
(source_file
|
|
||||||
(command_invocation
|
|
||||||
(identifier)))
|
|
|
@ -1,14 +0,0 @@
|
||||||
===============================================
|
|
||||||
Command invocation without argument with spaces
|
|
||||||
===============================================
|
|
||||||
|
|
||||||
message( )
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
(source_file
|
|
||||||
(command_invocation
|
|
||||||
(identifier)
|
|
||||||
(seperation (space))
|
|
||||||
)
|
|
||||||
)
|
|
|
@ -1,18 +0,0 @@
|
||||||
================================================
|
|
||||||
Command invocation without argument with newline
|
|
||||||
================================================
|
|
||||||
|
|
||||||
message(
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
(source_file
|
|
||||||
(command_invocation
|
|
||||||
(identifier)
|
|
||||||
(seperation
|
|
||||||
(line_ending (newline))
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
|
@ -1,16 +0,0 @@
|
||||||
====================================
|
|
||||||
Command invocation with one argument
|
|
||||||
====================================
|
|
||||||
|
|
||||||
message(STATUS)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
(source_file
|
|
||||||
(command_invocation
|
|
||||||
(identifier)
|
|
||||||
(arguments
|
|
||||||
(argument)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
|
@ -1,18 +0,0 @@
|
||||||
=====================================
|
|
||||||
Command invocation with two arguments
|
|
||||||
=====================================
|
|
||||||
|
|
||||||
message(STATUS Hello)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
(source_file
|
|
||||||
(command_invocation
|
|
||||||
(identifier)
|
|
||||||
(arguments
|
|
||||||
(argument)
|
|
||||||
(seperation (space))
|
|
||||||
(argument)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
Loading…
Reference in a new issue