Searched refs:TEST_F (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/compile/mclinker/unittests/
H A DLDSymbolTest.cpp40 TEST_F( LDSymbolTest, produce ) { function
H A DPathSetTest.cpp43 TEST_F( PathSetTest, ) { function
H A DTargetMachineTest.cpp39 TEST_F( TargetMachineTest, addPassesToEmitFile ) { function
H A DLinearAllocatorTest.cpp42 TEST_F( LinearAllocatorTest, allocateN ) { function
49 TEST_F( LinearAllocatorTest, allocate ) { function
56 TEST_F( LinearAllocatorTest, allocateOver ) { function
63 TEST_F( LinearAllocatorTest, alloc_construct ) { function
72 TEST_F( LinearAllocatorTest, alloc_constructCopy ) { function
83 TEST_F( LinearAllocatorTest, allocN_construct ) { function
92 TEST_F( LinearAllocatorTest, allocN_constructCopy ) { function
103 TEST_F( LinearAllocatorTest, multi_alloc_ctor_iterate ) { function
119 TEST_F( LinearAllocatorTest, multi_allocN_ctor_iterate ) { function
H A DRTLinearAllocatorTest.cpp43 TEST_F(RTLinearAllocatorTest, AllocateN) { function
50 TEST_F(RTLinearAllocatorTest, allocate ) { function
57 TEST_F(RTLinearAllocatorTest, allocateOver ) { function
64 TEST_F(RTLinearAllocatorTest, alloc_construct ) { function
73 TEST_F(RTLinearAllocatorTest, alloc_constructCopy ) { function
84 TEST_F(RTLinearAllocatorTest, allocN_construct ) { function
93 TEST_F(RTLinearAllocatorTest, allocN_constructCopy ) { function
104 TEST_F(RTLinearAllocatorTest, multi_alloc_ctor_iterate ) { function
120 TEST_F(RTLinearAllocatorTest, multi_allocN_ctor_iterate ) { function
H A DSymbolTableTest.cpp41 TEST_F(SymbolTableTest, init) { function
H A DSystemUtilsTest.cpp39 TEST_F( SystemUtilsTest, test_strerror) { function
H A DGCFactoryListTraitsTest.cpp79 TEST_F( GCFactoryListTraitsTest, Basic) { function
84 TEST_F( GCFactoryListTraitsTest, BasicAgain) { function
89 TEST_F( GCFactoryListTraitsTest, Clear) { function
94 TEST_F( GCFactoryListTraitsTest, PushThenPop) { function
102 TEST_F( GCFactoryListTraitsTest, CodeIterator) { function
109 TEST_F( GCFactoryListTraitsTest, Empty) { function
115 TEST_F( GCFactoryListTraitsTest, EraseAndSize) { function
H A DPathTest.cpp45 TEST_F( PathTest, should_exist ) { function
55 TEST_F( PathTest, should_not_exist ) { function
65 TEST_F( PathTest, should_is_directory ) { function
77 TEST_F( PathTest, should_not_is_directory ) { function
88 TEST_F( PathTest, should_equal ) { function
102 TEST_F( PathTest, should_not_equal ) { function
115 TEST_F( PathTest, append_success ) { function
136 TEST_F( PathTest, should_become_generic_string ) { function
141 TEST_F( PathTest, parent_path ) { function
H A DStringTableTest.cpp45 TEST_F(StringTableTest, different_string_size) { function
56 TEST_F(StringTableTest, traverse_begin_to_end) { function
73 TEST_F(StringTableTest, null_string) { function
H A DFileHandleTest.cpp47 TEST_F(FileHandleTest, open_close) { function
63 TEST_F(FileHandleTest, delegate_close) { function
87 TEST_F(FileHandleTest, fail_close) { function
H A DDirIteratorTest.cpp49 TEST_F( DirIteratorTest, open_dir ) { function
H A DFactoriesTest.cpp44 TEST_F( FactoriesTest, node_produce ) { function
56 TEST_F( FactoriesTest, node_iterate ) { function
75 TEST_F( FactoriesTest, node_delegate_empty ) { function
97 TEST_F( FactoriesTest, node_empty_delegate ) { function
121 TEST_F( FactoriesTest, node_delegate ) { function
157 TEST_F( FactoriesTest, node_delegate_self ) { function
170 TEST_F( FactoriesTest, file_produce ) { function
179 TEST_F( FactoriesTest, file_produce_by_params ) { function
196 TEST_F( FactoriesTest, file_iterate ) { function
H A DUniqueGCFactoryBaseTest.cpp50 TEST_F( UniqueGCFactoryBaseTest, number_constructor ) { function
58 TEST_F( UniqueGCFactoryBaseTest, unique_produce ) { function
68 TEST_F( UniqueGCFactoryBaseTest, unique_produce2 ) { function
78 TEST_F( UniqueGCFactoryBaseTest, iterator ) function
H A DHashTableTest.cpp76 TEST_F( HashTableTest, ptr_entry ) { function
97 TEST_F( HashTableTest, constructor ) { function
105 TEST_F( HashTableTest, allocattion ) { function
122 TEST_F( HashTableTest, alloc100 ) { function
144 TEST_F( HashTableTest, erase100 ) { function
169 TEST_F( HashTableTest, clear) { function
193 TEST_F( HashTableTest, tombstone ) { function
229 TEST_F( HashTableTest, rehash_test ) { function
250 TEST_F( HashTableTest, bucket_iterator ) { function
273 TEST_F( HashTableTes function
304 TEST_F( HashTableTest, chain_iterator_list ) { function
[all...]
H A DFragmentTest.cpp42 TEST_F( FragmentTest, Fragment_constructor ) { function
57 TEST_F( FragmentTest, Fragment_trivial_function ) { function
H A DMCRegionFragmentTest.cpp45 TEST_F( MCRegionFragmentTest, classof_explicit ) { function
60 TEST_F( MCRegionFragmentTest, classof_implicit ) { function
/frameworks/base/cmds/installd/tests/
H A Dinstalld_utils_test.cpp79 TEST_F(UtilsTest, IsValidApkPath_BadPrefix) { function in namespace:android
98 TEST_F(UtilsTest, IsValidApkPath_Internal) { function in namespace:android
117 TEST_F(UtilsTest, IsValidApkPath_Private) { function in namespace:android
137 TEST_F(UtilsTest, IsValidApkPath_AsecGood1) { function in namespace:android
143 TEST_F(UtilsTest, IsValidApkPath_AsecGood2) { function in namespace:android
149 TEST_F(UtilsTest, IsValidApkPath_EscapeFail) { function in namespace:android
155 TEST_F(UtilsTest, IsValidApkPath_DoubleSlashFail) { function in namespace:android
161 TEST_F(UtilsTest, IsValidApkPath_SubdirEscapeFail) { function in namespace:android
167 TEST_F(UtilsTest, IsValidApkPath_SlashEscapeFail) { function in namespace:android
173 TEST_F(UtilsTes function in namespace:android
179 TEST_F(UtilsTest, IsValidApkPath_SubdirEscapeSingleFail) { function in namespace:android
185 TEST_F(UtilsTest, IsValidApkPath_TwoSubdirFail) { function in namespace:android
191 TEST_F(UtilsTest, CheckSystemApp_Dir1) { function in namespace:android
197 TEST_F(UtilsTest, CheckSystemApp_Dir2) { function in namespace:android
203 TEST_F(UtilsTest, CheckSystemApp_EscapeFail) { function in namespace:android
209 TEST_F(UtilsTest, CheckSystemApp_DoubleEscapeFail) { function in namespace:android
215 TEST_F(UtilsTest, CheckSystemApp_BadPathEscapeFail) { function in namespace:android
221 TEST_F(UtilsTest, GetPathFromString_NullPathFail) { function in namespace:android
227 TEST_F(UtilsTest, GetPathFromString_EmptyPathFail) { function in namespace:android
233 TEST_F(UtilsTest, GetPathFromString_RelativePathFail) { function in namespace:android
239 TEST_F(UtilsTest, GetPathFromString_NonCanonical) { function in namespace:android
251 TEST_F(UtilsTest, GetPathFromString_CanonicalPath) { function in namespace:android
262 TEST_F(UtilsTest, CreatePkgPath_LongPkgNameSuccess) { function in namespace:android
280 TEST_F(UtilsTest, CreatePkgPath_LongPkgNameFail) { function in namespace:android
293 TEST_F(UtilsTest, CreatePkgPath_LongPostfixFail) { function in namespace:android
306 TEST_F(UtilsTest, CreatePkgPath_PrimaryUser) { function in namespace:android
316 TEST_F(UtilsTest, CreatePkgPath_SecondaryUser) { function in namespace:android
326 TEST_F(UtilsTest, CreatePkgPathInDir_ProtectedDir) { function in namespace:android
340 TEST_F(UtilsTest, CreatePersonaPath_Primary) { function in namespace:android
350 TEST_F(UtilsTest, CreatePersonaPath_Secondary) { function in namespace:android
360 TEST_F(UtilsTest, CreateMovePath_Primary) { function in namespace:android
370 TEST_F(UtilsTest, CreateMovePath_Fail_AppTooLong) { function in namespace:android
377 TEST_F(UtilsTest, CreateMovePath_Fail_LeafTooLong) { function in namespace:android
384 TEST_F(UtilsTest, CopyAndAppend_Normal) { function in namespace:android
402 TEST_F(UtilsTest, AppendAndIncrement_Normal) { function in namespace:android
421 TEST_F(UtilsTest, AppendAndIncrement_TooBig) { function in namespace:android
[all...]
/frameworks/native/libs/utils/tests/
H A DUnicode_test.cpp34 TEST_F(UnicodeTest, UTF8toUTF16ZeroLength) { function in namespace:android
44 TEST_F(UnicodeTest, UTF8toUTF16ASCIILength) { function in namespace:android
55 TEST_F(UnicodeTest, UTF8toUTF16Plane1Length) { function in namespace:android
66 TEST_F(UnicodeTest, UTF8toUTF16SurrogateLength) { function in namespace:android
77 TEST_F(UnicodeTest, UTF8toUTF16TruncatedUTF8) { function in namespace:android
89 TEST_F(UnicodeTest, UTF8toUTF16Normal) { function in namespace:android
H A DBlobCache_test.cpp46 TEST_F(BlobCacheTest, CacheSingleValueSucceeds) { function in namespace:android
56 TEST_F(BlobCacheTest, CacheTwoValuesSucceeds) { function in namespace:android
68 TEST_F(BlobCacheTest, GetOnlyWritesInsideBounds) { function in namespace:android
80 TEST_F(BlobCacheTest, GetOnlyWritesIfBufferIsLargeEnough) { function in namespace:android
89 TEST_F(BlobCacheTest, GetDoesntAccessNullBuffer) { function in namespace:android
94 TEST_F(BlobCacheTest, MultipleSetsCacheLatestValue) { function in namespace:android
105 TEST_F(BlobCacheTest, SecondSetKeepsFirstValueIfTooLarge) { function in namespace:android
116 TEST_F(BlobCacheTest, DoesntCacheIfKeyIsTooBig) { function in namespace:android
130 TEST_F(BlobCacheTest, DoesntCacheIfValueIsTooBig) { function in namespace:android
146 TEST_F(BlobCacheTes function in namespace:android
284 TEST_F(BlobCacheFlattenTest, FlattenOneValue) { function
295 TEST_F(BlobCacheFlattenTest, FlattenFullCache) { function
314 TEST_F(BlobCacheFlattenTest, FlattenDoesntChangeCache) { function
336 TEST_F(BlobCacheFlattenTest, FlattenCatchesBufferTooSmall) { function
350 TEST_F(BlobCacheFlattenTest, UnflattenCatchesBadMagic) { function
367 TEST_F(BlobCacheFlattenTest, UnflattenCatchesBadBlobCacheVersion) { function
386 TEST_F(BlobCacheFlattenTest, UnflattenCatchesBadBlobCacheDeviceVersion) { function
405 TEST_F(BlobCacheFlattenTest, UnflattenCatchesBufferTooSmall) { function
[all...]
H A DString8_test.cpp34 TEST_F(String8Test, Cstr) { function in namespace:android
40 TEST_F(String8Test, OperatorPlus) { function in namespace:android
58 TEST_F(String8Test, OperatorPlusEquals) { function in namespace:android
H A DLooper_test.cpp115 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndNotAwoken_WaitsForTimeout) { function in namespace:android
126 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndAwokenBeforeWaiting_ImmediatelyReturns) { function in namespace:android
139 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndAwokenWhileWaiting_PromptlyReturns) { function in namespace:android
153 TEST_F(LooperTest, PollOnce_WhenZeroTimeoutAndNoRegisteredFDs_ImmediatelyReturns) { function in namespace:android
164 TEST_F(LooperTest, PollOnce_WhenZeroTimeoutAndNoSignalledFDs_ImmediatelyReturns) { function in namespace:android
182 TEST_F(LooperTest, PollOnce_WhenZeroTimeoutAndSignalledFD_ImmediatelyInvokesCallbackAndReturns) { function in namespace:android
205 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndNoSignalledFDs_WaitsForTimeoutAndReturns) { function in namespace:android
223 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndSignalledFDBeforeWaiting_ImmediatelyInvokesCallbackAndReturns) { function in namespace:android
248 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndSignalledFDWhileWaiting_PromptlyInvokesCallbackAndReturns) { function in namespace:android
274 TEST_F(LooperTes function in namespace:android
296 TEST_F(LooperTest, PollOnce_WhenCallbackReturnsFalse_CallbackShouldNotBeInvokedAgainLater) { function in namespace:android
335 TEST_F(LooperTest, PollOnce_WhenNonCallbackFdIsSignalled_ReturnsIdent) { function in namespace:android
365 TEST_F(LooperTest, AddFd_WhenCallbackAdded_ReturnsOne) { function in namespace:android
373 TEST_F(LooperTest, AddFd_WhenIdentIsNegativeAndCallbackIsNull_ReturnsError) { function in namespace:android
381 TEST_F(LooperTest, AddFd_WhenNoCallbackAndAllowNonCallbacksIsFalse_ReturnsError) { function in namespace:android
390 TEST_F(LooperTest, RemoveFd_WhenCallbackNotAdded_ReturnsZero) { function in namespace:android
397 TEST_F(LooperTest, RemoveFd_WhenCallbackAddedThenRemovedTwice_ReturnsOnceFirstTimeAndReturnsZeroSecondTime) { function in namespace:android
415 TEST_F(LooperTest, PollOnce_WhenCallbackAddedTwice_OnlySecondCallbackShouldBeInvoked) { function in namespace:android
440 TEST_F(LooperTest, SendMessage_WhenOneMessageIsEnqueue_ShouldInvokeHandlerDuringNextPoll) { function in namespace:android
458 TEST_F(LooperTest, SendMessage_WhenMultipleMessagesAreEnqueued_ShouldInvokeHandlersInOrderDuringNextPoll) { function in namespace:android
488 TEST_F(LooperTest, SendMessageDelayed_WhenSentToTheFuture_ShouldInvokeHandlerAfterDelayTime) { function in namespace:android
524 TEST_F(LooperTest, SendMessageDelayed_WhenSentToThePast_ShouldInvokeHandlerDuringNextPoll) { function in namespace:android
542 TEST_F(LooperTest, SendMessageDelayed_WhenSentToThePresent_ShouldInvokeHandlerDuringNextPoll) { function in namespace:android
560 TEST_F(LooperTest, SendMessageAtTime_WhenSentToTheFuture_ShouldInvokeHandlerAfterDelayTime) { function in namespace:android
597 TEST_F(LooperTest, SendMessageAtTime_WhenSentToThePast_ShouldInvokeHandlerDuringNextPoll) { function in namespace:android
616 TEST_F(LooperTest, SendMessageAtTime_WhenSentToThePresent_ShouldInvokeHandlerDuringNextPoll) { function in namespace:android
635 TEST_F(LooperTest, RemoveMessage_WhenRemovingAllMessagesForHandler_ShouldRemoveThoseMessage) { function in namespace:android
661 TEST_F(LooperTest, RemoveMessage_WhenRemovingSomeMessagesForHandler_ShouldRemoveThoseMessage) { function in namespace:android
[all...]
H A DZipFileRO_test.cpp37 TEST_F(ZipFileROTest, ZipTimeConvertSuccess) { function in namespace:android
/frameworks/native/opengl/tests/EGLTest/
H A Degl_cache_test.cpp43 TEST_F(EGLCacheTest, UninitializedCacheAlwaysMisses) { function in namespace:android
53 TEST_F(EGLCacheTest, InitializedCacheAlwaysHits) { function in namespace:android
64 TEST_F(EGLCacheTest, TerminatedCacheAlwaysMisses) { function in namespace:android
96 TEST_F(EGLCacheSerializationTest, ReinitializedCacheContainsValues) { function in namespace:android
/frameworks/base/libs/androidfw/tests/
H A DInputChannel_test.cpp37 TEST_F(InputChannelTest, ConstructorAndDestructor_TakesOwnershipOfFileDescriptors) { function in namespace:android
59 TEST_F(InputChannelTest, OpenInputChannelPair_ReturnsAPairOfConnectedChannels) { function in namespace:android
110 TEST_F(InputChannelTest, ReceiveSignal_WhenNoSignalPresent_ReturnsAnError) { function in namespace:android
124 TEST_F(InputChannelTest, ReceiveSignal_WhenPeerClosed_ReturnsAnError) { function in namespace:android
140 TEST_F(InputChannelTest, SendSignal_WhenPeerClosed_ReturnsAnError) { function in namespace:android

Completed in 377 milliseconds

123