Gabriele Contini
2019-12-08 e0192d29a4fbeb668eb2a35be0f46e2676c9d045
test/library/LicenseReader_test.cpp
@@ -7,8 +7,8 @@
#include <licensecc_properties.h>
#include <licensecc_properties_test.h>
#include <licensecc/datatypes.h>
#include "../../src/library/api/datatypes.h"
#include "../../src/library/base/EventRegistry.h"
#include "../../src/library/os/os.h"
#include "../../src/library/LicenseReader.hpp"
@@ -73,7 +73,9 @@
   BOOST_CHECK(!registry.isGood());
   BOOST_CHECK_EQUAL(0, licenseInfos.size());
   BOOST_ASSERT(registry.getLastFailure() != NULL);
   BOOST_CHECK_EQUAL(ENVIRONMENT_VARIABLE_NOT_DEFINED, registry.getLastFailure()->event_type);
   BOOST_CHECK_MESSAGE((ENVIRONMENT_VARIABLE_NOT_DEFINED == registry.getLastFailure()->event_type) ||
                     (LICENSE_FILE_NOT_FOUND == registry.getLastFailure()->event_type),
                  "error as expected");
}
/**