@@ -299,34 +299,33 @@ void testFile(const std::string& fname) {
299299// twice: first with the existing Element::fromJSONFile() and then
300300// the second time with Parser6. Both JSON trees are then compared.
301301TEST (ParserTest, file) {
302- vector<string> configs;
303- configs.push_back (" advanced.json" );
304- configs.push_back (" all-keys.json" );
305- configs.push_back (" all-options.json" );
306- configs.push_back (" backends.json" );
307- configs.push_back (" classify.json" );
308- configs.push_back (" classify2.json" );
309- configs.push_back (" comments.json" );
310- configs.push_back (" config-backend.json" );
311- configs.push_back (" dhcpv4-over-dhcpv6.json" );
312- configs.push_back (" duid.json" );
313- configs.push_back (" global-reservations.json" );
314- configs.push_back (" ha-hot-standby-server1-with-tls.json" );
315- configs.push_back (" ha-hot-standby-server2.json" );
316- configs.push_back (" hooks.json" );
317- configs.push_back (" iPXE.json" );
318- configs.push_back (" leases-expiration.json" );
319- configs.push_back (" multiple-options.json" );
320- configs.push_back (" mysql-reservations.json" );
321- configs.push_back (" pgsql-reservations.json" );
322- configs.push_back (" reservations.json" );
323- configs.push_back (" several-subnets.json" );
324- configs.push_back (" shared-network.json" );
325- configs.push_back (" simple.json" );
326- configs.push_back (" softwire46.json" );
327- configs.push_back (" stateless.json" );
328- configs.push_back (" tee-times.json" );
329- configs.push_back (" with-ddns.json" );
302+ vector<string> configs = { " advanced.json" ,
303+ " all-keys.json" ,
304+ " all-options.json" ,
305+ " backends.json" ,
306+ " classify.json" ,
307+ " classify2.json" ,
308+ " comments.json" ,
309+ " config-backend.json" ,
310+ " dhcpv4-over-dhcpv6.json" ,
311+ " duid.json" ,
312+ " global-reservations.json" ,
313+ " ha-hot-standby-server1-with-tls.json" ,
314+ " ha-hot-standby-server2.json" ,
315+ " hooks.json" ,
316+ " iPXE.json" ,
317+ " leases-expiration.json" ,
318+ " multiple-options.json" ,
319+ " mysql-reservations.json" ,
320+ " pgsql-reservations.json" ,
321+ " reservations.json" ,
322+ " several-subnets.json" ,
323+ " shared-network.json" ,
324+ " simple.json" ,
325+ " softwire46.json" ,
326+ " stateless.json" ,
327+ " tee-times.json" ,
328+ " with-ddns.json" };
330329
331330 for (unsigned i = 0 ; i<configs.size (); i++) {
332331 testFile (string (CFG_EXAMPLES) + " /" + configs[i]);
0 commit comments