Exemple #1
0
        public void validate_provider_namespace_connection_string(string variable, bool expected)
        {
            var provider = new SqlConnectionCheckerProvider();

            provider.IsValid(variable).Should().Be(expected);
        }
Exemple #2
0
        public void validate_connection_info(ConnectionInfo info, bool expected)
        {
            var provider = new SqlConnectionCheckerProvider();

            provider.IsValid(info).Should().Be(expected);
        }
Exemple #3
0
        public void validate_keyvaluepair_connection_string(KeyValuePair <string, string> variable, bool expected)
        {
            var provider = new SqlConnectionCheckerProvider();

            provider.IsValid(variable).Should().Be(expected);
        }