Home
last modified time | relevance | path

Searched refs:TEST (Results 1 – 25 of 87) sorted by relevance

1234

/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/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
DMaybe_test.cpp87 TEST(MaybeTest, MakeNothing) { in TEST() function
98 TEST(MaybeTest, MakeSomething) { in TEST() function
108 TEST(MaybeTest, Lifecycle) { in TEST() function
114 TEST(MaybeTest, MoveAssign) { in TEST() function
122 TEST(MaybeTest, Equality) { in TEST() function
DStringPiece_test.cpp26 TEST(StringPieceTest, CompareNonNullTerminatedPiece) { in TEST() function
36 TEST(StringPieceTest, PiecesHaveCorrectSortOrder) { in TEST() function
49 TEST(StringPieceTest, PiecesHaveCorrectSortOrderUtf8) { in TEST() function
62 TEST(StringPieceTest, ContainsOtherStringPiece) { 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 …]
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/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/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, drawArc) { in TEST() function
100 TEST(RecordingCanvas, drawLines) { in TEST() function
117 TEST(RecordingCanvas, drawRect) { in TEST() function
129 TEST(RecordingCanvas, drawRoundRect) { in TEST() function
146 TEST(RecordingCanvas, drawGlyphs) { in TEST() function
167 TEST(RecordingCanvas, drawGlyphs_strikeThruAndUnderline) { in TEST() function
199 TEST(RecordingCanvas, drawGlyphs_forceAlignLeft) { in TEST() function
[all …]
DLinearAllocatorTests.cpp30 TEST(LinearAllocator, create) { in TEST() function
45 TEST(LinearAllocator, dtor) { in TEST() function
68 TEST(LinearAllocator, rewind) { in TEST() function
89 TEST(LinearStdAllocator, simpleAllocate) { in TEST() function
117 TEST(LsaVector, dtorCheck) { in TEST() function
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
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
DLayerUpdateQueueTests.cpp27 TEST(LayerUpdateQueue, construct) { in TEST() function
39 TEST(LayerUpdateQueue, enqueueSimple) { in TEST() function
59 TEST(LayerUpdateQueue, enqueueUnion) { in TEST() function
72 TEST(LayerUpdateQueue, clear) { 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/libs/androidfw/tests/
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
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 …]
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/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
184 TEST(GraphemeBreak, offsets) { in TEST() function

1234