Пример #1
0
		public Problem (Doap.Tests.TestResult res, string title, string desc,
				string detail, string testname)
		{
			this.Severity = res.Severity;
			this.Title = title;
			this.Description = desc;
			if (res.Error != null) 
				this.Detail = res.Error;
			else 
				this.Detail = detail;
			this.Test = testname;
		}
Пример #2
0
 public Problem(Doap.Tests.TestResult res, string title, string desc,
                string detail, string testname)
 {
     this.Severity    = res.Severity;
     this.Title       = title;
     this.Description = desc;
     if (res.Error != null)
     {
         this.Detail = res.Error;
     }
     else
     {
         this.Detail = detail;
     }
     this.Test = testname;
 }