Exemple #1
0
        static TestFramework()
        {
            var builder = ImmutableArray.CreateBuilder <TestFramework>();

            var nunit  = new NUnitTestFramework();
            var xunit  = new XunitTestFramework();
            var mstest = new MSTestFramework();

            builder.Add(nunit);
            builder.Add(xunit);
            builder.Add(mstest);

            Frameworks = builder.ToImmutable();
        }
Exemple #2
0
        static TestFramework()
        {
            var builder = ImmutableDictionary.CreateBuilder <string, TestFramework>();

            var nunit  = new NUnitTestFramework();
            var xunit  = new XunitTestFramework();
            var mstest = new MSTestFramework();

            builder.Add(nunit.Name, nunit);
            builder.Add(xunit.Name, xunit);
            builder.Add(mstest.Name, mstest);

            s_frameworks = builder.ToImmutable();
        }