From bfdf515f196a742b100bc32002cb899d1e0921c2 Mon Sep 17 00:00:00 2001 From: libing23 Date: Tue, 1 Aug 2023 17:30:22 +0800 Subject: [PATCH] Feature or Bugfix: BugfixDescription: tddfix Match-id-f81c0711f6b697aebaf34176c66b324399c8ba14 --- .../sa/test/unittest/src/sec_comp_manager_test.cpp | 8 ++++---- .../sa/test/unittest/src/sec_comp_service_mock_test.cpp | 6 +++--- .../sa/test/unittest/src/sec_comp_service_test.cpp | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/services/security_component_service/sa/test/unittest/src/sec_comp_manager_test.cpp b/services/security_component_service/sa/test/unittest/src/sec_comp_manager_test.cpp index 02c2760..380f6cb 100644 --- a/services/security_component_service/sa/test/unittest/src/sec_comp_manager_test.cpp +++ b/services/security_component_service/sa/test/unittest/src/sec_comp_manager_test.cpp @@ -31,10 +31,10 @@ static constexpr OHOS::HiviewDFX::HiLogLabel LABEL = { static constexpr double TEST_SIZE = 100.0; static constexpr uint32_t TEST_INVALID_SIZE = 0; static constexpr double TEST_COORDINATE = 100.0; -static constexpr uint32_t TEST_COLOR = 0xffffff; -static constexpr uint32_t TEST_COLOR_YELLOW = 0x7fff00; -static constexpr uint32_t TEST_COLOR_RED = 0xff0000; -static constexpr uint32_t TEST_COLOR_BLUE = 0x0000ff; +static constexpr uint32_t TEST_COLOR = 0xffffffff; +static constexpr uint32_t TEST_COLOR_YELLOW = 0xff7fff00; +static constexpr uint32_t TEST_COLOR_RED = 0xffff0000; +static constexpr uint32_t TEST_COLOR_BLUE = 0xff0000ff; static constexpr int32_t TEST_PID_1 = 1; static constexpr int32_t TEST_PID_2 = 2; diff --git a/services/security_component_service/sa/test/unittest/src/sec_comp_service_mock_test.cpp b/services/security_component_service/sa/test/unittest/src/sec_comp_service_mock_test.cpp index 087f1e8..7efdc84 100644 --- a/services/security_component_service/sa/test/unittest/src/sec_comp_service_mock_test.cpp +++ b/services/security_component_service/sa/test/unittest/src/sec_comp_service_mock_test.cpp @@ -40,9 +40,9 @@ static constexpr uint32_t HAP_TOKEN_ID = 537715419; static constexpr int32_t SA_ID = 3506; static constexpr double TEST_COORDINATE = 100.0; static constexpr double TEST_SIZE = 100.0; -static constexpr uint32_t TEST_COLOR_YELLOW = 0x7fff00; -static constexpr uint32_t TEST_COLOR_RED = 0xff0000; -static constexpr uint32_t TEST_COLOR_BLUE = 0x0000ff; +static constexpr uint32_t TEST_COLOR_YELLOW = 0xff7fff00; +static constexpr uint32_t TEST_COLOR_RED = 0xffff0000; +static constexpr uint32_t TEST_COLOR_BLUE = 0xff0000ff; static constexpr uint64_t TIME_CONVERSION_UNIT = 1000; static AccessTokenID g_selfTokenId = 0; diff --git a/services/security_component_service/sa/test/unittest/src/sec_comp_service_test.cpp b/services/security_component_service/sa/test/unittest/src/sec_comp_service_test.cpp index 6c339e3..5b6fe8e 100644 --- a/services/security_component_service/sa/test/unittest/src/sec_comp_service_test.cpp +++ b/services/security_component_service/sa/test/unittest/src/sec_comp_service_test.cpp @@ -41,9 +41,9 @@ static constexpr int32_t TEST_SC_ID = 1; static AccessTokenID g_selfTokenId = 0; static constexpr double TEST_COORDINATE = 100.0; static constexpr double TEST_SIZE = 100.0; -static constexpr uint32_t TEST_COLOR_YELLOW = 0x7fff00; -static constexpr uint32_t TEST_COLOR_RED = 0xff0000; -static constexpr uint32_t TEST_COLOR_BLUE = 0x0000ff; +static constexpr uint32_t TEST_COLOR_YELLOW = 0xff7fff00; +static constexpr uint32_t TEST_COLOR_RED = 0xffff0000; +static constexpr uint32_t TEST_COLOR_BLUE = 0xff0000ff; static constexpr uint64_t TIME_CONVERSION_UNIT = 1000; static std::string BuildLocationComponentInfo()