Пример #1
0
        public void CreateTest()
        {
            ResultEntity entity = new ResultEntity()
            {
                CaseID      = "",
                ExecutionID = 1,
                FailDetail  = "",
                FailReason  = "",
                ImageUrl    = "",
                Status      = ScriptExecutionStatus.Passed
            };

            long result = ResultDA.Create(entity);

            Assert.IsTrue(result != 0);
        }
Пример #2
0
 public long Create(ResultEntity result)
 {
     return(ResultDA.Create(result));
 }