Skip to content

Commit 64ee523

Browse files
authored
test: Align localication unit test class name with others (#61)
1 parent 51cdabf commit 64ee523

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/unit/localizationTest.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
#include "localization_impl.h"
2121
#include "mock_helper.h"
2222

23-
class LocalizationTest : public ::testing::Test, protected MockBase
23+
class LocalizationUTest : public ::testing::Test, protected MockBase
2424
{
2525
protected:
2626
Firebolt::Localization::LocalizationImpl localizationImpl_{mockHelper};
2727
};
2828

29-
TEST_F(LocalizationTest, Country)
29+
TEST_F(LocalizationUTest, Country)
3030
{
3131
auto expectedValue = jsonEngine.get_value("Localization.country").get<std::string>();
3232
mock("Localization.country");
@@ -37,13 +37,13 @@ TEST_F(LocalizationTest, Country)
3737
EXPECT_EQ(*result, expectedValue);
3838
}
3939

40-
TEST_F(LocalizationTest, CountryBadResponse)
40+
TEST_F(LocalizationUTest, CountryBadResponse)
4141
{
4242
mock_with_response("Localization.country", 12345);
4343
ASSERT_FALSE(localizationImpl_.country()) << "LocalizationImpl::country() did not return an error";
4444
}
4545

46-
TEST_F(LocalizationTest, PreferredAudioLanguages)
46+
TEST_F(LocalizationUTest, PreferredAudioLanguages)
4747
{
4848
mock("Localization.preferredAudioLanguages");
4949

@@ -56,14 +56,14 @@ TEST_F(LocalizationTest, PreferredAudioLanguages)
5656
EXPECT_EQ(resultSet, expectedSet);
5757
}
5858

59-
TEST_F(LocalizationTest, PreferredAudioLanguagesBadResponse)
59+
TEST_F(LocalizationUTest, PreferredAudioLanguagesBadResponse)
6060
{
6161
mock_with_response("Localization.preferredAudioLanguages", 12345);
6262
ASSERT_FALSE(localizationImpl_.preferredAudioLanguages())
6363
<< "LocalizationImpl::preferredAudioLanguages() did not return an error";
6464
}
6565

66-
TEST_F(LocalizationTest, PresentationLanguage)
66+
TEST_F(LocalizationUTest, PresentationLanguage)
6767
{
6868
auto expectedValue = jsonEngine.get_value("Localization.presentationLanguage").get<std::string>();
6969
mock("Localization.presentationLanguage");
@@ -74,14 +74,14 @@ TEST_F(LocalizationTest, PresentationLanguage)
7474
EXPECT_EQ(*result, expectedValue);
7575
}
7676

77-
TEST_F(LocalizationTest, PresentationLanguageBadResponse)
77+
TEST_F(LocalizationUTest, PresentationLanguageBadResponse)
7878
{
7979
mock_with_response("Localization.presentationLanguage", 67890);
8080
ASSERT_FALSE(localizationImpl_.presentationLanguage())
8181
<< "LocalizationImpl::presentationLanguage() did not return an error";
8282
}
8383

84-
TEST_F(LocalizationTest, subscribeOnCountryChanged)
84+
TEST_F(LocalizationUTest, subscribeOnCountryChanged)
8585
{
8686
mockSubscribe("Localization.onCountryChanged");
8787

@@ -92,7 +92,7 @@ TEST_F(LocalizationTest, subscribeOnCountryChanged)
9292
ASSERT_TRUE(result) << "error on unsubscribe ";
9393
}
9494

95-
TEST_F(LocalizationTest, subscribeOnPreferredAudioLanguagesChanged)
95+
TEST_F(LocalizationUTest, subscribeOnPreferredAudioLanguagesChanged)
9696
{
9797
mockSubscribe("Localization.onPreferredAudioLanguagesChanged");
9898

@@ -103,7 +103,7 @@ TEST_F(LocalizationTest, subscribeOnPreferredAudioLanguagesChanged)
103103
ASSERT_TRUE(result) << "error on unsubscribe ";
104104
}
105105

106-
TEST_F(LocalizationTest, subscribeOnPresentationLanguageChanged)
106+
TEST_F(LocalizationUTest, subscribeOnPresentationLanguageChanged)
107107
{
108108
mockSubscribe("Localization.onPresentationLanguageChanged");
109109

0 commit comments

Comments
 (0)