Overview
Comment: | s_expressions-parsers-tests: improve coverage of Close_Current_List |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b150b39643305f120129d2a242d8a308 |
User & Date: | nat on 2017-07-05 20:57:42 |
Other Links: | manifest | tags |
Context
2017-07-06
| ||
20:51 | cron-tests: fix argument order in calls to Check check-in: d1dd5bc62e user: nat tags: trunk | |
2017-07-05
| ||
20:57 | s_expressions-parsers-tests: improve coverage of Close_Current_List check-in: b150b39643 user: nat tags: trunk | |
2017-06-26
| ||
20:11 | s_expressions-file_writers: add primitive to open or create when needed check-in: c30800d3c3 user: nat tags: trunk | |
Changes
Modified tests/natools-s_expressions-parsers-tests.adb from [bbf8438364] to [ff2d10e80b].
︙ | |||
152 153 154 155 156 157 158 159 160 161 162 163 164 165 | 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | + + + + + + + + + + + + | Last_Event : constant Events.Event := Parser.Current_Event; begin if Last_Event /= Events.End_Of_Input then Test.Fail ("Unexpected last event " & Events.Event'Image (Last_Event)); end if; end Check_Last_Event; Parser.Close_Current_List; Check_Byeond_Last_Event : declare Last_Event : constant Events.Event := Parser.Current_Event; begin if Last_Event /= Events.End_Of_Input then Test.Fail ("Unexpected bayond-last event " & Events.Event'Image (Last_Event)); end if; end Check_Byeond_Last_Event; end; exception when Error : others => Test.Report_Exception (Error); end Close_Current_List; procedure Lockable_Interface (Report : in out NT.Reporter'Class) is |
︙ |