void CreateDoozer()
        {
            properties          = new Properties();
            properties["id"]    = "Default";
            properties["class"] = "UnitTesting.Tests.Utils.MockTestFramework";
            Codon codon = new Codon(null, "TestFramework", properties, null);

            mockTestFrameworkFactory = new MockTestFrameworkFactory();
            mockTestFramework        = mockTestFrameworkFactory.AddFakeTestFramework("UnitTesting.Tests.Utils.MockTestFramework");

            doozer     = new TestFrameworkDoozer();
            descriptor = doozer.BuildItem(codon, mockTestFrameworkFactory);
        }
Beispiel #2
0
        MockTestFramework RegisterTestFramework(string className, string supportedProjects)
        {
            MockTestFramework testFramework = testFrameworkFactory.AddFakeTestFramework(className);

            Properties properties = new Properties();

            properties["class"]             = className;
            properties["supportedProjects"] = supportedProjects;

            TestFrameworkDescriptor descriptor = new TestFrameworkDescriptor(properties, testFrameworkFactory);

            testFrameworkDescriptors.Add(descriptor);

            return(testFramework);
        }