Lines Matching refs:ASSERT_TRUE
97 ASSERT_TRUE(it->second);
110 ASSERT_TRUE(it != serialization_finish_status_.end());
158 ASSERT_TRUE(web_frame != NULL);
174 ASSERT_TRUE(web_frame != NULL);
188 ASSERT_TRUE(result);
189 ASSERT_TRUE(serialized_);
290 ASSERT_TRUE(file_url.SchemeIsFile());
295 ASSERT_TRUE(web_frame != NULL);
297 ASSERT_TRUE(HasDocType(doc));
301 ASSERT_TRUE(HasSerializedFrame(file_url));
309 ASSERT_TRUE(HasDocType(doc));
319 ASSERT_TRUE(file_url.SchemeIsFile());
324 ASSERT_TRUE(web_frame != NULL);
326 ASSERT_TRUE(!HasDocType(doc));
330 ASSERT_TRUE(HasSerializedFrame(file_url));
338 ASSERT_TRUE(!HasDocType(doc));
350 ASSERT_TRUE(file_util::ReadFileToString(page_file_path, &original_contents));
353 ASSERT_TRUE(file_url.SchemeIsFile());
359 ASSERT_TRUE(HasSerializedFrame(file_url));
372 ASSERT_TRUE(file_util::ReadFileToString(page_file_path, &original_contents));
375 ASSERT_TRUE(file_url.SchemeIsFile());
382 ASSERT_TRUE(std::string::npos ==
389 ASSERT_TRUE(HasSerializedFrame(file_url));
406 ASSERT_TRUE(file_url.SchemeIsFile());
412 ASSERT_TRUE(web_frame != NULL);
414 ASSERT_TRUE(doc.isHTMLDocument());
416 ASSERT_TRUE(!head_element.isNull());
422 ASSERT_TRUE(charset_info.empty());
428 ASSERT_TRUE(HasSerializedFrame(file_url));
436 ASSERT_TRUE(web_frame != NULL);
438 ASSERT_TRUE(doc.isHTMLDocument());
440 ASSERT_TRUE(!head_element.isNull());
442 ASSERT_TRUE(!meta_node.isNull());
445 ASSERT_TRUE(IsMetaElement(meta_node, charset_info2));
446 ASSERT_TRUE(!charset_info2.empty());
447 ASSERT_TRUE(charset_info2 == std::string(web_frame->encoding().utf8()));
454 ASSERT_TRUE(charset_info.empty());
469 ASSERT_TRUE(file_url.SchemeIsFile());
476 ASSERT_TRUE(web_frame != NULL);
478 ASSERT_TRUE(doc.isHTMLDocument());
480 ASSERT_TRUE(!head_ele.isNull());
490 ASSERT_TRUE(charset_declaration_count > 1);
496 ASSERT_TRUE(HasSerializedFrame(file_url));
504 ASSERT_TRUE(web_frame != NULL);
506 ASSERT_TRUE(doc.isHTMLDocument());
508 ASSERT_TRUE(!head_ele.isNull());
510 ASSERT_TRUE(!meta_node.isNull());
513 ASSERT_TRUE(IsMetaElement(meta_node, charset_info2));
514 ASSERT_TRUE(!charset_info2.empty());
515 ASSERT_TRUE(charset_info2 == std::string(web_frame->encoding().utf8()));
522 ASSERT_TRUE(charset_info.empty());
534 ASSERT_TRUE(file_url.SchemeIsFile());
543 ASSERT_TRUE(web_frame != NULL);
545 ASSERT_TRUE(doc.isHTMLDocument());
547 ASSERT_TRUE(!body_ele.isNull());
549 ASSERT_TRUE(text_node.isTextNode());
550 ASSERT_TRUE(std::string(text_node.createMarkup().utf8()) ==
555 ASSERT_TRUE(HasSerializedFrame(file_url));
594 ASSERT_TRUE(file_url.SchemeIsFile());
602 ASSERT_TRUE(web_frame != NULL);
604 ASSERT_TRUE(doc.isHTMLDocument());
606 ASSERT_TRUE(!body_ele.isNull());
608 ASSERT_TRUE(std::string(value.utf8()) == "&<>\"\'");
612 ASSERT_TRUE(HasSerializedFrame(file_url));
648 ASSERT_TRUE(doc.isHTMLDocument());
655 ASSERT_TRUE(UTF16ToWide(value) == parsed_value);
656 ASSERT_TRUE(UTF16ToWide(body_element.innerText()) == parsed_value);
661 ASSERT_TRUE(HasSerializedFrame(file_url));
689 ASSERT_TRUE(file_url.SchemeIsFile());
696 ASSERT_TRUE(web_frame != NULL);
698 ASSERT_TRUE(doc.isHTMLDocument());
721 ASSERT_TRUE(link.scheme().empty());
735 ASSERT_TRUE(HasSerializedFrame(file_url));
745 ASSERT_TRUE(web_frame != NULL);
747 ASSERT_TRUE(doc.isHTMLDocument());
787 ASSERT_TRUE(file_url.SchemeIsFile());
796 ASSERT_TRUE(web_frame != NULL);
798 ASSERT_TRUE(doc.isHTMLDocument());
800 ASSERT_TRUE(!head_element.isNull());
801 ASSERT_TRUE(!head_element.hasChildNodes());
802 ASSERT_TRUE(head_element.childNodes().length() == 0);
807 ASSERT_TRUE(HasSerializedFrame(file_url));
814 ASSERT_TRUE(web_frame != NULL);
816 ASSERT_TRUE(doc.isHTMLDocument());
818 ASSERT_TRUE(!head_element.isNull());
819 ASSERT_TRUE(head_element.hasChildNodes());
820 ASSERT_TRUE(head_element.childNodes().length() == 1);
822 ASSERT_TRUE(!meta_node.isNull());
825 ASSERT_TRUE(IsMetaElement(meta_node, charset_info));
826 ASSERT_TRUE(!charset_info.empty());
827 ASSERT_TRUE(charset_info == std::string(web_frame->encoding().utf8()));
832 ASSERT_TRUE(!body_element.isNull());
834 ASSERT_TRUE(text_node.isTextNode());
836 ASSERT_TRUE(std::string(text_node_contents.utf8()) == "hello world");
846 ASSERT_TRUE(file_url.SchemeIsFile());