Lines Matching refs:AidlTest
153 class AidlTest : public ::testing::TestWithParam<Options::Language> { class
202 INSTANTIATE_TEST_SUITE_P(AidlTestSuite, AidlTest,
209 TEST_P(AidlTest, AcceptMissingPackage) { in TEST_P() argument
213 TEST_P(AidlTest, EndsInSingleLineComment) { in TEST_P() argument
217 TEST_P(AidlTest, RejectsArraysOfBinders) { in TEST_P() argument
232 TEST_P(AidlTest, SupportOnlyOutParameters) { in TEST_P() argument
237 TEST_P(AidlTest, RejectOutParametersForIBinder) { in TEST_P() argument
246 TEST_P(AidlTest, RejectsOutParametersInOnewayInterface) { in TEST_P() argument
255 TEST_P(AidlTest, RejectsOutParametersInOnewayMethod) { in TEST_P() argument
264 TEST_P(AidlTest, RejectsOnewayNonVoidReturn) { in TEST_P() argument
273 TEST_P(AidlTest, RejectsNullablePrimitive) { in TEST_P() argument
282 TEST_P(AidlTest, RejectsDuplicatedArgumentNames) { in TEST_P() argument
291 TEST_P(AidlTest, RejectsDuplicatedAnnotationParams) { in TEST_P() argument
299 TEST_P(AidlTest, RejectUnsupportedInterfaceAnnotations) { in TEST_P() argument
311 TEST_P(AidlTest, RejectUnsupportedTypeAnnotations) { in TEST_P() argument
323 TEST_P(AidlTest, RejectUnsupportedParcelableAnnotations) { in TEST_P() argument
336 TEST_P(AidlTest, RejectUnsupportedParcelableDefineAnnotations) { in TEST_P() argument
349 TEST_P(AidlTest, ParsesNonNullableAnnotation) { in TEST_P() argument
359 TEST_P(AidlTest, ParsesNullableAnnotation) { in TEST_P() argument
369 TEST_P(AidlTest, ParsesNonUtf8Annotations) { in TEST_P() argument
379 TEST_P(AidlTest, ParsesUtf8Annotations) { in TEST_P() argument
389 TEST_P(AidlTest, VintfRequiresStructuredAndStability) { in TEST_P() argument
403 TEST_P(AidlTest, VintfRequiresStructured) { in TEST_P() argument
415 TEST_P(AidlTest, VintfRequiresSpecifiedStability) { in TEST_P() argument
427 TEST_P(AidlTest, ParsesStabilityAnnotations) { in TEST_P() argument
438 TEST_F(AidlTest, ParsesJavaOnlyStableParcelable) { in TEST_F() argument
457 TEST_F(AidlTest, ParsesJavaDebugAnnotation) { in TEST_F() argument
475 TEST_F(AidlTest, RejectsJavaDebugAnnotation) { in TEST_F() argument
499 TEST_P(AidlTest, AcceptsOnewayMethod) { in TEST_P() argument
504 TEST_P(AidlTest, AcceptsOnewayInterface) { in TEST_P() argument
509 TEST_P(AidlTest, AcceptsAnnotatedOnewayMethod) { in TEST_P() argument
515 TEST_P(AidlTest, AnnotationsInMultiplePlaces) { in TEST_P() argument
533 TEST_P(AidlTest, WritesComments) { in TEST_P() argument
550 TEST_F(AidlTest, ParsesPreprocessedFile) { in TEST_F() argument
559 TEST_F(AidlTest, ParsesPreprocessedFileWithWhitespace) { in TEST_F() argument
569 TEST_P(AidlTest, PreferImportToPreprocessed) { in TEST_P() argument
590 TEST_P(AidlTest, B147918827) { in TEST_P() argument
610 TEST_F(AidlTest, WritePreprocessedFile) { in TEST_F() argument
630 TEST_F(AidlTest, JavaParcelableOutput) { in TEST_F() argument
655 TEST_P(AidlTest, RequireOuterClass) { in TEST_P() argument
667 TEST_P(AidlTest, ParseCompoundParcelableFromPreprocess) { in TEST_P() argument
679 TEST_F(AidlTest, FailOnParcelable) { in TEST_F() argument
715 TEST_P(AidlTest, StructuredFailOnUnstructuredParcelable) { in TEST_P() argument
732 TEST_P(AidlTest, FailOnDuplicateConstantNames) { in TEST_P() argument
749 TEST_P(AidlTest, FailOnManyDefinedTypes) { in TEST_P() argument
768 TEST_P(AidlTest, FailOnNoDefinedTypes) { in TEST_P() argument
777 TEST_P(AidlTest, FailOnEmptyListWithComma) { in TEST_P() argument
788 TEST_P(AidlTest, FailOnMalformedConstHexValue) { in TEST_P() argument
804 TEST_P(AidlTest, FailOnMalformedQualifiedNameAsIdentifier) { in TEST_P() argument
817 TEST_P(AidlTest, FailOnMalformedQualifiedNameAsPackage) { in TEST_P() argument
830 TEST_P(AidlTest, ParsePositiveConstHexValue) { in TEST_P() argument
849 TEST_P(AidlTest, ParseNegativeConstHexValue) { in TEST_P() argument
868 TEST_P(AidlTest, UnderstandsNestedParcelables) { in TEST_P() argument
886 TEST_P(AidlTest, UnderstandsNativeParcelables) { in TEST_P() argument
908 TEST_F(AidlTest, WritesCorrectDependencyFile) { in TEST_F() argument
925 TEST_F(AidlTest, WritesCorrectDependencyFileNinja) { in TEST_F() argument
943 TEST_F(AidlTest, WritesTrivialDependencyFileForParcelableDeclaration) { in TEST_F() argument
962 TEST_F(AidlTest, WritesDependencyFileForStructuredParcelable) { in TEST_F() argument
977 TEST_F(AidlTest, NoJavaOutputForParcelableDeclaration) { in TEST_F() argument
991 TEST_P(AidlTest, PrimitiveList) { in TEST_P() argument
1029 TEST_P(AidlTest, RejectsPrimitiveListInStableAidl) { in TEST_P() argument
1061 TEST_F(AidlTest, ExtensionTest) { in TEST_F() argument
1097 TEST_F(AidlTest, ApiDump) { in TEST_F() argument
1168 TEST_F(AidlTest, ApiDumpWithManualIds) { in TEST_F() argument
1193 TEST_F(AidlTest, ApiDumpWithManualIdsOnlyOnSomeMethods) { in TEST_F() argument
1213 TEST_F(AidlTest, CheckNumGenericTypeSecifier) { in TEST_F() argument
1234 TEST_F(AidlTest, CheckTypeParameterInMapType) { in TEST_F() argument
1263 TEST_F(AidlTest, WrongGenericType) { in TEST_F() argument
1274 TEST_F(AidlTest, UserDefinedUnstructuredGenericParcelableType) { in TEST_F() argument
1313 TEST_F(AidlTest, FailOnMultipleTypesInSingleFile) { in TEST_F() argument
1349 TEST_P(AidlTest, FailParseOnEmptyFile) { in TEST_P() argument
1357 TEST_F(AidlTest, MultipleInputFiles) { in TEST_F() argument
1382 TEST_F(AidlTest, MultipleInputFilesCpp) { in TEST_F() argument
1410 TEST_F(AidlTest, ConflictWithMetaTransactionGetVersion) { in TEST_F() argument
1423 TEST_F(AidlTest, ConflictWithSimilarMetaTransaction) { in TEST_F() argument
1437 TEST_F(AidlTest, ConflictWithMetaTransactionGetName) { in TEST_F() argument
1456 TEST_F(AidlTest, DifferentOrderAnnotationsInCheckAPI) { in TEST_F() argument
1466 TEST_F(AidlTest, SuccessOnIdenticalApiDumps) { in TEST_F() argument
1474 class AidlTestCompatibleChanges : public AidlTest {
1629 class AidlTestIncompatibleChanges : public AidlTest {
1953 TEST_F(AidlTest, RejectAmbiguousImports) { in TEST_F() argument
1969 TEST_F(AidlTest, HandleManualIdAssignments) { in TEST_F() argument
1985 TEST_F(AidlTest, ParcelFileDescriptorIsBuiltinType) { in TEST_F() argument
2013 TEST_F(AidlTest, ManualIds) { in TEST_F() argument
2023 TEST_F(AidlTest, ManualIdsWithMetaTransactions) { in TEST_F() argument
2033 TEST_F(AidlTest, FailOnDuplicatedIds) { in TEST_F() argument
2047 TEST_F(AidlTest, FailOnOutOfRangeIds) { in TEST_F() argument
2063 TEST_F(AidlTest, FailOnPartiallyAssignedIds) { in TEST_F() argument
2077 TEST_F(AidlTest, AllowDuplicatedImportPaths) { in TEST_F() argument
2084 TEST_F(AidlTest, FailOnAmbiguousImports) { in TEST_F() argument
2100 TEST_F(AidlTest, UnusedImportDoesNotContributeInclude) { in TEST_F() argument
2120 TEST_F(AidlTest, ParseJavaPassthroughAnnotation) { in TEST_F() argument
2145 class AidlOutputPathTest : public AidlTest {
2148 AidlTest::SetUp(); in SetUp()
2179 TEST_P(AidlTest, FailOnOutOfBoundsInt32MaxConstInt) { in TEST_P() argument
2195 TEST_P(AidlTest, FailOnOutOfBoundsInt32MinConstInt) { in TEST_P() argument
2211 TEST_P(AidlTest, FailOnOutOfBoundsInt64MaxConstInt) { in TEST_P() argument
2227 TEST_P(AidlTest, FailOnOutOfBoundsInt64MinConstInt) { in TEST_P() argument
2243 TEST_P(AidlTest, FailOnOutOfBoundsAutofilledEnum) { in TEST_P() argument
2263 TEST_P(AidlTest, UnsupportedBackingAnnotationParam) { in TEST_P() argument
2284 TEST_P(AidlTest, SupportImmutableAnnotation) { in TEST_P() argument
2294 TEST_P(AidlTest, RejectMutableParcelableFromImmutableParcelable) { in TEST_P() argument
2301 TEST_P(AidlTest, ImmtuableParcelableCannotBeInOut) { in TEST_P() argument
2308 TEST_P(AidlTest, ImmtuableParcelableCannotBeOut) { in TEST_P() argument