refs #452 updated tests/samples to reflect previous changes

This commit is contained in:
Klaus Basan
2015-09-23 19:45:23 +02:00
committed by Mathew Sutcliffe
parent c80f352710
commit 3e1e1070c1
15 changed files with 66 additions and 61 deletions

View File

@@ -29,7 +29,7 @@ namespace BlackSimTest
{
BlackMisc::registerMetadata();
QScopedPointer<CVPilotRulesReader> vPilotReader(new CVPilotRulesReader());
bool s = vPilotReader->read();
bool s = vPilotReader->read(false);
streamOut << "Read success: " << BlackMisc::boolToYesNo(s) << endl;
streamOut << "Read " << vPilotReader->countRulesLoaded() << " rules from " << vPilotReader->countFilesLoaded() << " files" << endl;
streamOut << "Distributors: " << vPilotReader->getRules().getSortedDistributors().join(", ");