Classes | |
class | MockCanvas |
class | MockImage |
Public Member Functions | |
MockImageLibraryInterface (const FilePath &base_input_path, const FilePath &base_output_path, Delegate *delegate) | |
MOCK_METHOD1 (ReadFromFile, Image *(const FilePath &path)) | |
MOCK_METHOD2 (CreateCanvas, Canvas *(int width, int height)) |
net_instaweb::spriter::MockImageLibraryInterface::MOCK_METHOD1 | ( | ReadFromFile | , | |
Image * | const FilePath &path | |||
) |
Read an image from disk. Return NULL (after calling delegate method) on error. Caller owns the returned pointer.