public void Initialize()
        {
            _apiKey = TestParamUtility.GetParamOrDefault("GooglePlus.ApiKey");

            TestContext.WriteLine($"INFO: Using api key = '{_apiKey}'");
            Assert.False(string.IsNullOrWhiteSpace(_apiKey), "Please pass a valid api key using the cmd line arg '--params=GooglePlus.ApiKey=\"[API KEY]\"'");
        }
示例#2
0
        public void Initialize()
        {
            _appId     = TestParamUtility.GetParamOrDefault("Facebook.AppId");
            _appSecret = TestParamUtility.GetParamOrDefault("Facebook.AppSecret");

            TestContext.WriteLine($"INFO: Using appId = '{_appId}'");
            TestContext.WriteLine($"INFO: Using appSecret {_appSecret}");
            Assert.False(string.IsNullOrWhiteSpace(_appId), "Please pass a valid app id using the cmd line arg '--params=Facebook.AppId=\"[APP ID]\"'");
            Assert.False(string.IsNullOrWhiteSpace(_appSecret), "Please pass a valid app secret using the cmd line arg '--params=Facebook.AppSecret=\"[APP SECRET]\"'");
        }