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

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

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

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