Lines Matching refs:options
172 Options options = Options::From(args); local
176 path, options, io_delegate_, &typenames_, &imported_files);
622 Options options = Options::From(args); in TEST_F() local
623 EXPECT_TRUE(::android::aidl::preprocess_aidl(options, io_delegate_)); in TEST_F()
647 Options options = Options::From(args); in TEST_F() local
648 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
917 Options options = Options::From(args); in TEST_F() local
918 io_delegate_.SetFileContents(options.InputFiles().front(), "package p; interface IFoo {}"); in TEST_F()
919 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
921 EXPECT_TRUE(io_delegate_.GetWrittenContents(options.DependencyFile(), &actual_dep_file_contents)); in TEST_F()
935 Options options = Options::From(args); in TEST_F() local
936 io_delegate_.SetFileContents(options.InputFiles().front(), "package p; interface IFoo {}"); in TEST_F()
937 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
939 EXPECT_TRUE(io_delegate_.GetWrittenContents(options.DependencyFile(), &actual_dep_file_contents)); in TEST_F()
954 Options options = Options::From(args); in TEST_F() local
955 io_delegate_.SetFileContents(options.InputFiles().front(), "package p; parcelable Foo;"); in TEST_F()
956 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
958 EXPECT_TRUE(io_delegate_.GetWrittenContents(options.DependencyFile(), &actual_dep_file_contents)); in TEST_F()
969 Options options = Options::From(args); in TEST_F() local
970 io_delegate_.SetFileContents(options.InputFiles().front(), "package p; parcelable Foo {int a;}"); in TEST_F()
971 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
973 EXPECT_TRUE(io_delegate_.GetWrittenContents(options.DependencyFile(), &actual_dep_file_contents)); in TEST_F()
983 Options options = Options::From(args); in TEST_F() local
984 io_delegate_.SetFileContents(options.InputFiles().front(), "package p; parcelable Foo;"); in TEST_F()
985 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
987 EXPECT_FALSE(io_delegate_.GetWrittenContents(options.OutputFile(), &output_file_contents)); in TEST_F()
1132 Options options = Options::From(args); in TEST_F() local
1133 bool result = dump_api(options, io_delegate_); in TEST_F()
1179 Options options = Options::From(args); in TEST_F() local
1180 bool result = dump_api(options, io_delegate_); in TEST_F()
1207 Options options = Options::From(args); in TEST_F() local
1209 EXPECT_FALSE(dump_api(options, io_delegate_)); in TEST_F()
1218 Options options = Options::From("aidl p/IFoo.aidl IFoo.java"); in TEST_F() local
1219 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1223 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1226 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1230 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1237 Options options = Options::From("aidl -I p p/IFoo.aidl"); in TEST_F() local
1243 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1249 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1255 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1260 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1265 Options options = Options::From("aidl p/IFoo.aidl IFoo.java"); in TEST_F() local
1266 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1270 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1282 Options options = Options::From("aidl -I p p/IFoo.aidl"); in TEST_F() local
1288 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1292 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1296 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1300 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1310 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1319 Options options = Options::From(rawOption); in TEST_F() local
1320 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1327 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1330 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1335 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1339 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1344 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1358 Options options = Options::From( in TEST_F() local
1361 io_delegate_.SetFileContents(options.InputFiles().at(0), in TEST_F()
1366 io_delegate_.SetFileContents(options.InputFiles().at(1), in TEST_F()
1371 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1383 Options options = Options::From("aidl --lang=cpp -o out -h out/include " in TEST_F() local
1386 io_delegate_.SetFileContents(options.InputFiles().at(0), in TEST_F()
1391 io_delegate_.SetFileContents(options.InputFiles().at(1), in TEST_F()
1396 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1413 Options options = Options::From("aidl --lang=java -o place/for/output p/IFoo.aidl"); in TEST_F() local
1415 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1419 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1428 Options options = Options::From("aidl --lang=java -o place/for/output p/IFoo.aidl"); in TEST_F() local
1429 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1433 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1441 Options options = Options::From("aidl --lang=java -o place/for/output p/IFoo.aidl"); in TEST_F() local
1442 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1446 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1450 io_delegate_.SetFileContents(options.InputFiles().front(), in TEST_F()
1453 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1457 Options options = Options::From("aidl --checkapi old new"); in TEST_F() local
1463 EXPECT_TRUE(::android::aidl::check_api(options, io_delegate_)); in TEST_F()
1467 Options options = Options::From("aidl --checkapi old new"); in TEST_F() local
1471 EXPECT_TRUE(::android::aidl::check_api(options, io_delegate_)); in TEST_F()
1959 Options options = Options::From("aidl --lang=java -o out -I dir1 -I dir2 p/IFoo.aidl"); in TEST_F() local
1965 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
1973 Options options = Options::From("aidl --checkapi old new"); in TEST_F() local
1977 EXPECT_TRUE(::android::aidl::check_api(options, io_delegate_)); in TEST_F()
1981 EXPECT_FALSE(::android::aidl::check_api(options, io_delegate_)); in TEST_F()
2014 Options options = Options::From("aidl --lang=java -o out IFoo.aidl"); in TEST_F() local
2020 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
2024 Options options = Options::From("aidl --lang=java --version 10 -o out IFoo.aidl"); in TEST_F() local
2030 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
2036 Options options = Options::From("aidl --lang=java --version 10 -o out IFoo.aidl"); in TEST_F() local
2043 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
2052 Options options = Options::From("aidl --lang=java --version 10 -o out IFoo.aidl"); in TEST_F() local
2059 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
2066 Options options = Options::From("aidl --lang=java --version 10 -o out IFoo.aidl"); in TEST_F() local
2073 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
2078 Options options = Options::From("aidl --lang=java -I dir -I dir IFoo.aidl"); in TEST_F() local
2081 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
2091 Options options = Options::From("aidl --lang=java -I dir -I dir2 IFoo.aidl"); in TEST_F() local
2096 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
2109 Options options = Options::From("aidl --lang=ndk a/b/IFoo.aidl -I . -o out -h out/include"); in TEST_F() local
2110 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_F()
2152 void Test(const Options& options, const std::string expected_output_path) { in Test() argument
2153 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in Test()
2290 Options options = Options::From("aidl --lang=java -I . Foo.aidl"); in TEST_P() local
2291 EXPECT_EQ(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_P()
2297 Options options = Options::From("aidl --lang=java Foo.aidl -I ."); in TEST_P() local
2298 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_P()
2304 Options options = Options::From("aidl --lang=java IBar.aidl -I ."); in TEST_P() local
2305 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_P()
2311 Options options = Options::From("aidl --lang=java IBar.aidl -I ."); in TEST_P() local
2312 EXPECT_NE(0, ::android::aidl::compile_aidl(options, io_delegate_)); in TEST_P()