Home
last modified time | relevance | path

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

123456

/external/chromium_org/third_party/icu/source/test/intltest/
Dcalcasts.h27 struct TestCase { struct
42 void doTestCases(const TestCase *cases, Calendar *cal); argument
/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/libaddressinput/src/cpp/test/util/
Dstring_compare_test.cc25 struct TestCase { struct
26 TestCase(const std::string& left, in TestCase() function
35 ~TestCase() {} in ~TestCase()
37 std::string left;
38 std::string right;
39 bool should_be_equal;
40 bool should_be_less;
/external/chromium_org/chrome/browser/download/
Ddownload_item_model_unittest.cc118 const struct TestCase { in TEST_F() struct
120 content::DownloadInterruptReason reason; in TEST_F()
123 const char* expected_status; in TEST_F()
188 const struct TestCase { in TEST_F() struct
190 content::DownloadInterruptReason reason; in TEST_F()
195 const char* expected_tooltip; in TEST_F()
283 const struct TestCase { in TEST_F() struct
284 int64 received_bytes; // Return value of GetReceivedBytes(). in TEST_F()
285 int64 total_bytes; // Return value of GetTotalBytes(). in TEST_F()
286 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 fileapi::FileSystemType expect_mount_type; in TEST_F()
247 fileapi::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/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/net/websockets/
Dwebsocket_frame_test.cc32 struct TestCase { in TEST() struct
33 const char* frame_header; in TEST()
34 size_t frame_header_length; in TEST()
35 uint64 frame_length; in TEST()
70 struct TestCase { in TEST() struct
71 const char* frame_header; in TEST()
72 size_t frame_header_length; in TEST()
73 uint64 frame_length; in TEST()
110 struct TestCase { in TEST() struct
111 const char* frame_header; in TEST()
[all …]
Dwebsocket_frame_parser_test.cc421 struct TestCase { in TEST() struct
422 const char* frame_header; in TEST()
423 size_t frame_header_length; in TEST()
458 struct TestCase { in TEST() struct
459 const char* frame_header; in TEST()
460 size_t frame_header_length; in TEST()
461 WebSocketFrameHeader::OpCode opcode; in TEST()
519 struct TestCase { in TEST() struct
520 const char* frame_header; in TEST()
521 size_t frame_header_length; in TEST()
[all …]
/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/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/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/chrome/browser/autocomplete/
Dhistory_url_provider_unittest.cc430 struct TestCase { in TEST_F() struct
431 const char* url; in TEST_F()
432 int count; in TEST_F()
635 struct TestCase { in TEST_F() struct
636 const char* input; in TEST_F()
637 int relevance; in TEST_F()
669 struct TestCase { in TEST_F() struct
670 const char* input; in TEST_F()
671 int relevance; in TEST_F()
672 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/third_party/WebKit/Source/core/css/parser/
DSizesCalcParserTest.cpp17 struct TestCase { struct
18 const char* input;
19 const unsigned output;
20 const bool valid;
21 const bool dontRunInCSSCalc;
/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()
/external/chromium_org/tools/gyp/test/mac/xctest/
DTestCase.m8 @interface TestCase : XCTestCase interface
11 @implementation TestCase implementation
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dfile_browser_handler_api_test.cc33 struct TestCase { struct
34 TestCase(const base::FilePath& suggested_name, in TestCase() function
43 ~TestCase() {} in ~TestCase()
46 base::FilePath suggested_name;
49 std::vector<std::string> allowed_extensions;
52 bool success;
54 base::FilePath selected_path;

123456