blob: d7b80ffa92134a4b985290d179fba6a56356accf [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/android/android_overlay_provider_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace {
class AndroidOverlayProviderImplTest : public ::testing::Test {};
TEST_F(AndroidOverlayProviderImplTest, AreOverlaysSupported) {
// Right now, AndroidOverlay always claims to support overlays.
AndroidOverlayProvider* provider = AndroidOverlayProviderImpl::GetInstance();
ASSERT_NE(provider, nullptr);
ASSERT_TRUE(provider->AreOverlaysSupported());
}
} // namespace
} // namespace content