Exemple #1
0
        private void PerformPostTestActions(bool autoClose)
        {
            setStatus("Busy performing post-test actions...");
            PostTestActions pta = new PostTestActions(_tempDir, GetZipFilename());

            pta.Show();

            // give windows 1 sec to render the form
            Utils.SleepNonBlocking(1000);

            setStatus(pta.PerformActions() ? "Done performing post-test actions." : "Post-test actions were aborted.");
            if (autoClose)
            {
                pta.Close();
            }
        }
    private void PerformPostTestActions(bool autoClose)
    {
      SetStatus("Busy performing post-test actions...");
      var pta = new PostTestActions(_tempDir, GetZipFilename());
      pta.Show();

      // give windows 1 sec to render the form
      Utils.SleepNonBlocking(1000);

      SetStatus(pta.PerformActions() ? "Done performing post-test actions." : "Post-test actions were aborted.");
      if (autoClose)
      {
        pta.Close();
      }
    }