"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/test/unittests/shared/SerialKeyEditionTests.cpp" between
synergy-core-1.14.4.37-stable.tar.gz and synergy-core-1.14.5.13-stable.tar.gz

About: Synergy is software for sharing one mouse and one keyboard between multiple computers on your desk allowing to seamlessly move the mouse cursor from one screen to another (works on Linux, Windows and Mac OS X). Synergy 1.

SerialKeyEditionTests.cpp  (synergy-core-1.14.4.37-stable):SerialKeyEditionTests.cpp  (synergy-core-1.14.5.13-stable)
skipping to change at line 67 skipping to change at line 67
EXPECT_EQ("Synergy 1 Business", edition.getDisplayName()); EXPECT_EQ("Synergy 1 Business", edition.getDisplayName());
} }
TEST(SerialKeyEditionTests, SetEditionBasicChina) TEST(SerialKeyEditionTests, SetEditionBasicChina)
{ {
SerialKeyEdition edition; SerialKeyEdition edition;
edition.setType(kBasic_China); edition.setType(kBasic_China);
EXPECT_EQ(kBasic_China, edition.getType()); EXPECT_EQ(kBasic_China, edition.getType());
EXPECT_EQ(SerialKeyEdition::BASIC_CHINA, edition.getName()); EXPECT_EQ(SerialKeyEdition::BASIC_CHINA, edition.getName());
EXPECT_EQ("Synergy 中文版", edition.getDisplayName()); EXPECT_EQ("Synergy 中文版", edition.getDisplayName());
EXPECT_TRUE(edition.isChina());
} }
TEST(SerialKeyEditionTests, SetEditionProChina) TEST(SerialKeyEditionTests, SetEditionProChina)
{ {
SerialKeyEdition edition; SerialKeyEdition edition;
edition.setType(kPro_China); edition.setType(kPro_China);
EXPECT_EQ(kPro_China, edition.getType()); EXPECT_EQ(kPro_China, edition.getType());
EXPECT_EQ(SerialKeyEdition::PRO_CHINA, edition.getName()); EXPECT_EQ(SerialKeyEdition::PRO_CHINA, edition.getName());
EXPECT_EQ("Synergy Pro 中文版", edition.getDisplayName()); EXPECT_EQ("Synergy Pro 中文版", edition.getDisplayName());
EXPECT_TRUE(edition.isChina());
} }
TEST(SerialKeyEditionTests, NameConstructor) TEST(SerialKeyEditionTests, NameConstructor)
{ {
SerialKeyEdition edition(SerialKeyEdition::BUSINESS); SerialKeyEdition edition(SerialKeyEdition::BUSINESS);
EXPECT_EQ(kBusiness, edition.getType()); EXPECT_EQ(kBusiness, edition.getType());
EXPECT_TRUE(edition.isValid()); EXPECT_TRUE(edition.isValid());
} }
TEST(SerialKeyEditionTests, isValid) TEST(SerialKeyEditionTests, isValid)
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)