Esempio n. 1
0
        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));
        }
Esempio n. 2
0
 public TestMetadataExplorer(
     TestProvider provider,
     TestIdentifier conventionCheck,
     UnitTestElementFactory unitTestElementFactory)
 {
     this.provider               = provider;
     this.conventionCheck        = conventionCheck;
     this.unitTestElementFactory = unitTestElementFactory;
 }
 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;
 }
Esempio n. 5
0
 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);
 }
 public UnitTestElementFactory(TestProvider provider, UnitTestElementManager unitTestManager, DeclaredElementProvider declaredElementProvider)
 {
     this.provider = provider;
     this.unitTestManager = unitTestManager;
     this.declaredElementProvider = declaredElementProvider;
 }
Esempio n. 9
0
 public TestFileExplorer(TestProvider provider, UnitTestElementFactory unitTestElementFactory, TestIdentifier conventionCheck)
 {
     this.provider = provider;
     this.unitTestElementFactory = unitTestElementFactory;
     this.conventionCheck        = conventionCheck;
 }
Esempio n. 10
0
 public TestElementSerializer(TestProvider provider, UnitTestElementFactory unitTestElementFactory, ISolution solution)
 {
     this.provider = provider;
     this.unitTestElementFactory = unitTestElementFactory;
     this.solution = solution;
 }