示例#1
0
 internal void ResetTestDataCollection()
 {
     if (_testDataCollection == null)
     {
         _testDataCollection = new TestDataCollection();
     }
     else
     {
         _testDataCollection.Clear();
     }
 }
示例#2
0
        public TestClassBase()
        {
            _testVerdict = Core.TestVerdict.Pass;

            _testCheckCollection   = new TestCheckCollection();
            TestCheck.OnTestCheck += TestCheck_OnTestCheck;

            _testWarningCollection     = new TestWarningCollection();
            TestWarning.OnTestWarning += TestWarning_OnTestWarning;

            _testDataCollection = new TestDataCollection();

            TestCheckFailuresOnly = true;
            MaxFailedTestChecks   = _defaultMaxTestCheckFailures;
        }
示例#3
0
 internal void SetTestData(TestDataCollection testData)
 {
     _testData = new TestDataCollection(testData);
 }
示例#4
0
 internal TestDataCollection(TestDataCollection original)
     : base(original)
 {
 }
示例#5
0
 public ResultStruct()
 {
     TestChecks   = new TestCheckCollection();
     TestWarnings = new TestWarningCollection();
     TestData     = new TestDataCollection();
 }