Skip to content

Commit

Permalink
Removing duplicate logging caused due to 2 logging callbacks.
Browse files Browse the repository at this point in the history
  • Loading branch information
msft-gumunjal committed Feb 2, 2022
1 parent 38e75c8 commit f85afb9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/UnitTest/test_quote_prov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -910,8 +910,6 @@ TEST(testQuoteProv, quoteProviderTestsData)
{
libary_type_t library = LoadFunctions();
ASSERT_TRUE(SGX_PLAT_ERROR_OK == sgx_ql_set_logging_function(Log));
ASSERT_TRUE(SGX_QL_SUCCESS == sgx_ql_set_logging_callback(Log));

//
// Get the data from the service
//
Expand All @@ -928,7 +926,6 @@ TEST(testQuoteProv, quoteProviderTestsData)
TEST(testQuoteProv, quoteProviderTestsV2DataFromService)
{
libary_type_t library = LoadFunctions();
ASSERT_TRUE(SGX_PLAT_ERROR_OK == sgx_ql_set_logging_function(Log));
ASSERT_TRUE(SGX_QL_SUCCESS == sgx_ql_set_logging_callback(Log));

//
Expand All @@ -950,8 +947,6 @@ TEST(testQuoteProv, quoteProviderTestsV2Data)
{
libary_type_t library = LoadFunctions();
ASSERT_TRUE(SGX_PLAT_ERROR_OK == sgx_ql_set_logging_function(Log));
ASSERT_TRUE(SGX_QL_SUCCESS == sgx_ql_set_logging_callback(Log));

//
// Get the data from the service
//
Expand All @@ -969,7 +964,6 @@ TEST(testQuoteProv, quoteProviderTestsV2Data)
TEST(testQuoteProv, quoteProviderTestsV3DataFromService)
{
libary_type_t library = LoadFunctions();
ASSERT_TRUE(SGX_PLAT_ERROR_OK == sgx_ql_set_logging_function(Log));
ASSERT_TRUE(SGX_QL_SUCCESS == sgx_ql_set_logging_callback(Log));

//
Expand All @@ -992,8 +986,6 @@ TEST(testQuoteProv, quoteProviderTestsV3Data)
{
libary_type_t library = LoadFunctions();
ASSERT_TRUE(SGX_PLAT_ERROR_OK == sgx_ql_set_logging_function(Log));
ASSERT_TRUE(SGX_QL_SUCCESS == sgx_ql_set_logging_callback(Log));

//
// Get the data from the service
//
Expand All @@ -1013,8 +1005,6 @@ TEST(testQuoteProv, testWithoutLogging)
{
libary_type_t library = LoadFunctions();
ASSERT_TRUE(SGX_PLAT_ERROR_OK == sgx_ql_set_logging_function(Log));
ASSERT_TRUE(SGX_QL_SUCCESS == sgx_ql_set_logging_callback(Log));

//
// Get the data from the service
//
Expand All @@ -1034,8 +1024,6 @@ TEST(testQuoteProv, testRestrictAccessToFilesystem)
{
libary_type_t library = LoadFunctions();
ASSERT_TRUE(SGX_PLAT_ERROR_OK == sgx_ql_set_logging_function(Log));
ASSERT_TRUE(SGX_QL_SUCCESS == sgx_ql_set_logging_callback(Log));

//
// Get the data from the service
//
Expand Down

0 comments on commit f85afb9

Please sign in to comment.