public void Add(TestDescription test) { if (Tests != null && IsEveryTest) { return; } if (Tests == null || test.IsAllTests) { Tests = new List <TestDescription>(1); } Tests.Add(test); }
private bool Equals(TestDescription other) { return(Id == other.Id); }
private bool Equals(TestDescription other) { return(string.Equals(Guid, other.Guid) || IsAllTests || other.IsAllTests); }
static TestDescription() { AllTestsDescription = new TestDescription(AllTestsGuid, "All Tests"); }
protected bool Equals(TestDescription other) { return(string.Equals(Guid, other.Guid)); }
public bool Contains(TestDescription test) { return(IsEveryTest || Tests.Any(t => t.Equals(test))); }
static TestListDescription() { EveryTests = new TestListDescription(new[] { TestDescription.AllTests() }); NoTestInstance = new TestListDescription(null); }