Home
last modified time | relevance | path

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

123456789

/system/core/init/parser/
Dtokenizer_test.cpp38 TEST(Tokenizer, Empty) { in TEST() function
43 TEST(Tokenizer, Simple) { in TEST() function
49 TEST(Tokenizer, LeadingWhiteSpace) { in TEST() function
55 TEST(Tokenizer, TrailingWhiteSpace) { in TEST() function
61 TEST(Tokenizer, WhiteSpace) { in TEST() function
68 TEST(Tokenizer, TwoTokens) { in TEST() function
76 TEST(Tokenizer, MultiToken) { in TEST() function
87 TEST(Tokenizer, NewLine) { in TEST() function
94 TEST(Tokenizer, TextNewLine) { in TEST() function
102 TEST(Tokenizer, MultiTextNewLine) { in TEST() function
[all …]
/system/chre/util/tests/
Dtime_test.cc30 TEST(Time, CheckTimeConversionConstants) { in TEST() function
37 TEST(Time, ConvertSecToNanosec) { in TEST() function
42 TEST(Time, ConvertSecToNanosecOverflowIsUint64Max) { in TEST() function
48 TEST(Time, DefaultMillisecIsZero) { in TEST() function
53 TEST(Time, GetInitialMillisec) { in TEST() function
58 TEST(Time, InitializeMillisecFromNanosec) { in TEST() function
64 TEST(Time, ConvertMillisecToNanosec) { in TEST() function
69 TEST(Time, ConvertMillisecToNanosecOverflowIsUint64Max) { in TEST() function
74 TEST(Time, TestMillisecEquals) { in TEST() function
81 TEST(Time, GetInitialMicrosec) { in TEST() function
[all …]
Darray_queue_test.cc34 TEST(ArrayQueueTest, IsEmptyInitially) { in TEST() function
40 TEST(ArrayQueueTest, SimplePushPop) { in TEST() function
48 TEST(ArrayQueueTest, TestSize) { in TEST() function
59 TEST(ArrayQueueTest, TestEmpty) { in TEST() function
71 TEST(ArrayQueueTest, PopWhenEmpty) { in TEST() function
77 TEST(ArrayQueueTest, PushWhenFull) { in TEST() function
84 TEST(ArrayQueueDeathTest, FrontWhenEmpty) { in TEST() function
89 TEST(ArrayQueueTest, TestFront) { in TEST() function
98 TEST(ArrayQueueDeathTest, InvalidSubscript) { in TEST() function
103 TEST(ArrayQueueTest, Subscript) { in TEST() function
[all …]
Dpriority_queue_test.cc42 TEST(PriorityQueueTest, IsEmptyInitially) { in TEST() function
49 TEST(PriorityQueueTest, SimplePushPop) { in TEST() function
60 TEST(PriorityQueueTest, TestSize) { in TEST() function
71 TEST(PriorityQueueTest, TestEmpty) { in TEST() function
84 TEST(PriorityQueueTest, TestCapacity) { in TEST() function
95 TEST(PriorityQueueTest, PopWhenEmpty) { in TEST() function
101 TEST(PriorityQueueDeathTest, TopWhenEmpty) { in TEST() function
106 TEST(PriorityQueueTest, TestTop) { in TEST() function
119 TEST(PriorityQueueDeathTest, InvalidSubscript) { in TEST() function
124 TEST(PriorityQueueTest, Subscript) { in TEST() function
[all …]
Dfixed_size_vector_test.cc43 TEST(FixedSizeVector, EmptyWithCapacityWithDefault) { in TEST() function
52 TEST(FixedSizeVector, PushBackOneAndRead) { in TEST() function
63 TEST(FixedSizeVector, PushBackUntilFullAndRead) { in TEST() function
85 TEST(FixedSizeVector, PushBackAndErase) { in TEST() function
102 TEST(FixedSizeVector, EraseDestructorCalled) { in TEST() function
131 TEST(FixedSizeVectorDeathTest, SwapWithInvalidIndex) { in TEST() function
138 TEST(FixedSizeVectorDeathTest, SwapWithInvalidIndices) { in TEST() function
145 TEST(FixedSizeVector, Swap) { in TEST() function
155 TEST(FixedSizeVector, ResizeLarger) { in TEST() function
161 TEST(FixedSizeVector, ResizeSmaller) { in TEST() function
[all …]
/system/core/base/
Dlogging_test.cpp35 #define HOST_TEST(suite, name) TEST(suite, DISABLED_ ## name)
37 #define HOST_TEST(suite, name) TEST(suite, name)
60 TEST(logging, CHECK) { in TEST() function
87 TEST(logging, DCHECK) { in TEST() function
139 TEST(logging, WOULD_LOG_FATAL) { in TEST() function
143 TEST(logging, WOULD_LOG_FATAL_WITHOUT_ABORT_disabled) { in TEST() function
147 TEST(logging, WOULD_LOG_FATAL_WITHOUT_ABORT_enabled) { in TEST() function
151 TEST(logging, WOULD_LOG_ERROR_disabled) { in TEST() function
155 TEST(logging, WOULD_LOG_ERROR_enabled) { in TEST() function
159 TEST(logging, WOULD_LOG_WARNING_disabled) { in TEST() function
[all …]
Dstrings_test.cpp26 TEST(strings, split_empty) { in TEST() function
32 TEST(strings, split_single) { in TEST() function
38 TEST(strings, split_simple) { in TEST() function
46 TEST(strings, split_with_empty_part) { in TEST() function
54 TEST(strings, split_null_char) { in TEST() function
62 TEST(strings, split_any) { in TEST() function
70 TEST(strings, split_any_with_empty_part) { in TEST() function
78 TEST(strings, trim_empty) { in TEST() function
82 TEST(strings, trim_already_trimmed) { in TEST() function
86 TEST(strings, trim_left) { in TEST() function
[all …]
Dproperties_test.cpp28 TEST(properties, smoke) { in TEST() function
45 TEST(properties, empty) { in TEST() function
59 TEST(properties, GetBoolProperty_true) { in TEST() function
67 TEST(properties, GetBoolProperty_false) { in TEST() function
75 TEST(properties, GetBoolProperty_default) { in TEST() function
118 TEST(properties, GetIntProperty_int8_t) { CheckGetIntProperty<int8_t>(); } in TEST() function
119 TEST(properties, GetIntProperty_int16_t) { CheckGetIntProperty<int16_t>(); } in TEST() function
120 TEST(properties, GetIntProperty_int32_t) { CheckGetIntProperty<int32_t>(); } in TEST() function
121 TEST(properties, GetIntProperty_int64_t) { CheckGetIntProperty<int64_t>(); } in TEST() function
123 TEST(properties, GetUintProperty_uint8_t) { CheckGetUintProperty<uint8_t>(); } in TEST() function
[all …]
Dstringprintf_test.cpp23 TEST(StringPrintfTest, HexSizeT) { in TEST() function
29 TEST(StringPrintfTest, StringAppendF) { in TEST() function
35 TEST(StringPrintfTest, Errno) { in TEST() function
50 TEST(StringPrintfTest, At1023) { in TEST() function
54 TEST(StringPrintfTest, At1024) { in TEST() function
58 TEST(StringPrintfTest, At1025) { in TEST() function
/system/chre/apps/chqts/src/shared/
Dnano_string_test.cc53 TEST(NanoStringsTest, MemsetZeroBytes) { in TEST() function
57 TEST(NanoStringsTest, MemsetPartialArray) { in TEST() function
61 TEST(NanoStringsTest, MemsetFullArray) { in TEST() function
86 TEST(NanoStringsTest, MemcpyZeroBytes) { in TEST() function
90 TEST(NanoStringsTest, MemcpyPartialArray) { in TEST() function
94 TEST(NanoStringsTest, MemcpyFullArray) { in TEST() function
99 TEST(NanoStringsTest, StrlenEmptyString) { in TEST() function
104 TEST(NanoStringsTest, StrlenNormal) { in TEST() function
127 TEST(NanoStringsTest, Strncpy) { in TEST() function
131 TEST(NanoStringsTest, StrncpySetsTrailingBytes) { in TEST() function
[all …]
Dnano_endian_test.cc55 TEST(EndianTest, SwapBytes1) { in TEST() function
59 TEST(EndianTest, SwapBytes2) { in TEST() function
63 TEST(EndianTest, SwapBytes4) { in TEST() function
67 TEST(EndianTest, SwapBytes8) { in TEST() function
71 TEST(EndianTest, SwapBytes16) { in TEST() function
83 TEST(EndianTest, LittleEndianToHost) { in TEST() function
92 TEST(EndianTest, HostToLittleEndian) { in TEST() function
/system/update_engine/update_manager/
Dboxed_value_unittest.cc64 TEST(UmBoxedValueTest, Deleted) { in TEST() function
75 TEST(UmBoxedValueTest, MoveConstructor) { in TEST() function
89 TEST(UmBoxedValueTest, MixedList) { in TEST() function
101 TEST(UmBoxedValueTest, MixedMap) { in TEST() function
111 TEST(UmBoxedValueTest, StringToString) { in TEST() function
116 TEST(UmBoxedValueTest, IntToString) { in TEST() function
120 TEST(UmBoxedValueTest, Int64ToString) { in TEST() function
126 TEST(UmBoxedValueTest, UnsignedIntToString) { in TEST() function
132 TEST(UmBoxedValueTest, UnsignedInt64ToString) { in TEST() function
138 TEST(UmBoxedValueTest, BoolToString) { in TEST() function
[all …]
/system/connectivity/wifilogd/tests/
Dlocal_utils_unittest.cpp33 TEST(LocalUtilsTest, CastEnumToIntegerWorksForValidEnumValues) { in TEST() function
39 TEST(LocalUtilsTest, CastEnumToIntegerWorksForInvalidEnumValues) { in TEST() function
48 TEST(LocalUtilsTest, CopyFromBufferOrDieCopiesData) { in TEST() function
60 TEST(LocalUtilsTest, GetMaxValFromTypeIsCorrectForUnsignedTypes) { in TEST() function
67 TEST(LocalUtilsTest, GetMaxValFromTypeIsCorrectForSignedTypes) { in TEST() function
74 TEST(LocalUtilsTest, GetMaxValFromInstanceIsCorrectForUnsignedTypes) { in TEST() function
81 TEST(LocalUtilsTest, GetMaxValFromInstanceIsCorrectForSignedTypes) { in TEST() function
88 TEST(LocalUtilsTest, IsAsciiPrintableReturnsTrueForAlphabeticCharacters) { in TEST() function
94 TEST(LocalUtilsTest, IsAsciiPrintableReturnsTrueForNumericCharacters) { in TEST() function
100 TEST(LocalUtilsTest, IsAsciiPrintableReturnsTrueForPrintableSpaces) { in TEST() function
[all …]
Dmemory_reader_unittest.cpp30 TEST(MemoryReaderTest, BoolConversionNonEmptyBufferYieldsTrue) { in TEST() function
36 TEST(MemoryReaderTest, BoolConversionEmptyBufferYieldsFalse) { in TEST() function
42 TEST(MemoryReaderTest, BoolConversionNullBufferYieldsFalse) { in TEST() function
47 TEST(MemoryReaderTest, CopyAssignmentWorks) { in TEST() function
61 TEST(MemoryReaderTest, CopyConstructionWorks) { in TEST() function
75 TEST(MemoryReaderTest, CopyOutOrDieCopiesData) { in TEST() function
87 TEST(MemoryReaderTest, CopyOutOrDieWorksForMultipleObjects) { in TEST() function
109 TEST(MemoryReaderTest, GetBytesOrDieSucceedsOnSmallRead) { in TEST() function
115 TEST(MemoryReaderTest, GetBytesOrDieSucceedsOnFullRead) { in TEST() function
121 TEST(MemoryReaderTest, GetBytesOrDieCanConsumeFullBufferInParts) { in TEST() function
[all …]
/system/chre/platform/slpi/tests/
Dplatform_sensor_util_test.cc27 TEST(SmgrSamplingRateTest, Zero) { in TEST() function
32 TEST(SmgrSamplingRateTest, FiftyHertz) { in TEST() function
38 TEST(SmgrSamplingRateTest, ZeroPointFiveHertz) { in TEST() function
44 TEST(SmgrSamplingRateTest, MinisculeRate) { in TEST() function
50 TEST(SmgrSamplingRateTest, HugeRate) { in TEST() function
56 TEST(SmgrQ16ReportRateTest, Zero) { in TEST() function
61 TEST(SmgrQ16ReportRateTest, FiftyHertz) { in TEST() function
67 TEST(SmgrQ16ReportRateTest, ZeroPointFiveHertz) { in TEST() function
73 TEST(SmgrQ16ReportRateTest, OneNanosecond) { in TEST() function
/system/extras/simpleperf/
Dcmd_stat_test.cpp34 TEST(stat_cmd, no_options) { ASSERT_TRUE(StatCmd()->Run({"sleep", "1"})); } in TEST() function
36 TEST(stat_cmd, event_option) { in TEST() function
40 TEST(stat_cmd, system_wide_option) { in TEST() function
44 TEST(stat_cmd, verbose_option) { in TEST() function
48 TEST(stat_cmd, tracepoint_event) { in TEST() function
53 TEST(stat_cmd, event_modifier) { in TEST() function
85 TEST(stat_cmd, existing_processes) { in TEST() function
93 TEST(stat_cmd, existing_threads) { in TEST() function
102 TEST(stat_cmd, no_monitored_threads) { ASSERT_FALSE(StatCmd()->Run({""})); } in TEST() function
104 TEST(stat_cmd, group_option) { in TEST() function
[all …]
Dcmd_record_test.cpp60 TEST(record_cmd, no_options) { ASSERT_TRUE(RunRecordCmd({})); } in TEST() function
62 TEST(record_cmd, system_wide_option) { in TEST() function
66 TEST(record_cmd, sample_period_option) { in TEST() function
70 TEST(record_cmd, event_option) { in TEST() function
74 TEST(record_cmd, freq_option) { in TEST() function
79 TEST(record_cmd, output_file_option) { in TEST() function
84 TEST(record_cmd, dump_kernel_mmap) { in TEST() function
107 TEST(record_cmd, dump_build_id_feature) { in TEST() function
119 TEST(record_cmd, tracepoint_event) { in TEST() function
123 TEST(record_cmd, branch_sampling) { in TEST() function
[all …]
/system/core/init/
Ddevices_test.cpp63 TEST(device_handler, get_block_device_symlinks_success_platform) { in TEST() function
77 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition) { in TEST() function
95 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition_only_num) { in TEST() function
111 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition_only_name) { in TEST() function
127 TEST(device_handler, get_block_device_symlinks_success_pci) { in TEST() function
138 TEST(device_handler, get_block_device_symlinks_pci_bad_format) { in TEST() function
149 TEST(device_handler, get_block_device_symlinks_success_vbd) { in TEST() function
160 TEST(device_handler, get_block_device_symlinks_vbd_bad_format) { in TEST() function
171 TEST(device_handler, get_block_device_symlinks_no_matches) { in TEST() function
184 TEST(device_handler, sanitize_null) { in TEST() function
[all …]
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp122 TEST(NL80211AttributeTest,U8AttributesSeriallizeCorrectly) { in TEST() function
127 TEST(NL80211AttributeTest,U16AttributesSeriallizeCorrectly) { in TEST() function
132 TEST(NL80211AttributeTest,U32AttributesSeriallizeCorrectly) { in TEST() function
137 TEST(NL80211AttributeTest,StringAttributesSeriallizeCorrectly) { in TEST() function
142 TEST(NL80211AttributeTest, ByteVectorsSeriallizeCorrectly) { in TEST() function
150 TEST(NL80211AttributeTest, CanGetNestedAttributes) { in TEST() function
168 TEST(NL80211AttributeTest, CannotGetDoubleNestedAttributes) { in TEST() function
179 TEST(NL80211AttributeTest, CannotGetMissingAttribute) { in TEST() function
190 TEST(NL80211AttributeTest, CannotGetAttributeWithWrongType) { in TEST() function
202 TEST(NL80211AttributeTest, InvalidU32AttributeWithEmptyBuffer) { in TEST() function
[all …]
/system/nvram/messages/tests/
Dio_test.cpp79 TEST(InputStreamBufferTest, Basic) { in TEST() function
95 TEST(InputStreamBufferTest, Empty) { in TEST() function
102 TEST(InputStreamBufferTest, LargeRead) { in TEST() function
108 TEST(InputStreamBufferTest, LargeSkip) { in TEST() function
113 TEST(InputStreamBufferTest, OverlappingReadByte) { in TEST() function
126 TEST(InputStreamBufferTest, OverlappingRead) { in TEST() function
134 TEST(InputStreamBufferTest, OverlappingSkip) { in TEST() function
142 TEST(NestedInputStreamBufferTest, Large) { in TEST() function
148 TEST(NestedInputStreamBufferTest, Short) { in TEST() function
156 TEST(NestedInputStreamBufferTest, Matching) { in TEST() function
[all …]
/system/core/libcutils/tests/
Dmultiuser_test.cpp22 TEST(MultiuserTest, TestMerge) { in TEST() function
33 TEST(MultiuserTest, TestSplitUser) { in TEST() function
44 TEST(MultiuserTest, TestSplitApp) { in TEST() function
55 TEST(MultiuserTest, TestCache) { in TEST() function
63 TEST(MultiuserTest, TestExt) { in TEST() function
71 TEST(MultiuserTest, TestExtCache) { in TEST() function
79 TEST(MultiuserTest, TestShared) { in TEST() function
/system/bt/service/test/
Duuid_unittest.cc38 TEST(UUIDTest, DefaultUUID) { in TEST() function
46 TEST(UUIDTest, Init16Bit) { in TEST() function
58 TEST(UUIDTest, Init16BitString) { in TEST() function
75 TEST(UUIDTest, Init32Bit) { in TEST() function
88 TEST(UUIDTest, Init32BitString) { in TEST() function
102 TEST(UUIDTest, Init128Bit) { in TEST() function
116 TEST(UUIDTest, Init128BitLittleEndian) { in TEST() function
130 TEST(UUIDTest, Init128BitString) { in TEST() function
144 TEST(UUIDTest, InitInvalid) { in TEST() function
155 TEST(UUIDTest, ToString) { in TEST() function
/system/extras/memory_replay/tests/
DPointersTest.cpp21 TEST(PointersTest, smoke) { in TEST() function
29 TEST(PointersTest, readd_pointer) { in TEST() function
41 TEST(PointersTest, expect_collision) { in TEST() function
54 TEST(PointersTest, multiple_add_removes) { in TEST() function
90 TEST(PointersTest_DeathTest, no_entries_left) { in TEST() function
100 TEST(PointersTest_DeathTest, find_no_pointer) { in TEST() function
111 TEST(PointersTest_DeathTest, remove_zero_value) { in TEST() function
DActionTest.cpp24 TEST(ActionTest, malloc) { in TEST() function
39 TEST(ActionTest, malloc_malformed) { in TEST() function
46 TEST(ActionTest, free) { in TEST() function
59 TEST(ActionTest, calloc) { in TEST() function
74 TEST(ActionTest, free_zero) { in TEST() function
85 TEST(ActionTest, calloc_malformed) { in TEST() function
96 TEST(ActionTest, realloc) { in TEST() function
122 TEST(ActionTest, realloc_malformed) { in TEST() function
133 TEST(ActionTest, memalign) { in TEST() function
148 TEST(ActionTest, memalign_malformed) { in TEST() function
[all …]
/system/keymaster/
Dkeymaster_configuration_test.cpp35 TEST(VersionParsingTest, Full) { in TEST() function
44 TEST(VersionParsingTest, FullWithExtraChars) {} in TEST() function
46 TEST(VersionParsingTest, MajorOnly) { in TEST() function
53 TEST(VersionParsingTest, MajorMinorOnly) { in TEST() function
58 TEST(PatchLevelParsingTest, Full) { in TEST() function

123456789