Lines Matching refs:EXPECT_FALSE
68 EXPECT_FALSE(IsUnsupportedTextMimeType("text/banana"));
72 EXPECT_FALSE(IsSupportedImageMimeType("image/lolcat"));
77 EXPECT_FALSE(IsSupportedNonImageMimeType("text/vcard"));
78 EXPECT_FALSE(IsSupportedNonImageMimeType("application/virus"));
92 EXPECT_FALSE(IsSupportedMimeType("image/lolcat"));
95 EXPECT_FALSE(IsSupportedMimeType("text/vcard"));
96 EXPECT_FALSE(IsSupportedMimeType("application/virus"));
97 EXPECT_FALSE(IsSupportedMimeType("application/x-json"));
98 EXPECT_FALSE(IsSupportedNonImageMimeType("application/vnd.doc;x=y+json"));
117 EXPECT_FALSE(IsStrictMediaMimeType("video/mp4"));
118 EXPECT_FALSE(IsStrictMediaMimeType("video/x-m4v"));
119 EXPECT_FALSE(IsStrictMediaMimeType("audio/mp4"));
120 EXPECT_FALSE(IsStrictMediaMimeType("audio/x-m4a"));
122 EXPECT_FALSE(IsStrictMediaMimeType("application/x-mpegurl"));
123 EXPECT_FALSE(IsStrictMediaMimeType("application/vnd.apple.mpegurl"));
126 EXPECT_FALSE(IsStrictMediaMimeType("video/unknown"));
127 EXPECT_FALSE(IsStrictMediaMimeType("audio/unknown"));
128 EXPECT_FALSE(IsStrictMediaMimeType("application/unknown"));
129 EXPECT_FALSE(IsStrictMediaMimeType("unknown/unknown"));
144 EXPECT_FALSE(MatchesMimeType("video/", "video/x-mpeg"));
145 EXPECT_FALSE(MatchesMimeType(std::string(), "video/x-mpeg"));
146 EXPECT_FALSE(MatchesMimeType(std::string(), std::string()));
147 EXPECT_FALSE(MatchesMimeType("video/x-mpeg", std::string()));
148 EXPECT_FALSE(MatchesMimeType("application/*+xml", "application/xml"));
149 EXPECT_FALSE(MatchesMimeType("application/*+xml",
151 EXPECT_FALSE(MatchesMimeType("application/*+xml",
153 EXPECT_FALSE(MatchesMimeType("aaa*aaa", "aaaaa"));
157 EXPECT_FALSE(MatchesMimeType("video/*;param=val", "video/mpeg"));
158 EXPECT_FALSE(MatchesMimeType("video/*;param=val", "video/mpeg;param=other"));
163 EXPECT_FALSE(MatchesMimeType("video/x-mpeg;param2=val2",
165 EXPECT_FALSE(MatchesMimeType("video/x-mpeg;param2=val2",
173 EXPECT_FALSE(MatchesMimeType("video/x-mpeg;param3=val3;param=val",
179 EXPECT_FALSE(MatchesMimeType("*/*;param=val", "video/x-mpeg;param=val2"));
186 EXPECT_FALSE(MatchesMimeType("video/*", "*/*"));
187 EXPECT_FALSE(MatchesMimeType("video/*;param=val", "video/*"));
189 EXPECT_FALSE(MatchesMimeType("video/*;param=val", "video/*;param=val2"));
214 EXPECT_FALSE(IsSupportedMediaMimeType("video/ogg"));
220 EXPECT_FALSE(IsSupportedMediaMimeType("application/x-mpegurl"));
221 EXPECT_FALSE(IsSupportedMediaMimeType("application/vnd.apple.mpegurl"));
234 EXPECT_FALSE(IsSupportedMediaMimeType("audio/mp4"));
235 EXPECT_FALSE(IsSupportedMediaMimeType("audio/x-m4a"));
236 EXPECT_FALSE(IsSupportedMediaMimeType("video/mp4"));
237 EXPECT_FALSE(IsSupportedMediaMimeType("video/x-m4v"));
239 EXPECT_FALSE(IsSupportedMediaMimeType("audio/mp3"));
240 EXPECT_FALSE(IsSupportedMediaMimeType("audio/x-mp3"));
241 EXPECT_FALSE(IsSupportedMediaMimeType("audio/mpeg"));
243 EXPECT_FALSE(IsSupportedMediaMimeType("video/mp3"));
245 EXPECT_FALSE(IsSupportedMediaMimeType("video/unknown"));
246 EXPECT_FALSE(IsSupportedMediaMimeType("audio/unknown"));
247 EXPECT_FALSE(IsSupportedMediaMimeType("unknown/unknown"));
294 EXPECT_FALSE(ParseMimeTypeWithoutParameter(nonAscii, NULL, NULL));
319 EXPECT_FALSE(ParseMimeTypeWithoutParameter("text", NULL, NULL));
320 EXPECT_FALSE(ParseMimeTypeWithoutParameter("text/", NULL, NULL));
321 EXPECT_FALSE(ParseMimeTypeWithoutParameter("text/ ", NULL, NULL));
322 EXPECT_FALSE(ParseMimeTypeWithoutParameter("te(xt/ ", NULL, NULL));
323 EXPECT_FALSE(ParseMimeTypeWithoutParameter("text/()plain", NULL, NULL));
325 EXPECT_FALSE(ParseMimeTypeWithoutParameter("x-video", NULL, NULL));
326 EXPECT_FALSE(ParseMimeTypeWithoutParameter("x-video/", NULL, NULL));
328 EXPECT_FALSE(ParseMimeTypeWithoutParameter("application/a/b/c", NULL, NULL));
348 EXPECT_FALSE(IsValidTopLevelMimeType("mime"));
349 EXPECT_FALSE(IsValidTopLevelMimeType(""));
350 EXPECT_FALSE(IsValidTopLevelMimeType("/"));
351 EXPECT_FALSE(IsValidTopLevelMimeType(" "));
356 EXPECT_FALSE(IsValidTopLevelMimeType("x-"));