| | |
| | | |
| | | #define BOOST_TEST_MODULE standard_license_test |
| | | |
| | | #include <boost/test/unit_test.hpp> |
| | |
| | | #include <iostream> |
| | | #include "../../src/library/ini/SimpleIni.h" |
| | | #include "generate-license.h" |
| | | #include "../../src/library/base/FileUtils.hpp" |
| | | #include "../../src/library/base/file_utils.hpp" |
| | | |
| | | namespace license { |
| | | namespace test { |
| | |
| | | using namespace license; |
| | | using namespace std; |
| | | |
| | | //测试一个通用的许可证 |
| | | /** |
| | | * Test a generic license, passing a bad license number trough the api. |
| | | * see projects/DEFAULT/include/licensecc/DEFAULT/licensecc_properties.h (magic should be 0) |