Home
last modified time | relevance | path

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

12345678910>>...14

/system/chre/util/tests/
Dtime_test.cc32 TEST(Time, CheckTimeConversionConstants) { in TEST() function
40 TEST(Time, ConvertSecToNanosec) { in TEST() function
45 TEST(Time, ConvertSecToNanosecOverflowIsUint64Max) { in TEST() function
50 TEST(Time, ConvertSecToMillisec) { in TEST() function
55 TEST(Time, ConvertSecToMillisecOverflowIsUint64Max) { in TEST() function
61 TEST(Time, DefaultMillisecIsZero) { in TEST() function
66 TEST(Time, GetInitialMillisec) { in TEST() function
71 TEST(Time, InitializeMillisecFromNanosec) { in TEST() function
77 TEST(Time, ConcertMillisecToMicrosec) { in TEST() function
82 TEST(Time, ConvertMillisecToMicrosecOverflowIsUint64Max) { in TEST() function
[all …]
Darray_queue_test.cc40 TEST(ArrayQueueTest, IsEmptyInitially) { in TEST() function
46 TEST(ArrayQueueTest, SimplePushPop) { in TEST() function
54 TEST(ArrayQueueTest, SimplePushPopBackPush) { in TEST() function
91 TEST(ArrayQueueTest, TestSize) { in TEST() function
102 TEST(ArrayQueueTest, TestEmpty) { in TEST() function
114 TEST(ArrayQueueTest, KickPushWhenNotFull) { in TEST() function
124 TEST(ArrayQueueTest, KickPushWhenFull) { in TEST() function
135 TEST(ArrayQueueTest, PopWhenEmpty) { in TEST() function
141 TEST(ArrayQueueTest, PopBackWhenEmpty) { in TEST() function
147 TEST(ArrayQueueTest, PushWhenFull) { 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 …]
Doptional_test.cc41 TEST(Optional, ShouldDestructContainedObject) { in TEST() function
50 TEST(Optional, NoValueByDefault) { in TEST() function
55 TEST(Optional, NonDefaultValueByDefault) { in TEST() function
61 TEST(Optional, NonDefaultMovedValueByDefault) { in TEST() function
67 TEST(Optional, CopyConstruct) { in TEST() function
74 TEST(Optional, CopyConstructConst) { in TEST() function
81 TEST(Optional, CopyAssignAndRead) { in TEST() function
91 TEST(Optional, MoveAssignAndRead) { in TEST() function
99 TEST(Optional, OptionalMoveAssignAndRead) { in TEST() function
109 TEST(Optional, OptionalCopyAssignAndRead) { in TEST() function
[all …]
/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/core/base/
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_with_trailing_empty_part) { in TEST() function
62 TEST(strings, split_null_char) { in TEST() function
70 TEST(strings, split_any) { in TEST() function
78 TEST(strings, split_any_with_empty_part) { in TEST() function
86 TEST(strings, trim_empty) { in TEST() function
90 TEST(strings, trim_already_trimmed) { in TEST() function
[all …]
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 …]
Dproperties_test.cpp30 TEST(properties, smoke) { in TEST() function
47 TEST(properties, empty) { in TEST() function
61 TEST(properties, GetBoolProperty_true) { in TEST() function
69 TEST(properties, GetBoolProperty_false) { in TEST() function
77 TEST(properties, GetBoolProperty_default) { in TEST() function
120 TEST(properties, GetIntProperty_int8_t) { CheckGetIntProperty<int8_t>(); } in TEST() function
121 TEST(properties, GetIntProperty_int16_t) { CheckGetIntProperty<int16_t>(); } in TEST() function
122 TEST(properties, GetIntProperty_int32_t) { CheckGetIntProperty<int32_t>(); } in TEST() function
123 TEST(properties, GetIntProperty_int64_t) { CheckGetIntProperty<int64_t>(); } in TEST() function
125 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
91 TEST(EndianTest, HostToLittleEndian) { in TEST() function
/system/netd/libnetdutils/
DLogTest.cpp70 TEST(LogEntryTest, Empty) { in TEST() function
75 TEST(LogEntryTest, GlobalFunction) { in TEST() function
79 TEST(LogEntryTest, GlobalPrettyFunction) { in TEST() function
83 TEST(LogEntryTest, UnnamedNamespaceFunction) { in TEST() function
88 TEST(LogEntryTest, UnnamedNamespacePrettyFunction) { in TEST() function
93 TEST(LogEntryTest, ClassFunction) { in TEST() function
98 TEST(LogEntryTest, ClassPrettyFunction) { in TEST() function
103 TEST(LogEntryTest, InnerClassFunction) { in TEST() function
108 TEST(LogEntryTest, InnerClassPrettyFunction) { in TEST() function
113 TEST(LogEntryTest, PrintChainedArguments) { in TEST() function
[all …]
/system/chre/platform/slpi/smgr/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/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/extras/simpleperf/
Dcmd_stat_test.cpp35 TEST(stat_cmd, no_options) { ASSERT_TRUE(StatCmd()->Run({"sleep", "1"})); } in TEST() function
37 TEST(stat_cmd, event_option) { in TEST() function
41 TEST(stat_cmd, system_wide_option) { in TEST() function
45 TEST(stat_cmd, verbose_option) { in TEST() function
49 TEST(stat_cmd, tracepoint_event) { in TEST() function
54 TEST(stat_cmd, rN_event) { in TEST() function
74 TEST(stat_cmd, event_modifier) { in TEST() function
100 TEST(stat_cmd, existing_processes) { in TEST() function
108 TEST(stat_cmd, existing_threads) { in TEST() function
117 TEST(stat_cmd, no_monitored_threads) { in TEST() function
[all …]
Dcmd_record_test.cpp61 TEST(record_cmd, no_options) { in TEST() function
66 TEST(record_cmd, system_wide_option) { in TEST() function
93 TEST(record_cmd, sample_period_option) { in TEST() function
100 TEST(record_cmd, event_option) { in TEST() function
104 TEST(record_cmd, freq_option) { in TEST() function
114 TEST(record_cmd, multiple_freq_or_sample_period_option) { in TEST() function
123 TEST(record_cmd, output_file_option) { in TEST() function
129 TEST(record_cmd, dump_kernel_mmap) { in TEST() function
153 TEST(record_cmd, dump_build_id_feature) { in TEST() function
166 TEST(record_cmd, tracepoint_event) { in TEST() function
[all …]
/system/bt/packet/tests/avrcp/
Dregister_notification_packet_test.cc29 TEST(RegisterNotificationRequestTest, getterTest) { in TEST() function
37 TEST(RegisterNotificationRequestTest, validTest) { in TEST() function
43 TEST(RegisterNotificationRequestTest, invalidTest) { in TEST() function
54 TEST(RegisterNotificationRequestBuilderTest, builderTest) { in TEST() function
64 TEST(RegisterNotificationResponseTest, volumeGetterTest) { in TEST() function
73 TEST(RegisterNotificationResponseTest, validTest) { in TEST() function
80 TEST(RegisterNotificationResponseTest, invalidTest) { in TEST() function
96 TEST(RegisterNotificationResponseTest, wrongEventDeathTest) { in TEST() function
105 TEST(RegisterNotificationResponseBuilderTest, playStatusBuilderTest) { in TEST() function
114 TEST(RegisterNotificationResponseBuilderTest, trackChangedBuilderTest) { in TEST() function
[all …]
/system/update_engine/update_manager/
Dboxed_value_unittest.cc67 TEST(UmBoxedValueTest, Deleted) { in TEST() function
78 TEST(UmBoxedValueTest, MoveConstructor) { in TEST() function
92 TEST(UmBoxedValueTest, MixedList) { in TEST() function
104 TEST(UmBoxedValueTest, MixedMap) { in TEST() function
114 TEST(UmBoxedValueTest, StringToString) { in TEST() function
118 TEST(UmBoxedValueTest, IntToString) { in TEST() function
122 TEST(UmBoxedValueTest, Int64ToString) { in TEST() function
128 TEST(UmBoxedValueTest, UnsignedIntToString) { in TEST() function
134 TEST(UmBoxedValueTest, UnsignedInt64ToString) { in TEST() function
140 TEST(UmBoxedValueTest, BoolToString) { 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
94 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition_only_num) { in TEST() function
109 TEST(device_handler, get_block_device_symlinks_success_platform_with_partition_only_name) { in TEST() function
125 TEST(device_handler, get_block_device_symlinks_success_pci) { in TEST() function
136 TEST(device_handler, get_block_device_symlinks_pci_bad_format) { in TEST() function
147 TEST(device_handler, get_block_device_symlinks_success_vbd) { in TEST() function
158 TEST(device_handler, get_block_device_symlinks_vbd_bad_format) { in TEST() function
169 TEST(device_handler, get_block_device_symlinks_no_matches) { in TEST() function
182 TEST(device_handler, sanitize_null) { in TEST() function
[all …]
Dtokenizer_test.cpp59 TEST(tokenizer, null) { in TEST() function
63 TEST(tokenizer, simple_oneline) { in TEST() function
67 TEST(tokenizer, simple_multiline) { in TEST() function
71 TEST(tokenizer, preceding_space) { in TEST() function
77 TEST(tokenizer, comments) { in TEST() function
88 TEST(tokenizer, control_chars) { in TEST() function
117 TEST(tokenizer, cr_lf) { in TEST() function
138 TEST(tokenizer, quoted) { in TEST() function
/system/apex/apexd/
Dapex_manifest_test.cpp24 TEST(ApexManifestTest, SimpleTest) { in TEST() function
32 TEST(ApexManifestTest, NameMissing) { in TEST() function
40 TEST(ApexManifestTest, VersionMissing) { in TEST() function
50 TEST(ApexManifestTest, VersionNotNumber) { in TEST() function
61 TEST(ApexManifestTest, NoPreInstallHook) { in TEST() function
68 TEST(ApexManifestTest, PreInstallHook) { in TEST() function
76 TEST(ApexManifestTest, NoPostInstallHook) { in TEST() function
83 TEST(ApexManifestTest, PostInstallHook) { in TEST() function
92 TEST(ApexManifestTest, UnparsableManifest) { in TEST() function
/system/connectivity/wificond/tests/
Dnl80211_attribute_unittest.cpp121 TEST(NL80211AttributeTest,U8AttributesSeriallizeCorrectly) { in TEST() function
126 TEST(NL80211AttributeTest,U16AttributesSeriallizeCorrectly) { in TEST() function
131 TEST(NL80211AttributeTest,U32AttributesSeriallizeCorrectly) { in TEST() function
136 TEST(NL80211AttributeTest,StringAttributesSeriallizeCorrectly) { in TEST() function
141 TEST(NL80211AttributeTest, ByteVectorsSeriallizeCorrectly) { in TEST() function
149 TEST(NL80211AttributeTest, CanGetNestedAttributes) { in TEST() function
167 TEST(NL80211AttributeTest, CannotGetDoubleNestedAttributes) { in TEST() function
178 TEST(NL80211AttributeTest, CannotGetMissingAttribute) { in TEST() function
189 TEST(NL80211AttributeTest, CannotGetAttributeWithWrongType) { in TEST() function
201 TEST(NL80211AttributeTest, InvalidU32AttributeWithEmptyBuffer) { in TEST() function
[all …]
/system/chre/core/tests/
Daudio_request_manager_test.cc24 TEST(AudioDurationFromSampleCountAndRate, HalfSecond) { in TEST() function
30 TEST(AudioDurationFromSampleCountAndRate, OneSecond) { in TEST() function
36 TEST(AudioDurationFromSampleCountAndRate, OneHundredSecond) { in TEST() function
42 TEST(AudioSampleCountFromRateAndDuration, OneSample) { in TEST() function
49 TEST(AudioSampleCountFromRateAndDuration, OneHundredSample) { in TEST() function
56 TEST(AudioSampleCountFromRateAndDuration, OneThousandSample) { in TEST() function
/system/testing/gtest_extras/tests/
DOptionsTest.cpp33 TEST(OptionsTest, unknown_arg) { in TEST() function
44 TEST(OptionsTest, unknown_arg_single_dash) { in TEST() function
55 TEST(OptionsTest, extra_arg) { in TEST() function
66 TEST(OptionsTest, check_defaults) { in TEST() function
87 TEST(OptionsTest, gtest_format) { in TEST() function
96 TEST(OptionsTest, gtest_format_error_argument) { in TEST() function
107 TEST(OptionsTest, no_gtest_format) { in TEST() function
116 TEST(OptionsTest, no_gtest_format_and_gtest_format) { in TEST() function
125 TEST(OptionsTest, no_gtest_format_error_argument) { in TEST() function
136 TEST(OptionsTest, gtest_list_tests) { in TEST() function
[all …]

12345678910>>...14