lullaby/tests/string_preprocessor_test.cc
// NOTE: StringPreprocessor is not actually functional by itself.  This file
// just tests the prefix processing.
StringPreprocessor is not actually functional by itself.  This file
just tests the prefix processing.
StringPreprocessor is not actually functional by itself . This file just tests the prefix processing .
TEST(SringPreprocessorTest, Localized) {
  StringPreprocessor::ProcessStringRequest result =
      StringLocalizer::CheckPrefix("@FeaturedTab");
  EXPECT_EQ("FeaturedTab", result.text);
  EXPECT_EQ(StringPreprocessor::kLocalize, result.mode);
  result = StringLocalizer::CheckPrefix("@SavedTab");
  EXPECT_EQ("SavedTab", result.text);
  EXPECT_EQ(StringPreprocessor::kLocalize, result.mode);
  result = StringLocalizer::CheckPrefix("@ProfileTab");
  EXPECT_EQ("ProfileTab", result.text);
  EXPECT_EQ(StringPreprocessor::kLocalize, result.mode);
}
TEST ( SringPreprocessorTest , Localized ) { StringPreprocessor :: ProcessStringRequest result = StringLocalizer :: CheckPrefix ( " " ) ; EXPECT_EQ ( " " , result . text ) ; EXPECT_EQ ( StringPreprocessor :: kLocalize , result . mode ) ; result = StringLocalizer :: CheckPrefix ( " " ) ; EXPECT_EQ ( " " , result . text ) ; EXPECT_EQ ( StringPreprocessor :: kLocalize , result . mode ) ; result = StringLocalizer :: CheckPrefix ( " " ) ; EXPECT_EQ ( " " , result . text ) ; EXPECT_EQ ( StringPreprocessor :: kLocalize , result . mode ) ; }
NOTE: StringPreprocessor is not actually functional by itself.
NOTE : StringPreprocessor is not actually functional by itself .