Example #1
0
        /// <summary>
        /// Override function of Equals.
        /// </summary>
        /// <param name="obj">
        /// The object to compare.
        /// </param>
        /// <returns>
        /// The <see cref="bool"/>.
        /// </returns>
        public override bool Equals(object obj)
        {
            TestExecId id = obj as TestExecId;

            if (id == null)
            {
                return(false);
            }

            return(this.execId.Equals(id.execId));
        }
Example #2
0
 private void Initialize()
 {
     this.id             = TestId.Empty;
     this.name           = string.Empty;
     this.owner          = string.Empty;
     this.priority       = DefaultPriority;
     this.executionId    = TestExecId.Empty;
     this.testCategories = new TestCategoryItemCollection();
     this.storage        = string.Empty;
     this.isRunnable     = true;
     this.catId          = TestListCategoryId.Uncategorized;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestResultId"/> class.
 /// </summary>
 /// <param name="runId">
 /// The run id.
 /// </param>
 /// <param name="executionId">
 /// The execution id.
 /// </param>
 /// <param name="parentExecutionId">
 /// The parent execution id.
 /// </param>
 /// <param name="testId">
 /// The test id.
 /// </param>
 public TestResultId(Guid runId, TestExecId executionId, TestId testId)
 {
     this.runId       = runId;
     this.executionId = executionId;
     this.testId      = testId;
 }