public static TestListGenerationResult Success(int count)
 {
     var res = new TestListGenerationResult();
     res.IsSuccess = true;
     res.Message = string.Format("{0} tests generated successfully.", count);
     return res;
 }
 public static TestListGenerationResult Failure(string message)
 {
     var res = new TestListGenerationResult();
     res.IsSuccess = false;
     res.Message = message;
     return res;
 }
Beispiel #3
0
        public static TestListGenerationResult Success(int count)
        {
            var res = new TestListGenerationResult();

            res.IsSuccess = true;
            res.Message   = string.Format("{0} tests generated successfully.", count);
            return(res);
        }
Beispiel #4
0
        public static TestListGenerationResult Failure(string message)
        {
            var res = new TestListGenerationResult();

            res.IsSuccess = false;
            res.Message   = message;
            return(res);
        }