5#include "flutter/shell/platform/android/apk_asset_provider.h"
6#include "gmock/gmock.h"
7#include "gtest/gtest.h"
15 (
const std::string& asset_name),
20 auto first_provider = std::make_unique<APKAssetProvider>(
21 std::make_shared<MockAPKAssetProviderImpl>());
22 auto second_provider = std::make_unique<APKAssetProvider>(
23 std::make_shared<MockAPKAssetProviderImpl>());
24 auto third_provider = first_provider->Clone();
26 ASSERT_NE(first_provider->GetImpl(), second_provider->GetImpl());
27 ASSERT_EQ(first_provider->GetImpl(), third_provider->GetImpl());
28 ASSERT_FALSE(*first_provider == *second_provider);
29 ASSERT_TRUE(*first_provider == *third_provider);
virtual std::unique_ptr< fml::Mapping > GetAsMapping(const std::string &asset_name) const =0
MOCK_METHOD(std::unique_ptr< fml::Mapping >, GetAsMapping,(const std::string &asset_name),(const, override))
TEST(DisplayListComplexity, EmptyDisplayList)