Looks good to me. Thank for addressing my comments in another email thread, 
Edhaya.
Reviewed-by: Sunny Wang <sunny.w...@arm.com>
Cc Sam for his awareness.

-----Original Message-----
From: G Edhaya Chandran <edhaya.chand...@arm.com>
Sent: 31 January 2023 17:04
To: devel@edk2.groups.io
Cc: G Edhaya Chandran <edhaya.chand...@arm.com>; Barton Gao 
<gao...@byosoft.com.cn>; Carolyn Gjertsen <carolyn.gjert...@amd.com>; Samer 
El-Haj-Mahmoud <samer.el-haj-mahm...@arm.com>; Sunny Wang <sunny.w...@arm.com>
Subject: [PATCH] UEFI-SCT: SctPkg: Replaced the incorrect references 
RANDOM_NAME_PROTOCOL to RANDOM_NUMBER_PROTOCOL

From: edhay <edhaya.chand...@arm.com>

Replaced the incorrect references RANDOM_NAME_PROTOCOL to RANDOM_NUMBER_PROTOCOL
9 instances were replaced

Please find more details in the ticket: 
https://bugzilla.tianocore.org/show_bug.cgi?id=4328

Cc: Barton Gao <gao...@byosoft.com.cn>
Cc: Carolyn Gjertsen <carolyn.gjert...@amd.com>
Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahm...@arm.com>
Cc: Sunny Wang <sunny.w...@arm.com>

Signed-off-by: G Edhaya Chandran<edhaya.chand...@arm.com>
---
 .../BlackBoxTest/RandomNumberBBTestConformance.c       | 10 +++++-----
 .../BlackBoxTest/RandomNumberBBTestFunction.c          |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/RandomNumber/BlackBoxTest/RandomNumberBBTestConformance.c
 
