#include "components/enterprise/connectors/core/connectors_service_base.h"
#include "components/enterprise/connectors/core/connectors_prefs.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace enterprise_connectors {
namespace {
constexpr char kMachineDMToken[] = …;
constexpr char kProfileDMToken[] = …;
class TestConnectorsService : public ConnectorsServiceBase { … };
}
TEST(ConnectorsServiceBaseTest, RealTimeUrlCheck_NoTokenOrPolicies) { … }
TEST(ConnectorsServiceBaseTest, RealTimeUrlCheck_InvalidProfilePolicy) { … }
TEST(ConnectorsServiceBaseTest, RealTimeUrlCheck_InvalidMachinePolicy) { … }
TEST(ConnectorsServiceBaseTest, RealTimeUrlCheck_ValidProfilePolicy) { … }
TEST(ConnectorsServiceBaseTest, RealTimeUrlCheck_ValidMachinePolicy) { … }
}