Home | History | Annotate | Download | only in base

Lines Matching refs:tests

16   } tests[] = {
27 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
28 rv = GetMimeTypeFromExtension(tests[i].extension, &mime_type);
29 EXPECT_EQ(tests[i].valid, rv);
31 EXPECT_EQ(tests[i].mime_type, mime_type);
40 } tests[] = {
52 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
53 rv = GetMimeTypeFromFile(FilePath(tests[i].file_path),
55 EXPECT_EQ(tests[i].valid, rv);
57 EXPECT_EQ(tests[i].mime_type, mime_type);
100 } tests[] = {
112 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
114 ParseCodecString(tests[i].original, &codecs_out, true);
115 EXPECT_EQ(tests[i].expected_size, codecs_out.size());
116 for (size_t j = 0; j < tests[i].expected_size; ++j) {
117 EXPECT_EQ(tests[i].results[j], codecs_out[j]);