Lines Matching refs:Parse
133 AidlDefinedType* Parse(const string& path, const string& contents, TypeNamespace* types, in Parse() function in android::aidl::AidlTest
181 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", &java_types_)); in TEST_F()
182 EXPECT_NE(nullptr, Parse("IFoo.aidl", "interface IFoo { }", &cpp_types_)); in TEST_F()
193 EXPECT_EQ(nullptr, Parse(path, contents, &java_types_)); in TEST_F()
194 EXPECT_EQ(nullptr, Parse(path, contents, &cpp_types_)); in TEST_F()
202 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_interface, &cpp_types_)); in TEST_F()
203 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_interface, &java_types_)); in TEST_F()
204 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, &cpp_types_)); in TEST_F()
205 EXPECT_EQ(nullptr, Parse("a/IBar.aidl", oneway_method, &java_types_)); in TEST_F()
210 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, &cpp_types_)); in TEST_F()
211 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, &java_types_)); in TEST_F()
216 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, &cpp_types_)); in TEST_F()
217 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", oneway_method, &java_types_)); in TEST_F()
222 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", method, &cpp_types_)); in TEST_F()
223 EXPECT_EQ(nullptr, Parse("a/IFoo.aidl", method, &java_types_)); in TEST_F()
228 auto parse_result = Parse( in TEST_F()
244 auto parse_result = Parse( in TEST_F()
262 EXPECT_NE(nullptr, Parse("a/IFoo.aidl", oneway_method, &cpp_types_)); in TEST_F()
263 EXPECT_NE(nullptr, Parse("a/IFoo.aidl", oneway_method, &java_types_)); in TEST_F()
264 EXPECT_NE(nullptr, Parse("a/IBar.aidl", oneway_interface, &cpp_types_)); in TEST_F()
265 EXPECT_NE(nullptr, Parse("a/IBar.aidl", oneway_interface, &java_types_)); in TEST_F()
292 auto parse_result = Parse( in TEST_F()
351 auto parse_result = Parse( in TEST_F()
362 auto parse_result = Parse( in TEST_F()
397 Parse("p/IFoo.aidl", in TEST_F()
407 Parse("p/IFoo.aidl", in TEST_F()
421 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", in TEST_F()
437 EXPECT_EQ(nullptr, Parse("p/IFoo.aidl", R"(package p;)", &cpp_types_, &reported_error)); in TEST_F()
444 Parse("p/IFoo.aidl", in TEST_F()
458 Parse("p/IFoo.aidl", in TEST_F()
478 Parse("p/IFoo.aidl", in TEST_F()
504 auto cpp_parse_result = Parse(input_path, input, &cpp_types_); in TEST_F()
521 auto cpp_parse_result = Parse(input_path, input, &cpp_types_); in TEST_F()
532 auto java_parse_result = Parse(input_path, input, &java_types_); in TEST_F()