Lines Matching refs:AidlTest
85 class AidlTest : public ::testing::TestWithParam<Options::Language> { class
134 INSTANTIATE_TEST_SUITE_P(AidlTestSuite, AidlTest,
141 TEST_P(AidlTest, AcceptMissingPackage) { in TEST_P() argument
145 TEST_P(AidlTest, EndsInSingleLineComment) { in TEST_P() argument
149 TEST_P(AidlTest, InterfaceRequiresCorrectPath) { in TEST_P() argument
158 TEST_P(AidlTest, ParcelableRequiresCorrectPath) { in TEST_P() argument
167 TEST_P(AidlTest, UnstructuredParcelableRequiresCorrectPath) { in TEST_P() argument
176 TEST_P(AidlTest, EnumRequiresCorrectPath) { in TEST_P() argument
185 TEST_P(AidlTest, RejectsArraysOfBinders) { in TEST_P() argument
200 TEST_P(AidlTest, SupportOnlyOutParameters) { in TEST_P() argument
205 TEST_P(AidlTest, RejectOutParametersForIBinder) { in TEST_P() argument
215 TEST_P(AidlTest, RejectsOutParametersInOnewayInterface) { in TEST_P() argument
224 TEST_P(AidlTest, RejectsOutParametersInOnewayMethod) { in TEST_P() argument
233 TEST_P(AidlTest, RejectsOnewayNonVoidReturn) { in TEST_P() argument
242 TEST_P(AidlTest, RejectsNullablePrimitive) { in TEST_P() argument
251 TEST_P(AidlTest, AcceptNullableList) { in TEST_P() argument
259 TEST_P(AidlTest, RejectsDuplicatedArgumentNames) { in TEST_P() argument
268 TEST_P(AidlTest, RejectsDuplicatedFieldNames) { in TEST_P() argument
276 TEST_P(AidlTest, RejectsRepeatedAnnotations) { in TEST_P() argument
286 TEST_P(AidlTest, AcceptsEmptyParcelable) { in TEST_P() argument
292 TEST_P(AidlTest, RejectsDuplicatedAnnotationParams) { in TEST_P() argument
300 TEST_P(AidlTest, RejectUnsupportedInterfaceAnnotations) { in TEST_P() argument
309 TEST_P(AidlTest, RejectUnsupportedTypeAnnotations) { in TEST_P() argument
318 TEST_P(AidlTest, RejectUnsupportedParcelableAnnotations) { in TEST_P() argument
327 TEST_P(AidlTest, RejectUnsupportedParcelableDefineAnnotations) { in TEST_P() argument
336 TEST_P(AidlTest, ParsesNonNullableAnnotation) { in TEST_P() argument
346 TEST_P(AidlTest, ParsesNullableAnnotation) { in TEST_P() argument
356 TEST_P(AidlTest, ParsesNonUtf8Annotations) { in TEST_P() argument
366 TEST_P(AidlTest, ParsesUtf8Annotations) { in TEST_P() argument
376 TEST_P(AidlTest, VintfRequiresStructuredAndStability) { in TEST_P() argument
390 TEST_P(AidlTest, VintfRequiresStructured) { in TEST_P() argument
402 TEST_P(AidlTest, VintfRequiresSpecifiedStability) { in TEST_P() argument
414 TEST_P(AidlTest, ParsesStabilityAnnotations) { in TEST_P() argument
425 TEST_F(AidlTest, ParsesJavaOnlyStableParcelable) { in TEST_F() argument
449 TEST_F(AidlTest, ParcelableSupportJavaDeriveToString) { in TEST_F() argument
467 TEST_F(AidlTest, UnionSupportJavaDeriveToString) { in TEST_F() argument
491 TEST_F(AidlTest, ParcelableSupportJavaDeriveEquals) { in TEST_F() argument
522 TEST_F(AidlTest, UnionSupportJavaDeriveEquals) { in TEST_F() argument
553 TEST_F(AidlTest, RejectsJavaDeriveAnnotation) { in TEST_F() argument
583 TEST_P(AidlTest, ParseDescriptorAnnotation) { in TEST_P() argument
594 TEST_P(AidlTest, AcceptsOnewayMethod) { in TEST_P() argument
599 TEST_P(AidlTest, AcceptsOnewayInterface) { in TEST_P() argument
604 TEST_P(AidlTest, AcceptsAnnotatedOnewayMethod) { in TEST_P() argument
610 TEST_P(AidlTest, AnnotationsInMultiplePlaces) { in TEST_P() argument
628 TEST_P(AidlTest, WritesComments) { in TEST_P() argument
655 TEST_P(AidlTest, CppHeaderCanBeIdentifierAsWell) { in TEST_P() argument
674 TEST_F(AidlTest, ParsesPreprocessedFile) { in TEST_F() argument
683 TEST_F(AidlTest, ParsesPreprocessedFileWithWhitespace) { in TEST_F() argument
693 TEST_P(AidlTest, PreferImportToPreprocessed) { in TEST_P() argument
714 TEST_P(AidlTest, B147918827) { in TEST_P() argument
734 TEST_F(AidlTest, WritePreprocessedFile) { in TEST_F() argument
754 TEST_P(AidlTest, SupportDeprecated) { in TEST_P() argument
903 TEST_P(AidlTest, RequireOuterClass) { in TEST_P() argument
915 TEST_P(AidlTest, ParseCompoundParcelableFromPreprocess) { in TEST_P() argument
927 TEST_F(AidlTest, FailOnParcelable) { in TEST_F() argument
963 TEST_P(AidlTest, StructuredFailOnUnstructuredParcelable) { in TEST_P() argument
980 TEST_P(AidlTest, FailOnDuplicateConstantNames) { in TEST_P() argument
997 TEST_P(AidlTest, FailOnTooBigConstant) { in TEST_P() argument
1013 TEST_F(AidlTest, BoolConstantsEvaluatesToIntegers) { in TEST_F() argument
1024 TEST_F(AidlTest, AidlConstantValue_EvaluatedValue) { in TEST_F() argument
1046 TEST_P(AidlTest, FailOnManyDefinedTypes) { in TEST_P() argument
1065 TEST_P(AidlTest, FailOnNoDefinedTypes) { in TEST_P() argument
1074 TEST_P(AidlTest, FailOnEmptyListWithComma) { in TEST_P() argument
1085 TEST_P(AidlTest, FailOnMalformedConstHexValue) { in TEST_P() argument
1101 TEST_P(AidlTest, FailOnMalformedQualifiedNameAsIdentifier) { in TEST_P() argument
1114 TEST_P(AidlTest, FailOnMalformedQualifiedNameAsPackage) { in TEST_P() argument
1127 TEST_P(AidlTest, ParsePositiveConstHexValue) { in TEST_P() argument
1146 TEST_P(AidlTest, ParseNegativeConstHexValue) { in TEST_P() argument
1165 TEST_P(AidlTest, UnderstandsNestedParcelables) { in TEST_P() argument
1183 TEST_P(AidlTest, UnderstandsNativeParcelables) { in TEST_P() argument
1205 TEST_F(AidlTest, WritesCorrectDependencyFile) { in TEST_F() argument
1222 TEST_F(AidlTest, WritesCorrectDependencyFileNinja) { in TEST_F() argument
1240 TEST_F(AidlTest, WritesTrivialDependencyFileForParcelableDeclaration) { in TEST_F() argument
1259 TEST_F(AidlTest, WritesDependencyFileForStructuredParcelable) { in TEST_F() argument
1274 TEST_F(AidlTest, NoJavaOutputForParcelableDeclaration) { in TEST_F() argument
1287 TEST_P(AidlTest, RejectsListArray) { in TEST_P() argument
1297 TEST_P(AidlTest, RejectsPrimitiveListInStableAidl) { in TEST_P() argument
1329 TEST_P(AidlTest, ExtensionTest) { in TEST_P() argument
1347 TEST_P(AidlTest, ParcelableHolderAsReturnType) { in TEST_P() argument
1368 TEST_P(AidlTest, ParcelableHolderAsArgumentType) { in TEST_P() argument
1389 TEST_P(AidlTest, RejectNullableParcelableHolderField) { in TEST_P() argument
1406 TEST_P(AidlTest, ParcelablesWithConstants) { in TEST_P() argument
1414 TEST_P(AidlTest, UnionWithConstants) { in TEST_P() argument
1422 TEST_F(AidlTest, ConstantsWithAnnotations) { in TEST_F() argument
1438 TEST_F(AidlTest, ApiDump) { in TEST_F() argument
1513 TEST_F(AidlTest, ApiDumpWithManualIds) { in TEST_F() argument
1538 TEST_F(AidlTest, ApiDumpWithManualIdsOnlyOnSomeMethods) { in TEST_F() argument
1558 TEST_F(AidlTest, ApiDumpConstWithAnnotation) { in TEST_F() argument
1582 TEST_F(AidlTest, ApiDumpWithEnums) { in TEST_F() argument
1605 TEST_F(AidlTest, ApiDumpWithEnumDefaultValues) { in TEST_F() argument
1632 TEST_F(AidlTest, ApiDumpWithGenerics) { in TEST_F() argument
1651 TEST_F(AidlTest, CheckNumGenericTypeSecifier) { in TEST_F() argument
1673 TEST_F(AidlTest, CheckTypeParameterInMapType) { in TEST_F() argument
1702 TEST_F(AidlTest, WrongGenericType) { in TEST_F() argument
1713 TEST_F(AidlTest, UserDefinedUnstructuredGenericParcelableType) { in TEST_F() argument
1752 TEST_F(AidlTest, FailOnMultipleTypesInSingleFile) { in TEST_F() argument
1789 TEST_P(AidlTest, FailParseOnEmptyFile) { in TEST_P() argument
1797 TEST_F(AidlTest, MultipleInputFiles) { in TEST_F() argument
1822 TEST_F(AidlTest, MultipleInputFilesCpp) { in TEST_F() argument
1850 TEST_F(AidlTest, MultipleInputFilesRust) { in TEST_F() argument
1874 TEST_F(AidlTest, ConflictWithMetaTransactionGetVersion) { in TEST_F() argument
1887 TEST_F(AidlTest, ConflictWithSimilarMetaTransaction) { in TEST_F() argument
1901 TEST_F(AidlTest, ConflictWithMetaTransactionGetName) { in TEST_F() argument
1920 TEST_F(AidlTest, CheckApiForEquality) { in TEST_F() argument
1933 TEST_F(AidlTest, DifferentOrderAnnotationsInCheckAPI) { in TEST_F() argument
1943 TEST_F(AidlTest, SuccessOnIdenticalApiDumps) { in TEST_F() argument
1951 TEST_F(AidlTest, CheckApi_EnumFieldsWithDefaultValues) { in TEST_F() argument
1963 TEST_F(AidlTest, CheckApiEqual_EnumFieldsWithDefaultValues) { in TEST_F() argument
1976 class AidlTestCompatibleChanges : public AidlTest {
2232 class AidlTestIncompatibleChanges : public AidlTest {
2740 TEST_P(AidlTest, RejectNonFixedSizeFromFixedSize) { in TEST_P() argument
2773 TEST_P(AidlTest, AcceptFixedSizeFromFixedSize) { in TEST_P() argument
2786 TEST_F(AidlTest, RejectAmbiguousImports) { in TEST_F() argument
2802 TEST_F(AidlTest, HandleManualIdAssignments) { in TEST_F() argument
2818 TEST_P(AidlTest, ParcelFileDescriptorIsBuiltinType) { in TEST_P() argument
2850 TEST_P(AidlTest, RejectsOutputParcelFileDescriptor) { in TEST_P() argument
2862 TEST_P(AidlTest, RejectsArgumentDirectionNotSpecified) { in TEST_P() argument
2875 TEST_F(AidlTest, ManualIds) { in TEST_F() argument
2885 TEST_F(AidlTest, ManualIdsWithMetaTransactions) { in TEST_F() argument
2895 TEST_F(AidlTest, FailOnDuplicatedIds) { in TEST_F() argument
2909 TEST_F(AidlTest, FailOnOutOfRangeIds) { in TEST_F() argument
2925 TEST_F(AidlTest, FailOnPartiallyAssignedIds) { in TEST_F() argument
2939 TEST_F(AidlTest, AllowDuplicatedImportPaths) { in TEST_F() argument
2946 TEST_F(AidlTest, FailOnAmbiguousImports) { in TEST_F() argument
2962 TEST_F(AidlTest, UnusedImportDoesNotContributeInclude) { in TEST_F() argument
2982 TEST_F(AidlTest, ParseJavaPassthroughAnnotation) { in TEST_F() argument
3033 TEST_F(AidlTest, ParseRustDerive) { in TEST_F() argument
3058 class AidlOutputPathTest : public AidlTest {
3061 AidlTest::SetUp(); in SetUp()
3092 TEST_P(AidlTest, FailOnOutOfBoundsInt32MaxConstInt) { in TEST_P() argument
3108 TEST_P(AidlTest, FailOnOutOfBoundsInt32MinConstInt) { in TEST_P() argument
3124 TEST_P(AidlTest, FailOnOutOfBoundsInt64MaxConstInt) { in TEST_P() argument
3140 TEST_P(AidlTest, FailOnOutOfBoundsInt64MinConstInt) { in TEST_P() argument
3156 TEST_P(AidlTest, FailOnOutOfBoundsAutofilledEnum) { in TEST_P() argument
3175 TEST_P(AidlTest, UnsupportedBackingAnnotationParam) { in TEST_P() argument
3194 TEST_P(AidlTest, BackingAnnotationRequireTypeParameter) { in TEST_P() argument
3201 TEST_F(AidlTest, SupportJavaOnlyImmutableAnnotation) { in TEST_F() argument
3212 TEST_F(AidlTest, RejectMutableParcelableFromJavaOnlyImmutableParcelable) { in TEST_F() argument
3224 TEST_F(AidlTest, JavaOnlyImmutableParcelableWithEnumFields) { in TEST_F() argument
3233 TEST_F(AidlTest, RejectMutableParcelableFromJavaOnlyImmutableUnion) { in TEST_F() argument
3245 TEST_F(AidlTest, ImmutableParcelableCannotBeInOut) { in TEST_F() argument
3257 TEST_F(AidlTest, ImmutableParcelableCannotBeOut) { in TEST_F() argument
3269 TEST_F(AidlTest, ImmutableParcelableFieldNameRestriction) { in TEST_F() argument
3280 TEST_P(AidlTest, UnionInUnion) { in TEST_P() argument
3288 TEST_P(AidlTest, UnionRejectsEmptyDecl) { in TEST_P() argument
3296 TEST_P(AidlTest, UnionRejectsParcelableHolder) { in TEST_P() argument
3305 TEST_P(AidlTest, UnionRejectsFirstEnumWithNoDefaults) { in TEST_P() argument
3315 TEST_P(AidlTest, GenericStructuredParcelable) { in TEST_P() argument
3324 TEST_F(AidlTest, GenericStructuredParcelableWithStringConstants_Cpp) { in TEST_F() argument
3343 TEST_F(AidlTest, GenericStructuredParcelableWithStringConstants_Ndk) { in TEST_F() argument
3360 TEST_F(AidlTest, NestedTypeArgs) { in TEST_F() argument
3380 TEST_F(AidlTest, DoubleArrayError) { in TEST_F() argument
3391 TEST_F(AidlTest, DoubleGenericError) { in TEST_F() argument
3403 TEST_F(AidlTest, ArrayBeforeGenericError) { in TEST_F() argument
3412 TEST_F(AidlTest, NullableArraysAreNotSupported) { in TEST_F() argument
3422 TEST_F(AidlTest, ListOfNullablesAreNotSupported) { in TEST_F() argument
3466 TEST_P(AidlTest, RejectGenericStructuredParcelabelRepeatedParam) { in TEST_P() argument
3476 TEST_P(AidlTest, RejectGenericStructuredParcelableField) { in TEST_P() argument
3485 TEST_P(AidlTest, LongCommentWithinConstExpression) { in TEST_P() argument
3493 TEST_F(AidlTest, RejectUntypdeListAndMapInUnion) { in TEST_F() argument
3510 TEST_F(AidlTest, RejectUntypdeListAndMapInUnstructuredParcelable) { in TEST_F() argument
3527 TEST_F(AidlTest, RejectNestedUntypedListAndMap) { in TEST_F() argument
3546 TEST_F(AidlTest, EnumWithDefaults_Java) { in TEST_F() argument
3565 TEST_F(AidlTest, EnumWithDefaults_Cpp) { in TEST_F() argument
3584 TEST_F(AidlTest, EnumWithDefaults_Ndk) { in TEST_F() argument
3603 TEST_F(AidlTest, EnumWithDefaults_Rust) { in TEST_F() argument
3629 TEST_P(AidlTest, EnumeratorIsConstantValue_DefaultValue) { in TEST_P() argument
3647 TEST_P(AidlTest, EnumeratorIsConstantValue_CanDefineOtherEnumerator) { in TEST_P() argument
3677 TEST_F(AidlTest, EnumDefaultShouldBeEnumerators) { in TEST_F() argument
3693 TEST_P(AidlTest, DefaultWithEmptyArray) { in TEST_P() argument
3704 TEST_P(AidlTest, RejectRefsInAnnotation) { in TEST_P() argument
3721 TEST_F(AidlTest, DefaultWithEnumValues) { in TEST_F() argument
3738 TEST_F(AidlTest, RejectsCircularReferencingEnumerators) { in TEST_F() argument
3750 TEST_F(AidlTest, RejectsCircularReferencingConsts) { in TEST_F() argument
3760 TEST_F(AidlTest, RecursiveReferences) { in TEST_F() argument
3772 TEST_P(AidlTest, UnknownConstReference) { in TEST_P() argument
3785 TEST_P(AidlTest, JavaCompatibleBuiltinTypes) { in TEST_P() argument
3794 TEST_P(AidlTest, WarningInterfaceName) { in TEST_P() argument
3804 TEST_P(AidlTest, ErrorInterfaceName) { in TEST_P() argument
3814 TEST_F(AidlTest, RejectsIncorrectOutputFilePathOnLegacyCppInput) { in TEST_F() argument
3831 TEST_F(AidlTest, FormatCommentsForJava) { in TEST_F() argument
3868 TEST_F(AidlTest, HideIsNotForArgs) { in TEST_F() argument
3879 TEST_F(AidlTest, SuppressWarningsIsNotForArgs) { in TEST_F() argument