Changeset b24cbaf for tests/configs/parseconfig.cfa
- Timestamp:
- Sep 12, 2024, 4:14:29 PM (7 weeks ago)
- Branches:
- master
- Children:
- 23fb819
- Parents:
- 406c806
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/configs/parseconfig.cfa
r406c806 rb24cbaf 50 50 sout | "Different types of destination addresses"; 51 51 52 parse_config( xstr(IN_DIR) "parseconfig -all.txt", entries, NUM_ENTRIES, parse_tabular_config_format );52 parse_config( xstr(IN_DIR) "parseconfig.all.txt", entries, NUM_ENTRIES, parse_tabular_config_format ); 53 53 54 54 sout | "Stop cost: " | config_params.stop_cost; … … 77 77 sout | "Missing_Config_Entries thrown when config file is missing entries we want"; 78 78 try { 79 parse_config( xstr(IN_DIR) "parseconfig -missing.txt", entries, NUM_ENTRIES, parse_tabular_config_format );79 parse_config( xstr(IN_DIR) "parseconfig.missing.txt", entries, NUM_ENTRIES, parse_tabular_config_format ); 80 80 } catch( Missing_Config_Entries * ex ) { 81 81 msg( ex ); … … 92 92 93 93 try { 94 parse_config( xstr(IN_DIR) "parseconfig -errors.txt", entry, 1, parse_tabular_config_format );94 parse_config( xstr(IN_DIR) "parseconfig.errors.txt", entry, 1, parse_tabular_config_format ); 95 95 } catch( Parse_Failure * ex ) { 96 96 msg( ex ); … … 106 106 107 107 try { 108 parse_config( xstr(IN_DIR) "parseconfig -errors.txt", entries, NUM_ENTRIES, parse_tabular_config_format );108 parse_config( xstr(IN_DIR) "parseconfig.errors.txt", entries, NUM_ENTRIES, parse_tabular_config_format ); 109 109 } catch( Validation_Failure * ex ) { 110 110 msg( ex ); … … 115 115 sout | "No error is thrown when validation succeeds"; 116 116 config_params.stop_cost = -1; // Reset value 117 parse_config( xstr(IN_DIR) "parseconfig -all.txt", entries, NUM_ENTRIES, parse_tabular_config_format );117 parse_config( xstr(IN_DIR) "parseconfig.all.txt", entries, NUM_ENTRIES, parse_tabular_config_format ); 118 118 sout | "Stop cost: " | config_params.stop_cost; 119 119 sout | nl; … … 126 126 127 127 config_params.stop_cost = -1; // Reset value 128 parse_config( xstr(IN_DIR) "parseconfig -all.txt", entries, NUM_ENTRIES, parse_tabular_config_format );128 parse_config( xstr(IN_DIR) "parseconfig.all.txt", entries, NUM_ENTRIES, parse_tabular_config_format ); 129 129 130 130 sout | "Stop cost: " | config_params.stop_cost; … … 139 139 140 140 config_params.stop_cost = -1; // Reset value 141 parse_config( xstr(IN_DIR) "parseconfig -all.txt", entries, NUM_ENTRIES, parse_tabular_config_format );141 parse_config( xstr(IN_DIR) "parseconfig.all.txt", entries, NUM_ENTRIES, parse_tabular_config_format ); 142 142 143 143 sout | "Stop cost: " | config_params.stop_cost;
Note: See TracChangeset
for help on using the changeset viewer.