chromium/ui/gfx/image/image_family_unittest.cc

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

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_family.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/image/image_unittest_util.h"

namespace {

gt;

// Tests that |image| != NULL, and has the given width and height.
// This is a macro instead of a function, so that the correct line numbers are
// reported when a test fails.
#define EXPECT_IMAGE_NON_NULL_AND_SIZE(image, expected_width, expected_height)

// Tests that |image| has the given width and height.
// This is a macro instead of a function, so that the correct line numbers are
// reported when a test fails.
#define EXPECT_IMAGE_SIZE(image, expected_width, expected_height)

class ImageFamilyTest : public testing::Test {};

TEST_F(ImageFamilyTest, Clear) {}

TEST_F(ImageFamilyTest, MoveConstructor) {}

TEST_F(ImageFamilyTest, MoveAssignment) {}

TEST_F(ImageFamilyTest, Clone) {}

// Tests iteration over an ImageFamily.
TEST_F(ImageFamilyTest, Iteration) {}

TEST_F(ImageFamilyTest, GetBest) {}

TEST_F(ImageFamilyTest, CreateExact) {}

// Test adding and looking up images with 0 width and height.
TEST_F(ImageFamilyTest, ZeroWidthAndHeight) {}

}  // namespace