#include "chrome/browser/web_applications/commands/fetch_install_info_from_install_url_command.h"
#include <optional>
#include "base/strings/string_util.h"
#include "base/test/bind.h"
#include "base/test/test_future.h"
#include "chrome/browser/web_applications/test/fake_data_retriever.h"
#include "chrome/browser/web_applications/test/fake_web_app_provider.h"
#include "chrome/browser/web_applications/test/fake_web_contents_manager.h"
#include "chrome/browser/web_applications/test/test_web_app_url_loader.h"
#include "chrome/browser/web_applications/test/web_app_install_test_utils.h"
#include "chrome/browser/web_applications/test/web_app_test.h"
#include "chrome/browser/web_applications/web_app_command_manager.h"
#include "chrome/browser/web_applications/web_app_helpers.h"
#include "chrome/browser/web_applications/web_app_install_info.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace web_app {
namespace {
class FetchInstallInfoFromInstallUrlCommandTest : public WebAppTest { … };
TEST_F(FetchInstallInfoFromInstallUrlCommandTest, RetrievesCorrectly) { … }
TEST_F(FetchInstallInfoFromInstallUrlCommandTest,
RetrievesCorrectlyWhenParentManifestIsNull) { … }
TEST_F(FetchInstallInfoFromInstallUrlCommandTest, UrlLoadingFailure) { … }
TEST_F(FetchInstallInfoFromInstallUrlCommandTest, NoValidManifest) { … }
TEST_F(FetchInstallInfoFromInstallUrlCommandTest, WebAppInfoNotFound) { … }
}
}