b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/RandomNumber/BlackBoxTest/RandomNumberBBTestConformance.c
index 47e7800f..5e55f639 100644
--- 
a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/RandomNumber/BlackBoxTest/RandomNumberBBTestConformance.c
+++ 
b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/RandomNumber/BlackBoxTest/RandomNumberBBTestConformance.c
@@ -223,7 +223,7 @@ BBTestGetRNGConformanceTestCheckpoint1 (
                    StandardLib,
                    EFI_TEST_ASSERTION_FAILED,
                    gTestGenericFailureGuid,
-                   L"RANDOM_NAME_PROTOCOL.GetInfo - GetInfo() is not supported 
or EFI_DEVICE_ERROR",
+                   L"RANDOM_NUMBER_PROTOCOL.GetInfo - GetInfo() is not 
supported or EFI_DEVICE_ERROR",
                    L"%a:%d: Status - %r",
                    __FILE__,
                    (UINTN)__LINE__,
@@ -303,7 +303,7 @@ BBTestGetRNGConformanceTestCheckpoint1 (
                  StandardLib,
                  AssertionType,
                  gConformanceTestAssertionGuid002,
-                 L"RANDOM_NAME_PROTOCOL.GetRNG - GetRNG() returns 
EFI_INVALID_PARAMETER when RNGValueLength is 0",
+                 L"RANDOM_NUMBER_PROTOCOL.GetRNG - GetRNG() returns 
EFI_INVALID_PARAMETER when RNGValueLength is 0",
                  L"%a:%d: Status - %r",
                  __FILE__,
                  (UINTN)__LINE__,
@@ -326,7 +326,7 @@ BBTestGetRNGConformanceTestCheckpoint1 (
                  StandardLib,
                  AssertionType,
                  gConformanceTestAssertionGuid003,
-                 L"RANDOM_NAME_PROTOCOL.GetRNG - GetRNG() returns 
EFI_INVALID_PARAMETER when RNGValue is NULL",
+                 L"RANDOM_NUMBER_PROTOCOL.GetRNG - GetRNG() returns 
EFI_INVALID_PARAMETER when RNGValue is NULL",
                  L"%a:%d: Status - %r",
                  __FILE__,
                  (UINTN)__LINE__,
@@ -352,7 +352,7 @@ BBTestGetRNGConformanceTestCheckpoint1 (
                  StandardLib,
                  AssertionType,
                  gConformanceTestAssertionGuid004,
-                 L"RANDOM_NAME_PROTOCOL.GetRNG - GetRNG() returns 
EFI_INVALID_PARAMETER when RNGValueLength is 0",
+                 L"RANDOM_NUMBER_PROTOCOL.GetRNG - GetRNG() returns 
EFI_INVALID_PARAMETER when RNGValueLength is 0",
                  L"%a:%d: Status - %r",
                  __FILE__,
                  (UINTN)__LINE__,
@@ -375,7 +375,7 @@ BBTestGetRNGConformanceTestCheckpoint1 (
                  StandardLib,
                  AssertionType,
                  gConformanceTestAssertionGuid005,
-                 L"RANDOM_NAME_PROTOCOL.GetRNG - GetRNG() returns 
EFI_INVALID_PARAMETER when RNGValue is NULL",
+                 L"RANDOM_NUMBER_PROTOCOL.GetRNG - GetRNG() returns 
EFI_INVALID_PARAMETER when RNGValue is NULL",
                  L"%a:%d: Status - %r",
                  __FILE__,
                  (UINTN)__LINE__,
diff --git 
a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/RandomNumber/BlackBoxTest/RandomNumberBBTestFunction.c
 
b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/RandomNumber/BlackBoxTest/RandomNumberBBTestFunction.c
index df879e4c..23c8e730 100644
--- 
a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/RandomNumber/BlackBoxTest/RandomNumberBBTestFunction.c
+++ 
b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/RandomNumber/BlackBoxTest/RandomNumberBBTestFunction.c
@@ -248,7 +248,7 @@ BBTestGetInfoFunctionTestCheckpoint1 (
                  StandardLib,
                  AssertionType,
                  gFunctionTestAssertionGuid002,
-                 L"RANDOM_NAME_PROTOCOL.GetInfo - GetInfo() returns 
EFI_SUCCESS with valid parameters",
+                 L"RANDOM_NUMBER_PROTOCOL.GetInfo - GetInfo() returns 
EFI_SUCCESS with valid parameters",
                  L"%a:%d: Status - %r, RNGAlgorithmListSize - %d",
                  __FILE__,
                  (UINTN)__LINE__,
@@ -271,7 +271,7 @@ BBTestGetInfoFunctionTestCheckpoint1 (
                    StandardLib,
                    AssertionType,
                    gFunctionTestAssertionGuid003,
-                   L"RANDOM_NAME_PROTOCOL.GetInfo - GetInfo() should returns 
valid algo",
+                   L"RANDOM_NUMBER_PROTOCOL.GetInfo - GetInfo() should returns 
valid algo",
                    L"%a:%d:",
                    __FILE__,
                    (UINTN)__LINE__
@@ -316,7 +316,7 @@ BBTestGetRNGFunctionTestCheckpoint1 (
                    StandardLib,
                    EFI_TEST_ASSERTION_FAILED,
                    gTestGenericFailureGuid,
-                   L"RANDOM_NAME_PROTOCOL.GetInfo - GetInfo() is not supported 
or EFI_DEVICE_ERROR",
+                   L"RANDOM_NUMBER_PROTOCOL.GetInfo - GetInfo() is not 
supported or EFI_DEVICE_ERROR",
                    L"%a:%d: Status - %r",
                    __FILE__,
                    (UINTN)__LINE__,
@@ -400,7 +400,7 @@ BBTestGetRNGFunctionTestCheckpoint1 (
                    StandardLib,
                    AssertionType,
                    gFunctionTestAssertionGuid004,
-                   L"RANDOM_NAME_PROTOCOL.GetRNG - GetRNG() should returns 
EFI_SUCCESS with valid parameters",
+                   L"RANDOM_NUMBER_PROTOCOL.GetRNG - GetRNG() should returns 
EFI_SUCCESS with valid parameters",
                    L"%a:%d: Status - %r",
                    __FILE__,
                    (UINTN)__LINE__,
--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#99358): https://edk2.groups.io/g/devel/message/99358
Mute This Topic: https://groups.io/mt/96657051/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to