Lines Matching refs:getInvalidBOM
205 TEST_F(SourceManagerTest, getInvalidBOM) { in TEST_F() argument
206 ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM(""), nullptr); in TEST_F()
207 ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM("\x00\x00\x00"), nullptr); in TEST_F()
208 ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM("\xFF\xFF\xFF"), nullptr); in TEST_F()
209 ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM("#include <iostream>"), in TEST_F()
212 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()
215 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()
218 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()
221 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()
224 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()
227 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()
230 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()
233 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()
236 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()
240 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()