|
virtual bool | AddBody () const =0 |
|
virtual bool | AddHtmlTags () const |
|
void | SetDoctype (StringPiece directive) |
|
virtual GoogleString | AddHtmlBody (StringPiece html) |
|
void | ValidateNoChanges (StringPiece case_id, StringPiece html_input) |
|
void | ValidateNoChangesFail (StringPiece case_id, StringPiece html_input) |
| Fail to ValidateNoChanges.
|
|
virtual void | SetupWriter () |
|
void | SetupWriter (scoped_ptr< HtmlWriterFilter > *html_writer_filter) |
|
void | Parse (StringPiece case_id, StringPiece html_input) |
| Parse html_input, the result is stored in output_buffer_. More...
|
|
virtual void | ParseUrl (StringPiece url, StringPiece html_input) |
| Parse given an explicit URL rather than an id to build URL around.
|
|
bool | ValidateExpected (StringPiece case_id, StringPiece html_input, StringPiece expected) |
|
bool | ValidateExpectedUrl (StringPiece url, StringPiece html_input, StringPiece expected) |
| Same as ValidateExpected, but with an explicit URL rather than an id.
|
|
void | ValidateExpectedFail (StringPiece case_id, StringPiece html_input, StringPiece expected) |
| Fail to ValidateExpected.
|
|
virtual HtmlParse * | html_parse ()=0 |
|
const GoogleUrl & | html_gurl () |
|
MockMessageHandler | message_handler_ |
|
StringWriter | write_to_string_ |
|
GoogleString | output_buffer_ |
|
bool | added_filter_ |
|
scoped_ptr< HtmlWriterFilter > | html_writer_filter_ |
|
GoogleString | doctype_string_ |
|
static const char | kTestDomain [] |
|
static const char | kXhtmlDtd [] |
| DOCTYPE string for claiming XHTML.
|
|
template<class OptionsClass>
class net_instaweb::RewriteOptionsTestBase< OptionsClass >
Helper class to for tests that need to initialized RewriteOptions. This class is templated so any flavor of RewriteOptions can be used.