test/unit_tests/preprocessor_test.cpp
TEST_F(PreprocessorTests, EmptyDefineList) {
  const char* file = "#define foo";
  bool result = fplbase::LoadFileWithDirectives(file, &file_, kEmptyDefines,
                                                &error_message_);
  EXPECT_TRUE(result);
  EXPECT_EQ(file_, std::string(file));
}
// An empty list of defines should also be valid.
An empty list of defines should also be valid.
An empty list of defines should also be valid .
TEST_F(PreprocessorTests, EmptyDefineList) {
  const char* file = "#define foo";
  bool result = fplbase::LoadFileWithDirectives(file, &file_, kEmptyDefines,
                                                &error_message_);
  EXPECT_TRUE(result);
  EXPECT_EQ(file_, std::string(file));
}
TEST_F ( PreprocessorTests , EmptyDefineList ) { const char * file = " " ; bool result = fplbase :: LoadFileWithDirectives ( file , & file_ , kEmptyDefines , & error_message_ ) ; EXPECT_TRUE ( result ) ; EXPECT_EQ ( file_ , std :: string ( file ) ) ; }
An empty list of defines should also be valid.
An empty list of defines should also be valid .