示例#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));
        }
示例#2
0
 private void Initialize()
 {
     this.id                = TestId.Empty;
     this.name              = string.Empty;
     this.owner             = string.Empty;
     this.priority          = DefaultPriority;
     this.storage           = string.Empty;
     this.executionId       = TestExecId.Empty;
     this.parentExecutionId = TestExecId.Empty;
     this.testCategories    = new TestCategoryItemCollection();
     this.isRunnable        = true;
     this.catId             = TestListCategoryId.Uncategorized;
 }