Home
last modified time | relevance | path

Searched defs:TEST (Results 1 – 25 of 80) sorted by relevance

1234

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp26 TEST(UtilTest, TrimOnlyWhitespace) { in TEST() function
34 TEST(UtilTest, StringEndsWith) { in TEST() function
38 TEST(UtilTest, StringStartsWith) { in TEST() function
42 TEST(UtilTest, StringBuilderSplitEscapeSequence) { in TEST() function
49 TEST(UtilTest, StringBuilderWhitespaceRemoval) { in TEST() function
66 TEST(UtilTest, StringBuilderEscaping) { in TEST() function
77 TEST(UtilTest, StringBuilderMisplacedQuote) { in TEST() function
82 TEST(UtilTest, StringBuilderUnicodeCodes) { in TEST() function
90 TEST(UtilTest, TokenizeInput) { in TEST() function
104 TEST(UtilTest, TokenizeEmptyString) { in TEST() function
[all …]
DBigBuffer_test.cpp23 TEST(BigBufferTest, AllocateSingleBlock) { in TEST() function
30 TEST(BigBufferTest, ReturnSameBlockIfNextAllocationFits) { in TEST() function
42 TEST(BigBufferTest, AllocateExactSizeBlockIfLargerThanBlockSize) { in TEST() function
49 TEST(BigBufferTest, AppendAndMoveBlock) { in TEST() function
83 TEST(BigBufferTest, PadAndAlignProperly) { in TEST() function
/frameworks/base/tools/aapt2/filter/
DConfigFilter_test.cpp24 TEST(ConfigFilterTest, EmptyFilterMatchesAnything) { in TEST() function
31 TEST(ConfigFilterTest, MatchesConfigWithUnrelatedAxis) { in TEST() function
38 TEST(ConfigFilterTest, MatchesConfigWithSameValueAxis) { in TEST() function
45 TEST(ConfigFilterTest, MatchesConfigWithSameValueAxisAndOtherUnrelatedAxis) { in TEST() function
52 TEST(ConfigFilterTest, MatchesConfigWithOneMatchingAxis) { in TEST() function
62 TEST(ConfigFilterTest, DoesNotMatchConfigWithDifferentValueAxis) { in TEST() function
69 TEST(ConfigFilterTest, DoesNotMatchWhenOneQualifierIsExplicitlyNotMatched) { in TEST() function
81 TEST(ConfigFilterTest, MatchesSmallestWidthWhenSmaller) { in TEST() function
88 TEST(ConfigFilterTest, MatchesConfigWithSameLanguageButNoRegionSpecified) { in TEST() function
95 TEST(ConfigFilterTest, IgnoresVersion) { in TEST() function
[all …]
/frameworks/base/tools/aapt/tests/
DResourceFilter_test.cpp30 TEST(WeakResourceFilterTest, EmptyFilterMatchesAnything) { in TEST() function
45 TEST(WeakResourceFilterTest, MatchesConfigWithUnrelatedAxis) { in TEST() function
55 TEST(WeakResourceFilterTest, MatchesConfigWithSameValueAxis) { in TEST() function
66 TEST(WeakResourceFilterTest, MatchesConfigWithSameValueAxisAndOtherUnrelatedAxis) { in TEST() function
78 TEST(WeakResourceFilterTest, MatchesConfigWithOneMatchingAxis) { in TEST() function
89 TEST(WeakResourceFilterTest, DoesNotMatchConfigWithDifferentValueAxis) { in TEST() function
100 TEST(WeakResourceFilterTest, DoesNotMatchWhenOneQualifierIsExplicitlyNotMatched) { in TEST() function
113 TEST(WeakResourceFilterTest, MatchesSmallestWidthWhenSmaller) { in TEST() function
126 TEST(WeakResourceFilterTest, MatchesConfigWithSameLanguageButNoRegionSpecified) { in TEST() function
137 TEST(WeakResourceFilterTest, ParsesStandardLocaleOnlyString) { in TEST() function
[all …]
DPseudolocales_test.cpp47 TEST(Pseudolocales, NoPseudolocalization) { in TEST() function
55 TEST(Pseudolocales, PlaintextAccent) { in TEST() function
71 TEST(Pseudolocales, PlaintextBidi) { in TEST() function
92 TEST(Pseudolocales, SimpleICU) { in TEST() function
111 TEST(Pseudolocales, ICUBidi) { in TEST() function
125 TEST(Pseudolocales, Escaping) { in TEST() function
135 TEST(Pseudolocales, PluralsAndSelects) { in TEST() function
165 TEST(Pseudolocales, NestedICU) { in TEST() function
211 TEST(Pseudolocales, RedefineMethod) { in TEST() function
DAaptConfig_test.cpp38 TEST(AaptConfigTest, ParseFailWhenQualifiersAreOutOfOrder) { in TEST() function
44 TEST(AaptConfigTest, ParseFailWhenQualifiersAreNotMatched) { in TEST() function
48 TEST(AaptConfigTest, ParseFailWhenQualifiersHaveTrailingDash) { in TEST() function
52 TEST(AaptConfigTest, ParseBasicQualifiers) { in TEST() function
66 TEST(AaptConfigTest, ParseLocales) { in TEST() function
72 TEST(AaptConfigTest, ParseQualifierAddedInApi13) { in TEST() function
81 TEST(AaptConfigTest, TestParsingOfCarAttribute) { in TEST() function
87 TEST(AaptConfigTest, TestParsingRoundQualifier) { in TEST() function
/frameworks/base/tools/aapt2/
DConfigDescription_test.cpp35 TEST(ConfigDescriptionTest, ParseFailWhenQualifiersAreOutOfOrder) { in TEST() function
41 TEST(ConfigDescriptionTest, ParseFailWhenQualifiersAreNotMatched) { in TEST() function
45 TEST(ConfigDescriptionTest, ParseFailWhenQualifiersHaveTrailingDash) { in TEST() function
49 TEST(ConfigDescriptionTest, ParseBasicQualifiers) { in TEST() function
63 TEST(ConfigDescriptionTest, ParseLocales) { in TEST() function
69 TEST(ConfigDescriptionTest, ParseQualifierAddedInApi13) { in TEST() function
78 TEST(ConfigDescriptionTest, ParseCarAttribute) { in TEST() function
84 TEST(ConfigDescriptionTest, TestParsingRoundQualifier) { in TEST() function
DResourceUtils_test.cpp26 TEST(ResourceUtilsTest, ParseBool) { in TEST() function
47 TEST(ResourceUtilsTest, ParseResourceName) { in TEST() function
65 TEST(ResourceUtilsTest, ParseReferenceWithNoPackage) { in TEST() function
76 TEST(ResourceUtilsTest, ParseReferenceWithPackage) { in TEST() function
88 TEST(ResourceUtilsTest, ParseReferenceWithSurroundingWhitespace) { in TEST() function
100 TEST(ResourceUtilsTest, ParseAutoCreateIdReference) { in TEST() function
112 TEST(ResourceUtilsTest, ParsePrivateReference) { in TEST() function
124 TEST(ResourceUtilsTest, FailToParseAutoCreateNonIdReference) { in TEST() function
132 TEST(ResourceUtilsTest, ParseAttributeReferences) { in TEST() function
139 TEST(ResourceUtilsTest, FailParseIncompleteReference) { in TEST() function
[all …]
DResourceTable_test.cpp31 TEST(ResourceTableTest, FailToAddResourceWithBadName) { in TEST() function
47 TEST(ResourceTableTest, AddOneResource) { in TEST() function
60 TEST(ResourceTableTest, AddMultipleResources) { in TEST() function
104 TEST(ResourceTableTest, OverrideWeakResourceValue) { in TEST() function
122 TEST(ResourceTableTest, ProductVaryingValues) { in TEST() function
DStringPool_test.cpp25 TEST(StringPoolTest, InsertOneString) { in TEST() function
32 TEST(StringPoolTest, InsertTwoUniqueStrings) { in TEST() function
42 TEST(StringPoolTest, DoNotInsertNewDuplicateString) { in TEST() function
53 TEST(StringPoolTest, MaintainInsertionOrderIndex) { in TEST() function
65 TEST(StringPoolTest, PruneStringsWithNoReferences) { in TEST() function
87 TEST(StringPoolTest, SortAndMaintainIndexesInReferences) { in TEST() function
118 TEST(StringPoolTest, SortAndStillDedupe) { in TEST() function
138 TEST(StringPoolTest, AddStyles) { in TEST() function
160 TEST(StringPoolTest, DoNotDedupeStyleWithSameStringAsNonStyle) { in TEST() function
171 TEST(StringPoolTest, FlattenEmptyStringPoolUtf8) { in TEST() function
[all …]
/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp25 TEST(ConfigLocaleTest, packAndUnpack2LetterLanguage) { in TEST() function
48 TEST(ConfigLocaleTest, packAndUnpack2LetterRegion) { in TEST() function
63 TEST(ConfigLocaleTest, packAndUnpack3LetterLanguage) { in TEST() function
79 TEST(ConfigLocaleTest, packAndUnpack3LetterLanguageAtOffset16) { in TEST() function
103 TEST(ConfigLocaleTest, packAndUnpack3LetterRegion) { in TEST() function
139 TEST(ConfigLocaleTest, IsMoreSpecificThan) { in TEST() function
178 TEST(ConfigLocaleTest, setLocale) { in TEST() function
240 TEST(ConfigLocaleTest, computeScript) { in TEST() function
268 TEST(ConfigLocaleTest, getBcp47Locale_script) { in TEST() function
282 TEST(ConfigLocaleTest, match) { in TEST() function
[all …]
DResTable_test.cpp56 TEST(ResTableTest, shouldLoadSuccessfully) { in TEST() function
61 TEST(ResTableTest, simpleTypeIsRetrievedCorrectly) { in TEST() function
68 TEST(ResTableTest, resourceNameIsResolved) { in TEST() function
81 TEST(ResTableTest, noParentThemeIsAppliedCorrectly) { in TEST() function
101 TEST(ResTableTest, parentThemeIsAppliedCorrectly) { in TEST() function
121 TEST(ResTableTest, libraryThemeIsAppliedCorrectly) { in TEST() function
141 TEST(ResTableTest, referenceToBagIsNotResolved) { in TEST() function
157 TEST(ResTableTest, resourcesStillAccessibleAfterParameterChange) { in TEST() function
185 TEST(ResTableTest, resourceIsOverridenWithBetterConfig) { in TEST() function
209 TEST(ResTableTest, emptyTableHasSensibleDefaults) { in TEST() function
[all …]
DSplit_test.cpp65 TEST(SplitTest, TestLoadBase) { in TEST() function
70 TEST(SplitTest, TestGetResourceFromBase) { in TEST() function
95 TEST(SplitTest, TestGetResourceFromSplit) { in TEST() function
116 TEST(SplitTest, ResourcesFromBaseAndSplitHaveSameNames) { in TEST() function
146 TEST(SplitTest, TypeEntrySpecFlagsAreUpdated) { in TEST() function
169 TEST(SplitTest, SelectBestDensity) { in TEST() function
196 TEST(SplitFeatureTest, TestNewResourceIsAccessible) { in TEST() function
212 TEST(SplitFeatureTest, TestNewResourceNameHasCorrectName) { in TEST() function
233 TEST(SplitFeatureTest, TestNewResourceIsAccessibleByName) { in TEST() function
DAttributeFinder_test.cpp57 TEST(AttributeFinderTest, IteratesSequentially) { in TEST() function
71 TEST(AttributeFinderTest, PackagesAreOutOfOrder) { in TEST() function
85 TEST(AttributeFinderTest, SomeAttributesAreNotFound) { in TEST() function
100 TEST(AttributeFinderTest, FindAttributesInPackageUnsortedAttributeList) { in TEST() function
117 TEST(AttributeFinderTest, FindAttributesInSinglePackageAttributeList) { in TEST() function
DConfig_test.cpp53 TEST(ConfigTest, shouldSelectBestDensity) { in TEST() function
86 TEST(ConfigTest, shouldSelectBestDensityWhenNoneSpecified) { in TEST() function
103 TEST(ConfigTest, shouldMatchRoundQualifier) { in TEST() function
128 TEST(ConfigTest, RoundQualifierShouldHaveStableSortOrder) { in TEST() function
152 TEST(ConfigTest, ScreenShapeHasCorrectDiff) { in TEST() function
162 TEST(ConfigTest, RoundIsMoreSpecific) { in TEST() function
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer_test.cpp54 TEST(PseudolocalizerTest, NoPseudolocalization) { in TEST() function
62 TEST(PseudolocalizerTest, PlaintextAccent) { in TEST() function
78 TEST(PseudolocalizerTest, PlaintextBidi) { in TEST() function
99 TEST(PseudolocalizerTest, SimpleICU) { in TEST() function
121 TEST(PseudolocalizerTest, ICUBidi) { in TEST() function
134 TEST(PseudolocalizerTest, Escaping) { in TEST() function
146 TEST(PseudolocalizerTest, PluralsAndSelects) { in TEST() function
174 TEST(PseudolocalizerTest, NestedICU) { in TEST() function
219 TEST(PseudolocalizerTest, RedefineMethod) { in TEST() function
/frameworks/minikin/tests/
DGraphemeBreakTests.cpp32 TEST(GraphemeBreak, utf16) { in TEST() function
44 TEST(GraphemeBreak, rules) { in TEST() function
120 TEST(GraphemeBreak, tailoring) { in TEST() function
159 TEST(GraphemeBreak, emojiModifiers) { in TEST() function
185 TEST(GraphemeBreak, genderBalancedEmoji) { in TEST() function
195 TEST(GraphemeBreak, offsets) { in TEST() function
/frameworks/base/libs/hwui/tests/unit/
DFatVectorTests.cpp33 TEST(FatVector, baseline) { in TEST() function
42 TEST(FatVector, simpleAllocate) { in TEST() function
59 TEST(FatVector, preSizeConstructor) { in TEST() function
80 TEST(FatVector, shrink) { in TEST() function
95 TEST(FatVector, destructorInternal) { in TEST() function
107 TEST(FatVector, destructorExternal) { in TEST() function
DRecordingCanvasTests.cpp49 TEST(RecordingCanvas, emptyPlayback) { in TEST() function
57 TEST(RecordingCanvas, clipRect) { in TEST() function
73 TEST(RecordingCanvas, emptyClipRect) { in TEST() function
84 TEST(RecordingCanvas, emptyPaintRejection) { in TEST() function
105 TEST(RecordingCanvas, drawArc) { in TEST() function
121 TEST(RecordingCanvas, drawLines) { in TEST() function
138 TEST(RecordingCanvas, drawRect) { in TEST() function
150 TEST(RecordingCanvas, drawRoundRect) { in TEST() function
167 TEST(RecordingCanvas, drawGlyphs) { in TEST() function
188 TEST(RecordingCanvas, drawGlyphs_strikeThruAndUnderline) { in TEST() function
[all …]
DClipAreaTests.cpp38 TEST(TransformedRectangle, basics) { in TEST() function
60 TEST(RectangleList, basics) { in TEST() function
88 TEST(ClipArea, basics) { in TEST() function
93 TEST(ClipArea, paths) { in TEST() function
113 TEST(ClipArea, replaceNegative) { in TEST() function
122 TEST(ClipArea, serializeClip) { in TEST() function
175 TEST(ClipArea, serializeClip_pathIntersectWithRoot) { in TEST() function
187 TEST(ClipArea, serializeIntersectedClip) { in TEST() function
255 TEST(ClipArea, serializeIntersectedClip_snap) { in TEST() function
278 TEST(ClipArea, serializeIntersectedClip_scale) { in TEST() function
[all …]
DDamageAccumulatorTests.cpp32 TEST(DamageAccumulator, identity) { in TEST() function
52 TEST(DamageAccumulator, translate) { in TEST() function
67 TEST(DamageAccumulator, union) { in TEST() function
84 TEST(DamageAccumulator, basicRenderNode) { in TEST() function
104 TEST(DamageAccumulator, perspectiveTransform) { in TEST() function
DStringUtilsTests.cpp24 TEST(StringUtils, simpleBuildSet) { in TEST() function
33 TEST(StringUtils, advancedBuildSet) { in TEST() function
40 TEST(StringUtils, sizePrinter) { in TEST() function
DCanvasStateTests.cpp48 TEST(CanvasState, gettersAndSetters) { in TEST() function
66 TEST(CanvasState, simpleClipping) { in TEST() function
81 TEST(CanvasState, complexClipping) { in TEST() function
117 TEST(CanvasState, saveAndRestore) { in TEST() function
141 TEST(CanvasState, saveAndRestoreButNotTooMuch) { in TEST() function
/frameworks/base/tools/aapt2/link/
DReferenceLinker_test.cpp24 TEST(ReferenceLinkerTest, LinkSimpleReferences) { in TEST() function
66 TEST(ReferenceLinkerTest, LinkStyleAttributes) { in TEST() function
125 TEST(ReferenceLinkerTest, LinkMangledReferencesAndAttributes) { in TEST() function
157 TEST(ReferenceLinkerTest, FailToLinkPrivateSymbols) { in TEST() function
178 TEST(ReferenceLinkerTest, FailToLinkPrivateMangledSymbols) { in TEST() function
201 TEST(ReferenceLinkerTest, FailToLinkPrivateStyleAttributes) { in TEST() function
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator_test.cpp26 TEST(JavaClassGeneratorTest, FailWhenEntryIsJavaKeyword) { in TEST() function
42 TEST(JavaClassGeneratorTest, TransformInvalidJavaIdentifierCharacter) { in TEST() function
75 TEST(JavaClassGeneratorTest, CorrectPackageNameIsUsed) { in TEST() function
97 TEST(JavaClassGeneratorTest, AttrPrivateIsWrittenAsAttr) { in TEST() function
117 TEST(JavaClassGeneratorTest, OnlyWritePublicResources) { in TEST() function
199 TEST(JavaClassGeneratorTest, EmitOtherPackagesAttributesInStyleable) { in TEST() function
228 TEST(JavaClassGeneratorTest, CommentsForSimpleResourcesArePresent) { in TEST() function
256 TEST(JavaClassGeneratorTest, CommentsForEnumAndFlagAttributesArePresent) { in TEST() function
260 TEST(JavaClassGeneratorTest, CommentsForStyleablesAndNestedAttributesArePresent) { in TEST() function
292 TEST(JavaClassGeneratorTest, CommentsForRemovedAttributesAreNotPresentInClass) { in TEST() function

1234