chromium/chrome/renderer/chrome_render_frame_observer_unittest.cc

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

#include "chrome/renderer/chrome_render_frame_observer.h"

#include "chrome/common/chrome_render_frame.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"

class ChromeRenderFrameObserverTest : public testing::Test {};

TEST_F(ChromeRenderFrameObserverTest,
       NeedsDownscale_RequestLargeThanOriginalReturnFalse) {}

TEST_F(ChromeRenderFrameObserverTest, NeedsDownscale_SameSizeReturnFalse) {}

TEST_F(ChromeRenderFrameObserverTest, NeedsDownscale_OnlyWidthShortReturnTrue) {}

TEST_F(ChromeRenderFrameObserverTest, NeedsDownscale_OnlyAreaSmallReturnFalse) {}

TEST_F(ChromeRenderFrameObserverTest, NeedsEncodeImage_JpegFormat) {}

TEST_F(ChromeRenderFrameObserverTest, NeedsEncodeImage_PngFormat) {}

TEST_F(ChromeRenderFrameObserverTest, NeedsEncodeImage_WebpFormat) {}

TEST_F(ChromeRenderFrameObserverTest, NeedsEncodeImage_OriginalFormat) {}

TEST_F(ChromeRenderFrameObserverTest,
       IsAnimatedWebp_HeaderTooSmall_ReturnsFalse) {}

TEST_F(ChromeRenderFrameObserverTest, IsAnimatedWebp_StaticWebp_ReturnsFalse) {}

TEST_F(ChromeRenderFrameObserverTest, IsAnimatedWebp_Jpeg_ReturnsFalse) {}

TEST_F(ChromeRenderFrameObserverTest, IsAnimatedWebp_AnimatedWebp_ReturnsTrue) {}