Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CheckConnStrSetupFactAttribute.cs « DataCommon « ManualTests « tests « System.Data.SqlClient « src - github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8629acb221ddd0162f61efd8109878933ea68a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;

namespace System.Data.SqlClient.ManualTesting.Tests
{
    public class CheckConnStrSetupFactAttribute : FactAttribute
    {
        public CheckConnStrSetupFactAttribute()
        {
            if(!DataTestUtility.AreConnStringsSetup())
            {
                Skip = "Connection Strings Not Setup";
            }
        }
    }
}