Skip to content

Commit

Permalink
fixup! chore: CI to test CPP SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaKasar committed Dec 3, 2024
1 parent 09a269e commit cc6a007
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/sdks/manage/src/cpp/sdk/cpptest/ManageSDKTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -828,17 +828,17 @@ void ManageSDKTest::GetLocalizationAdditionalInfo()

void ManageSDKTest::AddLocalizationAdditionalInfo()
{
Firebolt::Error error = Firebolt::Error::None;
std::string key = "testKey";
std::string value = "testValue";

Firebolt::IFireboltAccessor::Instance().LocalizationInterface().addAdditionalInfo(key, value, &error);
if (error == Firebolt::Error::None) {
cout << "Add AdditionalInfo is success" << endl;
} else {
std::string errorMessage = "Error: " + std::to_string(static_cast<int>(error));
throw std::runtime_error("AddLocalizationAdditionalInfo failed. " + errorMessage);
}
// Firebolt::Error error = Firebolt::Error::None;
// std::string key = "testKey";
// std::string value = "testValue";

// Firebolt::IFireboltAccessor::Instance().LocalizationInterface().addAdditionalInfo(key, value, &error);
// if (error == Firebolt::Error::None) {
// cout << "Add AdditionalInfo is success" << endl;
// } else {
// std::string errorMessage = "Error: " + std::to_string(static_cast<int>(error));
// throw std::runtime_error("AddLocalizationAdditionalInfo failed. " + errorMessage);
// }
}

void ManageSDKTest::RemoveLocalizationAdditionalInfo()
Expand Down

0 comments on commit cc6a007

Please sign in to comment.