chromium/cc/paint/paint_filter_unittest.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cc/paint/paint_filter.h"

#include "cc/paint/image_provider.h"
#include "cc/paint/paint_op.h"
#include "cc/test/skia_common.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/effects/SkLumaColorFilter.h"

namespace cc {
namespace {

class MockImageProvider : public ImageProvider {};

sk_sp<PaintFilter> CreateTestFilter(PaintFilter::Type filter_type,
                                    bool has_discardable_images) {}

}  // namespace

class PaintFilterTest : public ::testing::TestWithParam<uint8_t> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(PaintFilterTest, HasDiscardableImagesYes) {}

TEST_P(PaintFilterTest, HasDiscardableImagesNo) {}

TEST_P(PaintFilterTest, SnapshotWithImages) {}

TEST(PaintFilterTest, ImageAnalysisState) {}

}  // namespace cc