source: tests/.expect/parseconfig.txt @ 9939dc3

ADTast-experimentalpthread-emulationqualifiedEnum
Last change on this file since 9939dc3 was 480389d2, checked in by Jacob Prud'homme <jafprudhomme@…>, 3 years ago

Wrote test suite for parse_config

  • Property mode set to 100644
File size: 898 bytes
Line 
1Different types of destination addresses
2Stop cost: 1
3Number of students: 2
4Number of stops: 2
5Maximum number of students: 5
6Timer delay: 2
7Groupoff delay: 10
8Conductor delay: 5
9Parental delay: 5
10Number of couriers: 1
11Maximum student delay: 10
12Maximum student trips: 3
13
14Open_Failure thrown when config file does not exist
15Failed to open the config file
16
17Missing_Config_Entries thrown when config file is missing entries we want
18The config file is missing 1 entry.
19
20Parse_Failure thrown when an entry cannot be parsed
21Config entry AnothaOne could not be parsed. It has value DjKhaled.
22
23Validation_Failure thrown when an entry fails validation
24Config entry StopCost could not be validated. It has value -1.
25
26No error is thrown when validation succeeds
27Stop cost: 1
28
29A custom parse function can be accepted
30Stop cost: 100
31
32Custom parse and validation functions can be provided together
33Stop cost: 100
Note: See TracBrowser for help on using the repository browser.