#include "content/browser/content_index/content_index_service_impl.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "content/public/test/browser_task_environment.h"
#include "mojo/public/cpp/bindings/message.h"
#include "mojo/public/cpp/test_support/fake_message_dispatch_context.h"
#include "mojo/public/cpp/test_support/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace content {
namespace {
SkBitmap CreateIcon(int resolution) { … }
class ContentIndexServiceImplTest : public ::testing::Test { … };
constexpr char ContentIndexServiceImplTest::kOrigin[];
TEST_F(ContentIndexServiceImplTest, NullIcon) { … }
TEST_F(ContentIndexServiceImplTest, LargeIcon) { … }
TEST_F(ContentIndexServiceImplTest, InvalidLaunchUrl) { … }
TEST_F(ContentIndexServiceImplTest, CrossOriginLaunchUrl) { … }
}
}