class MockSourceFileProvider

Defined at line 18 of file ../../src/developer/debug/zxdb/symbols/mock_source_file_provider.h

Mock implementation of SourceFileProvider that returns canned input for known file names.

No handling of paths is done and the file_build_dir is ignored: the file names must match

exactly.

Public Methods

void SetFileData (const std::string & file_name, FileData data)

Sets the expected contents for the given file.

Defined at line 9 of file ../../src/developer/debug/zxdb/symbols/mock_source_file_provider.cc

ErrOr<FileData> GetFileData (const std::string & file_name, const std::string & file_build_dir)

Defined at line 13 of file ../../src/developer/debug/zxdb/symbols/mock_source_file_provider.cc