Upravy z testování Filip

This commit is contained in:
2024-03-12 09:46:24 +01:00
parent 2bfc662b51
commit 22a97056f9
34 changed files with 1919 additions and 55 deletions

View File

@@ -83,6 +83,7 @@ bool LicenceGenerator::processInputConfiguration()
}
else
{
cout << "file: " << fileName << "\n";
throw LicenceException((int)GeneralError::FileOpenError, "Unable to open the config file.");
}
@@ -118,15 +119,15 @@ void LicenceGenerator::createLicenceELC2()
switch (this->licIdentification.licCompatibility)
{
case 1:
{
Generator::Licence2 licence = Generator::Licence2(licData.cid,licData.csd,licData.doc);
licence.createLicence();
/*
licence.createLicence();
// LicenceELC21 licence = LicenceELC21(this->licData);
// licence.createLicence();
*/
break;
break;
}
default: throw LicenceException((int)GeneralError::CompatibilityTypeNotImplemented, "Compatibility not implemented.");
}
}
void LicenceGenerator::createLicenceELC3()