Lines Matching refs:io_delegate_
47 io_delegate_.SetFileContents(options_.InputFiles().at(0), file_contents_); in ParseSingleInterface()
50 ImportResolver import_resolver{io_delegate_, options_.InputFiles().at(0), {"."}, {}}; in ParseSingleInterface()
52 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleInterface()
66 io_delegate_.SetFileContents(options_.InputFiles().at(0), file_contents_); in ParseSingleEnumDeclaration()
70 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleEnumDeclaration()
97 FakeIoDelegate io_delegate_; member in android::aidl::cpp::ASTTest
121 ASSERT_TRUE(GenerateCpp(options_.OutputFile(), options_, typenames_, *interface, io_delegate_)); in TEST_F()
133 io_delegate_.AddBrokenFilePath(header_path); in TEST_F()
134 ASSERT_FALSE(GenerateCpp(options_.OutputFile(), options_, typenames_, *interface, io_delegate_)); in TEST_F()
136 ASSERT_FALSE(io_delegate_.GetWrittenContents(kOutputPath, nullptr)); in TEST_F()
138 ASSERT_TRUE(io_delegate_.PathWasRemoved(header_path)); in TEST_F()
147 io_delegate_.AddBrokenFilePath(kOutputPath); in TEST_F()
148 ASSERT_FALSE(GenerateCpp(options_.OutputFile(), options_, typenames_, *interface, io_delegate_)); in TEST_F()
150 ASSERT_TRUE(io_delegate_.PathWasRemoved(kOutputPath)); in TEST_F()