#ifndef PDF_TEST_TEST_HELPERS_H_
#define PDF_TEST_TEST_HELPERS_H_
#include "base/files/file_path.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "v8/include/v8-forward.h"
class SkImage;
class SkSurface;
namespace gfx {
class Size;
}
namespace chrome_pdf {
base::FilePath GetTestDataFilePath(const base::FilePath& path);
testing::AssertionResult MatchesPngFile(
const SkImage* actual_image,
const base::FilePath& expected_png_file);
sk_sp<SkSurface> CreateSkiaSurfaceForTesting(const gfx::Size& size,
SkColor color);
sk_sp<SkImage> CreateSkiaImageForTesting(const gfx::Size& size, SkColor color);
v8::Isolate* GetBlinkIsolate();
void SetBlinkIsolate(v8::Isolate* isolate);
}
#endif