From 8553a8d63f97cfa8d64b5b2260e81f8c896a8398 Mon Sep 17 00:00:00 2001
From: nancy.liao <huihui.liao@greentest.com.cn>
Date: 周五, 23 5月 2025 18:36:03 +0800
Subject: [PATCH] 修改部分因为标准原因的报错

---
 test/functional/crack_test.cpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/functional/crack_test.cpp b/test/functional/crack_test.cpp
index bb437d7..31fa782 100644
--- a/test/functional/crack_test.cpp
+++ b/test/functional/crack_test.cpp
@@ -1,3 +1,4 @@
+
 #define BOOST_TEST_MODULE standard_license_test
 
 #include <boost/test/unit_test.hpp>
@@ -9,7 +10,7 @@
 #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 {
@@ -17,6 +18,7 @@
 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)
@@ -30,7 +32,7 @@
 	std::copy(licLocation.begin(), licLocation.end(), location.licenseData);
 	// magic should be 0 for this build...
 	CallerInformations callInfo{{0}, {0}, 42};
-	const EVENT_TYPE result = acquire_license(&callInfo, &location, &license);
+	const LCC_EVENT_TYPE result = acquire_license(&callInfo, &location, &license);
 	BOOST_CHECK_EQUAL(result, LICENSE_CORRUPTED);
 }
 

--
Gitblit v1.9.1