Searched refs:s_mock_fs (Results 1 – 1 of 1) sorted by relevance
161 static MockSystem s_mock_fs; variable262 s_mock_fs.Check(); in NewMockFileHandle()268 MockFileEntry* entry = s_mock_fs.FindFileEntry(path); in NewMockFileHandle()282 s_mock_fs.Check(); in PathExists()283 return s_mock_fs.FindFileEntry(path) != NULL; in PathExists()292 s_mock_fs.Check(); in GetCurrentDirectory()293 return s_mock_fs.GetCurrentDir(); in GetCurrentDirectory()297 s_mock_fs.Check(); in GetEnv()298 MockEnvEntry* entry = s_mock_fs.FindEnvEntry(var_name); in GetEnv()354 SystemMock::SystemMock() { s_mock_fs.Activate(); } in SystemMock()[all …]