Home
last modified time | relevance | path

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

12345

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp27 TEST(UtilTest, TrimOnlyWhitespace) { in TEST() function
35 TEST(UtilTest, StringEndsWith) { in TEST() function
39 TEST(UtilTest, StringStartsWith) { in TEST() function
43 TEST(UtilTest, StringBuilderSplitEscapeSequence) { in TEST() function
50 TEST(UtilTest, StringBuilderWhitespaceRemoval) { in TEST() function
70 TEST(UtilTest, StringBuilderEscaping) { in TEST() function
81 TEST(UtilTest, StringBuilderMisplacedQuote) { in TEST() function
86 TEST(UtilTest, StringBuilderUnicodeCodes) { in TEST() function
93 TEST(UtilTest, TokenizeInput) { in TEST() function
107 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.cpp23 TEST(ConfigFilterTest, EmptyFilterMatchesAnything) { in TEST() function
30 TEST(ConfigFilterTest, MatchesConfigWithUnrelatedAxis) { in TEST() function
37 TEST(ConfigFilterTest, MatchesConfigWithSameValueAxis) { in TEST() function
44 TEST(ConfigFilterTest, MatchesConfigWithSameValueAxisAndOtherUnrelatedAxis) { in TEST() function
51 TEST(ConfigFilterTest, MatchesConfigWithOneMatchingAxis) { in TEST() function
61 TEST(ConfigFilterTest, DoesNotMatchConfigWithDifferentValueAxis) { in TEST() function
68 TEST(ConfigFilterTest, DoesNotMatchWhenOneQualifierIsExplicitlyNotMatched) { in TEST() function
80 TEST(ConfigFilterTest, MatchesSmallestWidthWhenSmaller) { in TEST() function
87 TEST(ConfigFilterTest, MatchesConfigWithSameLanguageButNoRegionSpecified) { in TEST() function
94 TEST(ConfigFilterTest, IgnoresVersion) { in TEST() function
[all …]
/frameworks/base/tools/aapt2/
DConfigDescription_test.cpp38 TEST(ConfigDescriptionTest, ParseFailWhenQualifiersAreOutOfOrder) { in TEST() function
44 TEST(ConfigDescriptionTest, ParseFailWhenQualifiersAreNotMatched) { in TEST() function
48 TEST(ConfigDescriptionTest, ParseFailWhenQualifiersHaveTrailingDash) { in TEST() function
52 TEST(ConfigDescriptionTest, ParseBasicQualifiers) { in TEST() function
69 TEST(ConfigDescriptionTest, ParseLocales) { in TEST() function
75 TEST(ConfigDescriptionTest, ParseQualifierAddedInApi13) { in TEST() function
84 TEST(ConfigDescriptionTest, ParseCarAttribute) { in TEST() function
90 TEST(ConfigDescriptionTest, TestParsingRoundQualifier) { in TEST() function
105 TEST(ConfigDescriptionTest, TestWideColorGamutQualifier) { in TEST() function
120 TEST(ConfigDescriptionTest, TestHdrQualifier) { in TEST() function
[all …]
DResourceUtils_test.cpp27 TEST(ResourceUtilsTest, ParseBool) { in TEST() function
36 TEST(ResourceUtilsTest, ParseResourceName) { in TEST() function
57 TEST(ResourceUtilsTest, ParseReferenceWithNoPackage) { in TEST() function
69 TEST(ResourceUtilsTest, ParseReferenceWithPackage) { in TEST() function
81 TEST(ResourceUtilsTest, ParseReferenceWithSurroundingWhitespace) { in TEST() function
93 TEST(ResourceUtilsTest, ParseAutoCreateIdReference) { in TEST() function
105 TEST(ResourceUtilsTest, ParsePrivateReference) { in TEST() function
117 TEST(ResourceUtilsTest, FailToParseAutoCreateNonIdReference) { in TEST() function
125 TEST(ResourceUtilsTest, ParseAttributeReferences) { in TEST() function
132 TEST(ResourceUtilsTest, FailParseIncompleteReference) { in TEST() function
[all …]
DResourceTable_test.cpp29 TEST(ResourceTableTest, FailToAddResourceWithBadName) { in TEST() function
43 TEST(ResourceTableTest, AddResourceWithWeirdNameWhenAddingMangledResources) { in TEST() function
51 TEST(ResourceTableTest, AddOneResource) { in TEST() function
62 TEST(ResourceTableTest, AddMultipleResources) { in TEST() function
98 TEST(ResourceTableTest, OverrideWeakResourceValue) { in TEST() function
118 TEST(ResourceTableTest, ProductVaryingValues) { in TEST() function
DStringPool_test.cpp31 TEST(StringPoolTest, InsertOneString) { in TEST() function
38 TEST(StringPoolTest, InsertTwoUniqueStrings) { in TEST() function
48 TEST(StringPoolTest, DoNotInsertNewDuplicateString) { in TEST() function
59 TEST(StringPoolTest, MaintainInsertionOrderIndex) { in TEST() function
71 TEST(StringPoolTest, PruneStringsWithNoReferences) { in TEST() function
93 TEST(StringPoolTest, SortAndMaintainIndexesInReferences) { in TEST() function
123 TEST(StringPoolTest, SortAndStillDedupe) { in TEST() function
143 TEST(StringPoolTest, AddStyles) { in TEST() function
160 TEST(StringPoolTest, DoNotDedupeStyleWithSameStringAsNonStyle) { in TEST() function
171 TEST(StringPoolTest, FlattenEmptyStringPoolUtf8) { in TEST() function
[all …]
DResourceValues_test.cpp23 TEST(ResourceValuesTest, PluralEquals) { in TEST() function
42 TEST(ResourceValuesTest, PluralClone) { in TEST() function
53 TEST(ResourceValuesTest, ArrayEquals) { in TEST() function
77 TEST(ResourceValuesTest, ArrayClone) { in TEST() function
88 TEST(ResourceValuesTest, StyleEquals) { in TEST() function
140 TEST(ResourceValuesTest, StyleClone) { in TEST() function
151 TEST(ResourceValuesTest, StyleMerges) { in TEST() function
185 TEST(ResourcesValuesTest, EmptyReferenceFlattens) { in TEST() function
/frameworks/base/tools/aapt/tests/
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
102 TEST(AaptConfigTest, WideColorGamutQualifier) { in TEST() function
117 TEST(AaptConfigTest, HdrQualifier) { in TEST() function
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
/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, getBcp47Locale_canonicalize) { in TEST() function
[all …]
DResTable_test.cpp35 TEST(ResTableTest, ShouldLoadSuccessfully) { in TEST() function
44 TEST(ResTableTest, ShouldLoadSparseEntriesSuccessfully) { in TEST() function
72 TEST(ResTableTest, SimpleTypeIsRetrievedCorrectly) { in TEST() function
83 TEST(ResTableTest, ResourceNameIsResolved) { in TEST() function
100 TEST(ResTableTest, NoParentThemeIsAppliedCorrectly) { in TEST() function
124 TEST(ResTableTest, ParentThemeIsAppliedCorrectly) { in TEST() function
148 TEST(ResTableTest, LibraryThemeIsAppliedCorrectly) { in TEST() function
172 TEST(ResTableTest, ReferenceToBagIsNotResolved) { in TEST() function
193 TEST(ResTableTest, ResourcesStillAccessibleAfterParameterChange) { in TEST() function
226 TEST(ResTableTest, ResourceIsOverridenWithBetterConfig) { in TEST() function
[all …]
DConfig_test.cpp54 TEST(ConfigTest, shouldSelectBestDensity) { in TEST() function
88 TEST(ConfigTest, shouldSelectBestDensityWhenNoneSpecified) { in TEST() function
106 TEST(ConfigTest, shouldMatchRoundQualifier) { in TEST() function
131 TEST(ConfigTest, RoundQualifierShouldHaveStableSortOrder) { in TEST() function
155 TEST(ConfigTest, ScreenShapeHasCorrectDiff) { in TEST() function
166 TEST(ConfigTest, RoundIsMoreSpecific) { in TEST() function
185 TEST(ConfigTest, ScreenIsWideGamut) { in TEST() function
195 TEST(ConfigTest, ScreenIsHdr) { in TEST() function
/frameworks/native/libs/binder/tests/
DbinderTextOutputTest.cpp60 TEST(TextOutput, HandlesStdEndl) { in TEST() function
69 TEST(TextOutput, HandlesCEndl) { in TEST() function
78 TEST(TextOutput, HandlesAndroidEndl) { in TEST() function
87 TEST(TextOutput, HandleEmptyString) { in TEST() function
91 TEST(TextOutput, HandleString) { in TEST() function
95 TEST(TextOutput, HandleNum) { in TEST() function
99 TEST(TextOutput, HandleBool) { in TEST() function
103 TEST(TextOutput, HandleChar) { in TEST() function
107 TEST(TextOutput, HandleParcel) { in TEST() function
112 TEST(TextOutput, HandleHexDump) { in TEST() function
[all …]
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer_test.cpp52 TEST(PseudolocalizerTest, NoPseudolocalization) { in TEST() function
61 TEST(PseudolocalizerTest, PlaintextAccent) { in TEST() function
79 TEST(PseudolocalizerTest, PlaintextBidi) { in TEST() function
102 TEST(PseudolocalizerTest, SimpleICU) { in TEST() function
124 TEST(PseudolocalizerTest, ICUBidi) { in TEST() function
138 TEST(PseudolocalizerTest, Escaping) { in TEST() function
150 TEST(PseudolocalizerTest, PluralsAndSelects) { in TEST() function
179 TEST(PseudolocalizerTest, NestedICU) { in TEST() function
224 TEST(PseudolocalizerTest, RedefineMethod) { in TEST() function
DNinePatch_test.cpp184 TEST(NinePatchTest, Minimum3x3) { in TEST() function
190 TEST(NinePatchTest, MixedNeutralColors) { in TEST() function
196 TEST(NinePatchTest, TransparentNeutralColor) { in TEST() function
202 TEST(NinePatchTest, SingleStretchRegion) { in TEST() function
215 TEST(NinePatchTest, MultipleStretchRegions) { in TEST() function
232 TEST(NinePatchTest, InferPaddingFromStretchRegions) { in TEST() function
240 TEST(NinePatchTest, Padding) { in TEST() function
248 TEST(NinePatchTest, LayoutBoundsAreOnWrongEdge) { in TEST() function
254 TEST(NinePatchTest, LayoutBoundsMustTouchEdges) { in TEST() function
261 TEST(NinePatchTest, LayoutBounds) { in TEST() function
[all …]
DPseudolocaleGenerator_test.cpp24 TEST(PseudolocaleGeneratorTest, PseudolocalizeStyledString) { in TEST() function
71 TEST(PseudolocaleGeneratorTest, PseudolocalizeAdjacentNestedTags) { in TEST() function
93 TEST(PseudolocaleGeneratorTest, PseudolocalizeAdjacentTagsUnsorted) { in TEST() function
115 TEST(PseudolocaleGeneratorTest, PseudolocalizeNestedAndAdjacentTags) { in TEST() function
154 TEST(PseudolocaleGeneratorTest, PseudolocalizePartsOfString) { in TEST() function
180 TEST(PseudolocaleGeneratorTest, PseudolocalizeOnlyDefaultConfigs) { in TEST() function
235 TEST(PseudolocaleGeneratorTest, RespectUntranslateableSections) { in TEST() function
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp107 TEST(SerializableTypes, Constructor) { in TEST() function
115 TEST(SerializationTest, bool) { in TEST() function
135 TEST(SerializationTest, uint8_t) { in TEST() function
169 TEST(SerializationTest, uint16_t) { in TEST() function
217 TEST(SerializationTest, uint32_t) { in TEST() function
279 TEST(SerializationTest, uint64_t) { in TEST() function
356 TEST(SerializationTest, int8_t) { in TEST() function
404 TEST(SerializationTest, int16_t) { in TEST() function
466 TEST(SerializationTest, int32_t) { in TEST() function
542 TEST(SerializationTest, int64_t) { in TEST() function
[all …]
Dstatus_tests.cpp8 TEST(Status, DefaultInit) { in TEST() function
16 TEST(Status, InitalizeSuccess) { in TEST() function
36 TEST(Status, InitalizeError) { in TEST() function
49 TEST(Status, ErrorMessage) { in TEST() function
57 TEST(Status, Copy) { in TEST() function
83 TEST(Status, Move) { in TEST() function
116 TEST(Status, Take) { in TEST() function
/frameworks/minikin/tests/unittest/
DEmojiTest.cpp25 TEST(EmojiTest, isEmojiTest) { in TEST() function
43 TEST(EmojiTest, isEmojiModifierTest) { in TEST() function
56 TEST(EmojiTest, isEmojiBaseTest) { in TEST() function
80 TEST(EmojiTest, emojiBidiOverrideTest) { 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
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 …]
DTypefaceTests.cpp67 TEST(TypefaceTest, resolveDefault_and_setDefaultTest) { in TEST() function
82 TEST(TypefaceTest, createWithDifferentBaseWeight) { in TEST() function
94 TEST(TypefaceTest, createRelativeTest_fromRegular) { in TEST() function
121 TEST(TypefaceTest, createRelativeTest_BoldBase) { in TEST() function
150 TEST(TypefaceTest, createRelativeTest_LightBase) { in TEST() function
179 TEST(TypefaceTest, createRelativeTest_fromBoldStyled) { in TEST() function
209 TEST(TypefaceTest, createRelativeTest_fromItalicStyled) { in TEST() function
241 TEST(TypefaceTest, createRelativeTest_fromSpecifiedStyled) { in TEST() function
282 TEST(TypefaceTest, createAbsolute) { in TEST() function
324 TEST(TypefaceTest, createFromFamilies_Single) { in TEST() function
[all …]
/frameworks/base/tools/aapt2/link/
DReferenceLinker_test.cpp25 TEST(ReferenceLinkerTest, LinkSimpleReferences) { in TEST() function
72 TEST(ReferenceLinkerTest, LinkStyleAttributes) { in TEST() function
137 TEST(ReferenceLinkerTest, LinkMangledReferencesAndAttributes) { in TEST() function
174 TEST(ReferenceLinkerTest, FailToLinkPrivateSymbols) { in TEST() function
199 TEST(ReferenceLinkerTest, FailToLinkPrivateMangledSymbols) { in TEST() function
227 TEST(ReferenceLinkerTest, FailToLinkPrivateStyleAttributes) { in TEST() function
258 TEST(ReferenceLinkerTest, AppsWithSamePackageButDifferentIdAreVisibleNonPublic) { in TEST() function
273 TEST(ReferenceLinkerTest, AppsWithDifferentPackageCanNotUseEachOthersAttribute) { in TEST() function

12345