Home
last modified time | relevance | path

Searched defs:TestCase (Results 1 – 25 of 134) sorted by relevance

123456

/external/icu/icu4c/source/test/intltest/
Dcalcasts.h27 struct TestCase { struct
42 void doTestCases(const TestCase *cases, Calendar *cal); argument
/external/chromium_org/third_party/icu/source/test/intltest/
Dcalcasts.h27 struct TestCase { struct
42 void doTestCases(const TestCase *cases, Calendar *cal); argument
/external/chromium_org/net/websockets/
Dwebsocket_frame_test.cc20 struct TestCase { in TEST() struct
21 const char* frame_header; in TEST()
22 size_t frame_header_length; in TEST()
23 uint64 frame_length; in TEST()
58 struct TestCase { in TEST() struct
59 const char* frame_header; in TEST()
60 size_t frame_header_length; in TEST()
61 uint64 frame_length; in TEST()
98 struct TestCase { in TEST() struct
99 const char* frame_header; in TEST()
[all …]
/external/chromium_org/chrome/browser/download/
Ddownload_item_model_unittest.cc116 const struct TestCase { in TEST_F() struct
118 content::DownloadInterruptReason reason; in TEST_F()
121 const char* expected_status; in TEST_F()
190 const struct TestCase { in TEST_F() struct
192 content::DownloadInterruptReason reason; in TEST_F()
197 const char* expected_tooltip; in TEST_F()
289 const struct TestCase { in TEST_F() struct
290 int64 received_bytes; // Return value of GetReceivedBytes(). in TEST_F()
291 int64 total_bytes; // Return value of GetTotalBytes(). in TEST_F()
292 bool time_remaining_known; // If TimeRemaining() is known. in TEST_F()
[all …]
/external/chromium_org/content/browser/fileapi/
Dexternal_mount_points_unittest.cc29 struct TestCase { in TEST() struct
31 const char* const name; in TEST()
33 const base::FilePath::CharType* const path; in TEST()
35 bool success; in TEST()
38 const base::FilePath::CharType* const registered_path; in TEST()
166 struct TestCase { in TEST() struct
167 const base::FilePath::CharType* const local_path; in TEST()
168 bool success; in TEST()
169 const base::FilePath::CharType* const virtual_path; in TEST()
306 struct TestCase { in TEST() struct
[all …]
Dfile_system_context_unittest.cc239 struct TestCase { in TEST_F() struct
241 std::string root; in TEST_F()
242 std::string type_str; in TEST_F()
245 bool expect_is_valid; in TEST_F()
246 storage::FileSystemType expect_mount_type; in TEST_F()
247 storage::FileSystemType expect_type; in TEST_F()
248 const base::FilePath::CharType* expect_path; in TEST_F()
249 std::string expect_filesystem_id; in TEST_F()
/external/chromium_org/third_party/libaddressinput/src/cpp/test/util/
Dstring_compare_test.cc27 struct TestCase { struct
28 TestCase(const std::string& left, in TestCase() function
37 ~TestCase() {} in ~TestCase()
39 std::string left;
40 std::string right;
41 bool should_be_equal;
42 bool should_be_less;
/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaValuesTest.cpp15 struct TestCase { struct
16 double value;
17 CSSPrimitiveValue::UnitType type;
18 unsigned fontSize;
19 unsigned viewportWidth;
20 unsigned viewportHeight;
21 bool success;
22 int output;
/external/chromium_org/chrome/browser/profile_resetter/
Djtl_interpreter_unittest.cc211 struct TestCase { in TEST() struct
212 std::string expected_value; in TEST()
213 const char* json; in TEST()
214 bool expected_success; in TEST()
244 struct TestCase { in TEST() struct
245 std::string expected_value; in TEST()
246 const char* json; in TEST()
247 bool expected_success; in TEST()
308 struct TestCase { in TEST() struct
309 bool expected_value; in TEST()
[all …]
/external/chromium_org/chrome/tools/profile_reset/
Djtl_parser_unittest.cc123 struct TestCase { in TEST() struct
124 const char* source_code; in TEST()
125 const char* compacted_source_code; in TEST()
165 struct TestCase { in TEST() struct
166 const char* source_code; in TEST()
167 size_t error_line_number; in TEST()
211 struct TestCase { in TEST() struct
212 const char* source_code; in TEST()
213 const char* expected_name; in TEST()
214 const char* expected_args; in TEST()
[all …]
Djtl_compiler_unittest.cc41 struct TestCase { in TEST() struct
42 std::string source_code; in TEST()
43 std::string expected_bytecode; in TEST()
141 struct TestCase { in TEST() struct
142 std::string expected_context_prefix; in TEST()
143 std::string source_code; in TEST()
173 struct TestCase { in TEST() struct
174 std::string expected_context_prefix; in TEST()
175 std::string source_code; in TEST()
/external/chromium_org/components/autofill/content/renderer/
Dpassword_form_conversion_utils_browsertest.cc192 struct TestCase { in TEST_F() struct
193 const char* autocomplete[3]; in TEST_F()
194 const char* expected_username_element; in TEST_F()
195 const char* expected_username_value; in TEST_F()
196 const char* expected_other_possible_usernames; in TEST_F()
277 struct TestCase { in TEST_F() struct
278 const char* password_values[2]; in TEST_F()
279 const char* expected_password_element; in TEST_F()
280 const char* expected_password_value; in TEST_F()
281 const char* expected_new_password_element; in TEST_F()
[all …]
/external/chromium_org/net/dns/
Ddns_config_service_win_unittest.cc18 const struct TestCase { in TEST() struct
19 const wchar_t* input; in TEST()
20 const char* output[4]; // NULL-terminated, empty if expected false in TEST()
119 const struct TestCase { in TEST() struct
120 AdapterInfo input_adapters[4]; // |if_type| == 0 indicates end. in TEST()
121 std::string expected_nameservers[4]; // Empty string indicates end. in TEST()
122 std::string expected_suffix; in TEST()
123 int expected_ports[4]; in TEST()
211 const struct TestCase { in TEST() struct
212 internal::DnsSystemSettings input_settings; in TEST()
[all …]
Ddns_response_unittest.cc405 const struct TestCase { in TEST() struct
406 size_t query_size; in TEST()
407 const uint8* response_data; in TEST()
408 size_t response_size; in TEST()
409 const char* const* expected_addresses; in TEST()
410 size_t num_expected_addresses; in TEST()
411 const char* expected_cname; in TEST()
412 int expected_ttl_sec; in TEST()
544 const struct TestCase { in TEST() struct
545 const uint8* data; in TEST()
[all …]
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_usage_stats_unittest.cc118 struct TestCase { in TEST_F() struct
119 bool fallback_proxy_server_is_data_reduction_proxy; in TEST_F()
120 bool was_proxy_used; in TEST_F()
121 bool is_unreachable; in TEST_F()
239 struct TestCase { in TEST_F() struct
240 bool is_primary; in TEST_F()
241 const char* headers; in TEST_F()
242 int expected_primary_sample; // -1 indicates no expected sample. in TEST_F()
243 int expected_fallback_sample; // -1 indicates no expected sample. in TEST_F()
331 struct TestCase { in TEST_F() struct
[all …]
/external/chromium_org/crypto/
Dghash_unittest.cc50 struct TestCase { struct
51 const uint8* key;
52 const uint8* additional;
53 unsigned additional_length;
54 const uint8* ciphertext;
55 unsigned ciphertext_length;
56 const uint8 expected[16];
/external/chromium_org/ui/gfx/
Dshadow_value_unittest.cc13 const struct TestCase { in TEST() struct
14 Insets expected_margin; in TEST()
15 size_t shadow_count; in TEST()
16 ShadowValue shadows[2]; in TEST()
Dtransform_unittest.cc213 static const struct TestCase { in TEST() struct
214 int x1; in TEST()
215 int y1; in TEST()
216 float tx; in TEST()
217 float ty; in TEST()
218 int x2; in TEST()
219 int y2; in TEST()
247 static const struct TestCase { in TEST() struct
248 int before; in TEST()
249 float scale; in TEST()
[all …]
/external/chromium_org/ui/views/bubble/
Dbubble_border_unittest.cc246 struct TestCase { in TEST_F() struct
247 BubbleBorder::Arrow arrow; in TEST_F()
248 gfx::Size content; in TEST_F()
249 gfx::Size expected_with_arrow; in TEST_F()
250 gfx::Size expected_without_arrow; in TEST_F()
357 struct TestCase { in TEST_F() struct
358 BubbleBorder::Arrow arrow; in TEST_F()
359 BubbleBorder::BubbleAlignment alignment; in TEST_F()
360 int expected_x; in TEST_F()
361 int expected_y; in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DSizesCalcParserTest.cpp18 struct TestCase { struct
19 const char* input;
20 const unsigned output;
21 const bool valid;
22 const bool dontRunInCSSCalc;
23 const bool viewportDependant;
/external/chromium_org/chrome/browser/autocomplete/
Dhistory_url_provider_unittest.cc442 struct TestCase { in TEST_F() struct
443 const char* url; in TEST_F()
444 int count; in TEST_F()
649 struct TestCase { in TEST_F() struct
650 const char* input; in TEST_F()
651 int relevance; in TEST_F()
683 struct TestCase { in TEST_F() struct
684 const char* input; in TEST_F()
685 int relevance; in TEST_F()
686 metrics::OmniboxInputType::Type type; in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/loader/
DMixedContentCheckerTest.cpp19 struct TestCase { in TEST() struct
20 const char* origin; in TEST()
21 const char* target; in TEST()
22 bool expectation; in TEST()
/external/chromium_org/chrome/utility/importer/
Dbookmarks_file_importer_unittest.cc17 struct TestCase { in TEST() struct
18 const std::string url; in TEST()
19 const bool can_be_imported; in TEST()
/external/chromium_org/net/quic/
Dquic_data_writer_test.cc50 struct TestCase { in TEST() struct
51 uint64 decoded; in TEST()
52 uint16 encoded; in TEST()
91 struct TestCase { in TEST() struct
92 uint64 decoded; in TEST()
93 uint16 encoded; in TEST()
/external/chromium_org/components/autofill/core/browser/
Dautofill_regexes_unittest.cc17 struct TestCase { in TEST() struct
18 const char* const input; in TEST()
19 const char* const pattern; in TEST()

123456