Page Speed Optimization Libraries  1.6.29.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes
net_instaweb::ImageTestBase Class Reference

List of all members.

Protected Types

typedef scoped_ptr< ImageImagePtr

Protected Member Functions

ImageImageFromString (ImageType output_type, const GoogleString &name, const GoogleString &contents, bool progressive)
ImageReadFromFileWithOptions (const char *name, GoogleString *contents, Image::CompressionOptions *options)
ImageReadImageFromFile (ImageType output_type, const char *filename, GoogleString *buffer, bool progressive)

Protected Attributes

MockTimer timer_
StdioFileSystem file_system_
MockMessageHandler handler_

Static Protected Attributes

static const char kTestData []
static const char kCuppa []
static const char kCuppaTransparent []
static const char kBikeCrash []
static const char kIronChef []
static const char kCradle []
static const char kPuzzle []
static const char kLarge []
static const char kRedbrush []
static const char kScenery []
static const char kAppSegments []

Member Function Documentation

Image* net_instaweb::ImageTestBase::ImageFromString ( ImageType  output_type,
const GoogleString &  name,
const GoogleString &  contents,
bool  progressive 
) [protected]

We use the output_type (ultimate expected output type after image processing) to set up rewrite permissions for the resulting Image object.

Image* net_instaweb::ImageTestBase::ReadFromFileWithOptions ( const char *  name,
GoogleString *  contents,
Image::CompressionOptions options 
) [protected]

Read an image with given filename and compression options. This also transfers the ownership of options to image object.

Image* net_instaweb::ImageTestBase::ReadImageFromFile ( ImageType  output_type,
const char *  filename,
GoogleString *  buffer,
bool  progressive 
) [protected]

We use the output_type (ultimate expected output type after image processing) to set up rewrite permissions for the resulting Image object.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines