public static IUnitTestElement CreateTestCase(TestProvider provider, IProject project, TestMethodElement testMethod, string name) { var shortName = GetTestCaseShortName(name, testMethod); var id = GetTestCaseId(testMethod, shortName); return(new TestCaseElement(provider, testMethod, new ProjectModelElementEnvoy(project), id, shortName)); }
public TestMetadataExplorer( TestProvider provider, TestIdentifier conventionCheck, UnitTestElementFactory unitTestElementFactory) { this.provider = provider; this.conventionCheck = conventionCheck; this.unitTestElementFactory = unitTestElementFactory; }
public TestFileExplorer(TestProvider provider, UnitTestElementFactory unitTestElementFactory, TestIdentifier conventionCheck) { this.provider = provider; this.unitTestElementFactory = unitTestElementFactory; this.conventionCheck = conventionCheck; }
public UnitTestElementFactory(TestProvider provider, UnitTestElementManager unitTestManager, DeclaredElementProvider declaredElementProvider) { this.provider = provider; this.unitTestManager = unitTestManager; this.declaredElementProvider = declaredElementProvider; }
public TestElementSerializer(TestProvider provider, UnitTestElementFactory unitTestElementFactory, ISolution solution) { this.provider = provider; this.unitTestElementFactory = unitTestElementFactory; this.solution = solution; }
public static IUnitTestElement CreateTestCase(TestProvider provider, IProject project, TestMethodElement testMethod, string name) { var shortName = GetTestCaseShortName(name, testMethod); var id = GetTestCaseId(testMethod, shortName); return new TestCaseElement(provider, testMethod, new ProjectModelElementEnvoy(project), id, shortName); }