示例#1
0
 public TestResultInfo(TestResultInfo tri)
 {
     this.Result = tri.Result;
     this.Artifacts = tri.Artifacts;
 }
        /// <summary>
        /// Sets the TestResult for a testkey in a run.
        /// </summary>
        public void SetResult(string runId, string testKey, TestResult result)
        {
            string testKeyListKey = MakeTestKeySetKey(runId);
            string resultKey = MakeResultKey(runId, testKey);

            client.AddItemToSet(testKeyListKey, testKey);

            client.SetEntry (resultKey, jss.Serialize(result));
        }
示例#3
0
 public void OnResult(string testKey, TestResult result)
 {
     results.SetResult(runId, testKey, result);
 }