예제 #1
0
 public LocalReport(LocalTestcase localTestcase, int buildInstance, int time, string vmName, bool executed = true, bool success = false, string message = null, string stacktrace = null)
 {
     ParentTestcase  = localTestcase;
     BuildInstanceId = buildInstance;
     Time            = time;
     MachineName     = vmName;
     Executed        = executed;
     Success         = success;
     Message         = message;
     StackTrace      = stacktrace;
 }
        public override bool Equals(object obj)
        {
            LocalTestcase ltc = obj as LocalTestcase;

            return((ltc?.ParentFixture != null) && ltc.ParentFixture.Equals(ParentFixture) && (ltc.TestcaseFullName == TestcaseFullName) && (ltc.TestcaseName == TestcaseName));
        }