コード例 #1
0
        public DotNetCoreUnitTest(IDotNetCoreTestRunner testRunner, TestCase test)
            : base(test.DisplayName)
        {
            this.testRunner = testRunner;
            this.test       = test;

            Init();
        }
コード例 #2
0
        public DotNetCoreNamespaceTestGroup(IDotNetCoreTestRunner testRunner, UnitTestGroup parent, string name)
            : base(name)
        {
            currentNamespace = this;
            this.testRunner  = testRunner;

            if (parent == null || String.IsNullOrEmpty(parent.FixtureTypeNamespace))
            {
                FixtureTypeNamespace = name;
            }
            else
            {
                FixtureTypeNamespace = parent.FixtureTypeNamespace + "." + name;
            }
        }
コード例 #3
0
 public DotNetCoreTestClass(IDotNetCoreTestRunner testRunner, string name)
     : base(name)
 {
     this.testRunner = testRunner;
     FixtureTypeName = name;
 }