Exemplo n.º 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));
        }
Exemplo n.º 3
0
 public void OnResult(string testKey, TestResult result)
 {
     results.SetResult(runId, testKey, result);
 }