#include "base/test/test_future.h"
#include "chrome/browser/apps/link_capturing/link_capturing_feature_test_support.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_scheduler.h"
#include "chrome/browser/web_applications/web_app_install_info.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "chrome/common/chrome_features.h"
#include "components/webapps/common/web_app_id.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace web_app {
namespace {
class LinkCapturingJobTest : public WebAppTest,
public testing::WithParamInterface<bool> { … };
TEST_P(LinkCapturingJobTest, SingleAppEnabled) { … }
TEST_P(LinkCapturingJobTest, SingleAppDisabled) { … }
TEST_P(LinkCapturingJobTest, DisablesOtherApps) { … }
TEST_P(LinkCapturingJobTest, DefaultOnChoosesFirstApp) { … }
TEST_P(LinkCapturingJobTest, ExplicitDisablingOverrideDefaultBehavior) { … }
TEST_P(LinkCapturingJobTest, UninstallOverlappingRevertsToDefault) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}