From a6913e37611dec0f559f888c9a467d692c25a9a4 Mon Sep 17 00:00:00 2001 From: Damien Nguyen Date: Wed, 22 Jan 2025 13:58:38 +0100 Subject: [PATCH] Fix test name clashing issues --- .../test_gxf_core_GxfCreateEntityAndGetItem.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/com_nvidia_gxf/gxf/core/tests/test_gxf_core_GxfCreateEntityAndGetItem.cpp b/com_nvidia_gxf/gxf/core/tests/test_gxf_core_GxfCreateEntityAndGetItem.cpp index 0e86c3a..135ea34 100644 --- a/com_nvidia_gxf/gxf/core/tests/test_gxf_core_GxfCreateEntityAndGetItem.cpp +++ b/com_nvidia_gxf/gxf/core/tests/test_gxf_core_GxfCreateEntityAndGetItem.cpp @@ -13,7 +13,7 @@ license agreement from NVIDIA CORPORATION is strictly prohibited. #include "gxf/core/entity_item.hpp" #include "gxf/core/gxf.h" -TEST(Create_Entity, NULL_Value) { +TEST(Create_Entity, GetItem_NULL_Value) { gxf_uid_t eid = kNullUid; const GxfEntityCreateInfo entity_create_info = {0}; void* item_ptr = nullptr; @@ -22,7 +22,7 @@ TEST(Create_Entity, NULL_Value) { ASSERT_EQ(GxfContextDestroy(NULL), GXF_CONTEXT_INVALID); } -TEST(Create_Entity, valid_context) { +TEST(Create_Entity, GetItem_valid_context) { gxf_context_t context = kNullContext; ASSERT_EQ(GxfContextCreate(&context), GXF_SUCCESS); gxf_uid_t eid = kNullUid; @@ -34,7 +34,7 @@ TEST(Create_Entity, valid_context) { ASSERT_EQ(GxfContextDestroy(context), GXF_SUCCESS); } -TEST(Create_Entity, NULL_GxfEntityCreateInfo) { +TEST(Create_Entity, GetItem_NULL_GxfEntityCreateInfo) { gxf_context_t context = kNullContext; GXF_ASSERT_SUCCESS(GxfContextCreate(&context)); gxf_uid_t eid = kNullUid; @@ -43,7 +43,7 @@ TEST(Create_Entity, NULL_GxfEntityCreateInfo) { ASSERT_EQ(item_ptr, nullptr); } -TEST(Create_Entity, Invalid_GxfEntityCreateInfo) { +TEST(Create_Entity, GetItem_Invalid_GxfEntityCreateInfo) { gxf_context_t context = kNullContext; const char* InValid_Entity_Name = "__Entity1"; const GxfEntityCreateInfo entity_create_info{InValid_Entity_Name}; @@ -57,7 +57,7 @@ TEST(Create_Entity, Invalid_GxfEntityCreateInfo) { ASSERT_EQ(GxfContextDestroy(context), GXF_SUCCESS); } -TEST(Create_Entity, Multiple_Entity_with_same_name) { +TEST(Create_Entity, GetItem_Multiple_Entity_with_same_name) { gxf_context_t context = kNullContext; gxf_uid_t eid = kNullUid; gxf_uid_t eid1 = kNullUid; @@ -77,7 +77,7 @@ TEST(Create_Entity, Multiple_Entity_with_same_name) { ASSERT_EQ(GxfContextDestroy(context), GXF_SUCCESS); } -TEST(Create_Entity, NULL_eid) { +TEST(Create_Entity, GetItem_NULL_eid) { gxf_context_t context = kNullContext; const char* Valid_Entity_Name = "Entity"; GXF_ASSERT_SUCCESS(GxfContextCreate(&context));