示例#1
0
 /// <summary>
 ///  Reload the current assemblies
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ReloadMenuItem_Click(object sender, EventArgs e)
 {
     treeSpecs.Nodes[0].Nodes.Clear();
     treeSpecs.Nodes[0].SelectedImageKey = treeSpecs.Nodes[0].ImageKey = ImageTypes.PENDING;
     _nspecHelper = new NSpecHelper();
     _assemblies.ForEach(t => LoadAssembly(t));
     SetControls();
 }
示例#2
0
 public SpecRunner()
 {
     InitializeComponent();
     _nspecHelper = new NSpecHelper();
     _allCurrentSpecNames = new List<TreeNode>();
     _assemblies = new List<string>();
     _isReady = false;
     _exceptions = new Dictionary<string, string>();
 }