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