public void CloseRun(ulong runId)
 {
     if (runId > 0 || _client != null)
     {
         _client.CloseRun(runId);
     }
 }
示例#2
0
        private static void RunCases(CommandResult <ulong> run, List <Configuration> configs = null)
        {
            if (!run.WasSuccessful)
            {
                Console.WriteLine("failed to create run \n{0}", run.Exception);
                return;
            }
            Console.WriteLine("run {0}", run.Value);
            var tests = client.GetTests(run.Value);

            foreach (var t in tests)
            {
                RunOneTest(t, configs);
            }
            client.CloseRun(run.Value);
        }