| | |
| | | #include "../../src/library/ini/SimpleIni.h" |
| | | #include "generate-license.h" |
| | | #include "../../src/library/pc-identifiers.h" |
| | | #include <dbus/dbus.h> |
| | | |
| | | namespace fs = boost::filesystem; |
| | | using namespace license; |
| | | using namespace std; |
| | | |
| | | /* |
| | | BOOST_AUTO_TEST_CASE( default_volid_lic_file ) { |
| | | const string licLocation(PROJECT_TEST_TEMP_DIR "/volid_license.lic"); |
| | | PcSignature identifier_out; |
| | |
| | | { IDENTIFICATION_STRATEGY::DEFAULT, |
| | | IDENTIFICATION_STRATEGY::DISK_LABEL, |
| | | IDENTIFICATION_STRATEGY::DISK_NUM, |
| | | IDENTIFICATION_STRATEGY::ETHERNET }; |
| | | IDENTIFICATION_STRATEGY::ETHERNET |
| | | }; |
| | | const int num_strategies = sizeof(strategies) / sizeof(strategies[0]); |
| | | std::ifstream test_idfile_exist(idfileLocation); |
| | | if (!test_idfile_exist.good()) { |
| | |
| | | } |
| | | } |
| | | } |
| | | */ |
| | | BOOST_AUTO_TEST_CASE( ciiii ) { |
| | | cout << dbus_get_local_machine_id() << endl; |
| | | } |