#include "components/captive_portal/core/captive_portal_detector.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/captive_portal/core/captive_portal_testing_utils.h"
#include "net/base/net_errors.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace captive_portal {
namespace {
class CaptivePortalClient { … };
}
class CaptivePortalDetectorTest : public testing::Test,
public CaptivePortalDetectorTestBase { … };
TEST_F(CaptivePortalDetectorTest, CaptivePortalResultCodes) { … }
TEST_F(CaptivePortalDetectorTest, CaptivePortalRetryAfterSeconds) { … }
TEST_F(CaptivePortalDetectorTest, CaptivePortalRetryAfterDate) { … }
TEST_F(CaptivePortalDetectorTest, CaptivePortalRetryAfterInvalid) { … }
TEST_F(CaptivePortalDetectorTest, Cancel) { … }
}