Page Speed Optimization Libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
net_instaweb::RewriteOptionsTestBase< OptionsClass > Class Template Reference

#include "rewrite_options_test_base.h"

Inheritance diagram for net_instaweb::RewriteOptionsTestBase< OptionsClass >:
net_instaweb::HtmlParseTestBaseNoAlloc net_instaweb::RewriteTestBase net_instaweb::CriticalImagesFinderTestBase net_instaweb::CssRewriteTestBase net_instaweb::CustomRewriteTestBase< OptionsClass > net_instaweb::ProxyInterfaceTestBase net_instaweb::RewriteContextTestBase

Public Member Functions

ThreadSystemthread_system ()
OptionsClass * NewOptions ()

Public Attributes

scoped_ptr< ThreadSystemthread_system_

Additional Inherited Members

- Protected Member Functions inherited from net_instaweb::HtmlParseTestBaseNoAlloc
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 HtmlParsehtml_parse ()=0
const GoogleUrlhtml_gurl ()
- Protected Attributes inherited from net_instaweb::HtmlParseTestBaseNoAlloc
MockMessageHandler message_handler_
StringWriter write_to_string_
GoogleString output_buffer_
bool added_filter_
scoped_ptr< HtmlWriterFilterhtml_writer_filter_
GoogleString doctype_string_
- Static Protected Attributes inherited from net_instaweb::HtmlParseTestBaseNoAlloc
static const char kTestDomain []
static const char kXhtmlDtd []
 DOCTYPE string for claiming XHTML.

Detailed Description

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.

The documentation for this class was generated from the following files: