Merge lp:~anuraj.p/nunitv2/GUIFindTest into lp:nunitv2

Proposed by Anuraj P
Status: Needs review
Proposed branch: lp:~anuraj.p/nunitv2/GUIFindTest
Merge into: lp:nunitv2
Diff against target: 2593 lines (+1345/-1217)
3 files modified
src/GuiComponents/UiKit/TestTree.cs (+941/-815)
src/GuiComponents/UiKit/nunit.uikit.build (+1/-0)
src/GuiComponents/UiKit/nunit.uikit.dll.csproj (+403/-402)
To merge this branch: bzr merge lp:~anuraj.p/nunitv2/GUIFindTest
Reviewer Review Type Date Requested Status
Simone Busoli Needs Fixing
Review via email: mp+132950@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Simone Busoli (simone.busoli) wrote :

The build fails on my machine with error:

     [exec] 1) Test Error : NUnit.UiKit.Tests.TestTreeTests.SameCategoryShouldNotBeSelectedMoreThanO
nce
     [exec] System.ArgumentException : Resource 'Images.search.png' cannot be found in class 'NUn
it.UiKit.TestTree'.

The reason is that although we have .csproj files to use in Visual Studio the build is done with NAnt scripts, so you would need to modify the nunit.uikit.build by including the new image in the patternset node with id resource-files.

After building successfully I can't run tests any longer in the GUI. For instance I open the NUnitTests.nunit project file and leaving aside the new search feature I try hitting the Run button. I get a null reference exception, and pretty much the same for anything else I try to run via the UI, either by right clicking a node or selecting one and clicking the Run button.

review: Needs Fixing
Revision history for this message
Anuraj P (anuraj.p) wrote :

I modified the build file. I was not using build.bat file. Sorry I missed that. I am not sure why the application is crashing while opening the project, because I didn't changed anything in those code. Anyway I will look into it.

lp:~anuraj.p/nunitv2/GUIFindTest updated
3456. By Anuraj P

Image resource added to the Build file

Revision history for this message
Charlie Poole (charlie.poole) wrote :

Since you requested a merge, I assume you were able to build at some
point - right?

Charlie

On Mon, Nov 5, 2012 at 6:08 PM, Anuraj P <email address hidden> wrote:
> I modified the build file. I was not using build.bat file. Sorry I missed that. I am not sure why the application is crashing while opening the project, because I didn't changed anything in those code. Anyway I will look into it.
> --
> https://code.launchpad.net/~anuraj.p/nunitv2/GUIFindTest/+merge/132950
> You are subscribed to branch lp:nunitv2.

Revision history for this message
Anuraj P (anuraj.p) wrote :

As I am using Visual Studio to build, it was working without any issue. No problem I modified the build file, and it is committed also.

> Since you requested a merge, I assume you were able to build at some
> point - right?
>
> Charlie
>
> On Mon, Nov 5, 2012 at 6:08 PM, Anuraj P <email address hidden> wrote:
> > I modified the build file. I was not using build.bat file. Sorry I missed
> that. I am not sure why the application is crashing while opening the project,
> because I didn't changed anything in those code. Anyway I will look into it.
> > --
> > https://code.launchpad.net/~anuraj.p/nunitv2/GUIFindTest/+merge/132950
> > You are subscribed to branch lp:nunitv2.

Revision history for this message
Simone Busoli (simone.busoli) wrote :

Hi Anuraj,

the GUI doesn't crash at startup but when I try to run a test. The repro is
simple, can you try what happens when you build it by:

- running *build.bat*
- executing builds\net\3.5\debug\nunit.exe
- loading the project file located in builds\net\3.5\debug\NUnitTests.nunit
- clicking the Run button

? At that point, where the GUI should run all the tests contained in the
project, I get a NRE.

Simone

On Tue, Nov 6, 2012 at 6:06 AM, Anuraj P <email address hidden> wrote:

> As I am using Visual Studio to build, it was working without any issue. No
> problem I modified the build file, and it is committed also.
>
> > Since you requested a merge, I assume you were able to build at some
> > point - right?
> >
> > Charlie
> >
> > On Mon, Nov 5, 2012 at 6:08 PM, Anuraj P <email address hidden> wrote:
> > > I modified the build file. I was not using build.bat file. Sorry I
> missed
> > that. I am not sure why the application is crashing while opening the
> project,
> > because I didn't changed anything in those code. Anyway I will look into
> it.
> > > --
> > > https://code.launchpad.net/~anuraj.p/nunitv2/GUIFindTest/+merge/132950
> > > You are subscribed to branch lp:nunitv2.
> --
> https://code.launchpad.net/~anuraj.p/nunitv2/GUIFindTest/+merge/132950
> You are reviewing the proposed merge of lp:~anuraj.p/nunitv2/GUIFindTest
> into lp:nunitv2.
>

Unmerged revisions

3456. By Anuraj P

Image resource added to the Build file

3455. By Anuraj P

Find test feature implemented for NUnit GUI

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'src/GuiComponents/UiKit/Images/search.png'
0Binary files src/GuiComponents/UiKit/Images/search.png 1970-01-01 00:00:00 +0000 and src/GuiComponents/UiKit/Images/search.png 2012-11-06 02:11:19 +0000 differ0Binary files src/GuiComponents/UiKit/Images/search.png 1970-01-01 00:00:00 +0000 and src/GuiComponents/UiKit/Images/search.png 2012-11-06 02:11:19 +0000 differ
=== modified file 'src/GuiComponents/UiKit/TestTree.cs'
--- src/GuiComponents/UiKit/TestTree.cs 2012-07-21 20:00:21 +0000
+++ src/GuiComponents/UiKit/TestTree.cs 2012-11-06 02:11:19 +0000
@@ -1,133 +1,132 @@
1// ****************************************************************1// ****************************************************************
2// This is free software licensed under the NUnit license. You2// This is free software licensed under the NUnit license. You
3// may obtain a copy of the license as well as information regarding3// may obtain a copy of the license as well as information regarding
4// copyright ownership at http://nunit.org.4// copyright ownership at http://nunit.org.
5// ****************************************************************5// ****************************************************************
66
7using System;7using System;
8using System.Collections;8using System.Collections;
9using System.Collections.Generic;9using System.Collections.Generic;
10using System.ComponentModel;10using System.ComponentModel;
11using System.Drawing;11using System.Drawing;
12using System.Data;12using System.Data;
13using System.Windows.Forms;13using System.Windows.Forms;
14using NUnit.Core;14using NUnit.Core;
15using NUnit.Util;15using NUnit.Util;
1616
17namespace NUnit.UiKit17namespace NUnit.UiKit
18{18{
19 public delegate void SelectedTestsChangedEventHandler(object sender, SelectedTestsChangedEventArgs e);19 public delegate void SelectedTestsChangedEventHandler(object sender, SelectedTestsChangedEventArgs e);
20 /// <summary>20 /// <summary>
21 /// Summary description for TestTree.21 /// Summary description for TestTree.
22 /// </summary>22 /// </summary>
23 public class TestTree : System.Windows.Forms.UserControl23 public class TestTree : System.Windows.Forms.UserControl
24 {24 {
25 #region Instance Variables25 #region Instance Variables
2626
27 // Contains all available categories, whether27 // Contains all available categories, whether
28 // selected or not. Unselected members of this28 // selected or not. Unselected members of this
29 // list are displayed in selectedList29 // list are displayed in selectedList
30 private IList availableCategories = new List<string>();30 private IList availableCategories = new List<string>();
3131
32 // Our test loader32 // Our test loader
33 private TestLoader loader;33 private TestLoader loader;
3434
35 private System.Windows.Forms.TabControl tabs;35 private System.Windows.Forms.TabControl tabs;
36 private System.Windows.Forms.TabPage testPage;36 private System.Windows.Forms.TabPage testPage;
37 private System.Windows.Forms.TabPage categoryPage;37 private System.Windows.Forms.TabPage categoryPage;
38 private System.Windows.Forms.Panel testPanel;38 private System.Windows.Forms.Panel testPanel;
39 private System.Windows.Forms.Panel categoryPanel;39 private System.Windows.Forms.Panel categoryPanel;
40 private System.Windows.Forms.Panel treePanel;40 private System.Windows.Forms.Panel buttonPanel;
41 private System.Windows.Forms.Panel buttonPanel;41 private System.Windows.Forms.GroupBox groupBox1;
42 private NUnit.UiKit.TestSuiteTreeView tests;42 private System.Windows.Forms.ListBox availableList;
43 private System.Windows.Forms.GroupBox groupBox1;43 private System.Windows.Forms.GroupBox selectedCategories;
44 private System.Windows.Forms.ListBox availableList;44 private System.Windows.Forms.ListBox selectedList;
45 private System.Windows.Forms.GroupBox selectedCategories;45 private System.Windows.Forms.Panel categoryButtonPanel;
46 private System.Windows.Forms.ListBox selectedList;46 private System.Windows.Forms.Button addCategory;
47 private System.Windows.Forms.Panel categoryButtonPanel;47 private System.Windows.Forms.Button removeCategory;
48 private System.Windows.Forms.Button addCategory;48 private System.Windows.Forms.Button clearAllButton;
49 private System.Windows.Forms.Button removeCategory;49 private System.Windows.Forms.Button checkFailedButton;
50 private System.Windows.Forms.Button clearAllButton;50 private System.Windows.Forms.MenuItem treeMenu;
51 private System.Windows.Forms.Button checkFailedButton;51 private System.Windows.Forms.MenuItem checkBoxesMenuItem;
52 private System.Windows.Forms.MenuItem treeMenu;52 private System.Windows.Forms.MenuItem treeMenuSeparatorItem1;
53 private System.Windows.Forms.MenuItem checkBoxesMenuItem;53 private System.Windows.Forms.MenuItem expandMenuItem;
54 private System.Windows.Forms.MenuItem treeMenuSeparatorItem1;54 private System.Windows.Forms.MenuItem collapseMenuItem;
55 private System.Windows.Forms.MenuItem expandMenuItem;55 private System.Windows.Forms.MenuItem treeMenuSeparatorItem2;
56 private System.Windows.Forms.MenuItem collapseMenuItem;56 private System.Windows.Forms.MenuItem expandAllMenuItem;
57 private System.Windows.Forms.MenuItem treeMenuSeparatorItem2;57 private System.Windows.Forms.MenuItem collapseAllMenuItem;
58 private System.Windows.Forms.MenuItem expandAllMenuItem;58 private System.Windows.Forms.MenuItem hideTestsMenuItem;
59 private System.Windows.Forms.MenuItem collapseAllMenuItem;59 private System.Windows.Forms.MenuItem treeMenuSeparatorItem3;
60 private System.Windows.Forms.MenuItem hideTestsMenuItem;60 private System.Windows.Forms.MenuItem propertiesMenuItem;
61 private System.Windows.Forms.MenuItem treeMenuSeparatorItem3;61 private System.Windows.Forms.CheckBox excludeCheckbox;
62 private System.Windows.Forms.MenuItem propertiesMenuItem;62
63 private System.Windows.Forms.CheckBox excludeCheckbox;63 #endregion
6464 private Panel treePanel;
65 /// <summary> 65 private TestSuiteTreeView tests;
66 /// Required designer variable.66 private Panel FindTestsPanel;
67 /// </summary>67 private PictureBox SearchImageButton;
68 private System.ComponentModel.Container components = null;68 private TextBox TestNameTextBox;
6969 private IContainer components;
70 #endregion70
7171 #region Properties
72 #region Properties72
7373 public MenuItem TreeMenu
74 public MenuItem TreeMenu 74 {
75 {75 get { return treeMenu; }
76 get { return treeMenu; }76 }
77 }77
7878 public string[] SelectedCategories
79 public string[] SelectedCategories79 {
80 {80 get
81 get81 {
82 {82 int n = this.selectedList.Items.Count;
83 int n = this.selectedList.Items.Count;83 string[] categories = new string[n];
84 string[] categories = new string[n];84 for (int i = 0; i < n; i++)
85 for( int i = 0; i < n; i++ )85 categories[i] = this.selectedList.Items[i].ToString();
86 categories[i] = this.selectedList.Items[i].ToString();86 return categories;
87 return categories;87 }
88 }88 }
89 }89
9090 [Browsable(false)]
91 [Browsable(false)]91 public bool ShowCheckBoxes
92 public bool ShowCheckBoxes92 {
93 {93 get { return tests.CheckBoxes; }
94 get { return tests.CheckBoxes; }94 set
95 set 95 {
96 { 96 tests.CheckBoxes = value;
97 tests.CheckBoxes = value;97 buttonPanel.Visible = value;
98 buttonPanel.Visible = value;98 clearAllButton.Visible = value;
99 clearAllButton.Visible = value;99 checkFailedButton.Visible = value;
100 checkFailedButton.Visible = value;100 checkBoxesMenuItem.Checked = value;
101 checkBoxesMenuItem.Checked = value;101 }
102 }102 }
103 }103 #endregion
104 #endregion104
105105 #region Construction and Initialization
106 #region Construction and Initialization106
107107 public TestTree()
108 public TestTree()108 {
109 {109 // This call is required by the Windows.Forms Form Designer.
110 // This call is required by the Windows.Forms Form Designer.110 InitializeComponent();
111 InitializeComponent();111 treeMenu = new MenuItem();
112 treeMenu = new MenuItem();112 this.checkBoxesMenuItem = new System.Windows.Forms.MenuItem();
113 this.checkBoxesMenuItem = new System.Windows.Forms.MenuItem();113 this.treeMenuSeparatorItem1 = new System.Windows.Forms.MenuItem();
114 this.treeMenuSeparatorItem1 = new System.Windows.Forms.MenuItem();114 this.expandMenuItem = new System.Windows.Forms.MenuItem();
115 this.expandMenuItem = new System.Windows.Forms.MenuItem();115 this.collapseMenuItem = new System.Windows.Forms.MenuItem();
116 this.collapseMenuItem = new System.Windows.Forms.MenuItem();116 this.treeMenuSeparatorItem2 = new System.Windows.Forms.MenuItem();
117 this.treeMenuSeparatorItem2 = new System.Windows.Forms.MenuItem();117 this.expandAllMenuItem = new System.Windows.Forms.MenuItem();
118 this.expandAllMenuItem = new System.Windows.Forms.MenuItem();118 this.collapseAllMenuItem = new System.Windows.Forms.MenuItem();
119 this.collapseAllMenuItem = new System.Windows.Forms.MenuItem();119 this.hideTestsMenuItem = new System.Windows.Forms.MenuItem();
120 this.hideTestsMenuItem = new System.Windows.Forms.MenuItem();120 this.treeMenuSeparatorItem3 = new System.Windows.Forms.MenuItem();
121 this.treeMenuSeparatorItem3 = new System.Windows.Forms.MenuItem();121 this.propertiesMenuItem = new System.Windows.Forms.MenuItem();
122 this.propertiesMenuItem = new System.Windows.Forms.MenuItem();122
123123 //
124 // 124 // treeMenu
125 // treeMenu125 //
126 // 126 this.treeMenu.MergeType = MenuMerge.Add;
127 this.treeMenu.MergeType = MenuMerge.Add;127 this.treeMenu.MergeOrder = 1;
128 this.treeMenu.MergeOrder = 1;128 this.treeMenu.MenuItems.AddRange(
129 this.treeMenu.MenuItems.AddRange(129 new System.Windows.Forms.MenuItem[]
130 new System.Windows.Forms.MenuItem[]
131 {130 {
132 this.checkBoxesMenuItem,131 this.checkBoxesMenuItem,
133 this.treeMenuSeparatorItem1,132 this.treeMenuSeparatorItem1,
@@ -139,688 +138,815 @@
139 this.hideTestsMenuItem,138 this.hideTestsMenuItem,
140 this.treeMenuSeparatorItem3,139 this.treeMenuSeparatorItem3,
141 this.propertiesMenuItem 140 this.propertiesMenuItem
142 } );141 });
143 this.treeMenu.Text = "&Tree";142 this.treeMenu.Text = "&Tree";
144 this.treeMenu.Visible = false;143 this.treeMenu.Visible = false;
145 this.treeMenu.Popup += new System.EventHandler(this.treeMenu_Popup);144 this.treeMenu.Popup += new System.EventHandler(this.treeMenu_Popup);
146 // 145 //
147 // checkBoxesMenuItem146 // checkBoxesMenuItem
148 // 147 //
149 this.checkBoxesMenuItem.Index = 0;148 this.checkBoxesMenuItem.Index = 0;
150 this.checkBoxesMenuItem.Text = "Show Check&Boxes";149 this.checkBoxesMenuItem.Text = "Show Check&Boxes";
151 this.checkBoxesMenuItem.Click += new System.EventHandler(this.checkBoxesMenuItem_Click);150 this.checkBoxesMenuItem.Click += new System.EventHandler(this.checkBoxesMenuItem_Click);
152 // 151 //
153 // treeMenuSeparatorItem1152 // treeMenuSeparatorItem1
154 // 153 //
155 this.treeMenuSeparatorItem1.Index = 1;154 this.treeMenuSeparatorItem1.Index = 1;
156 this.treeMenuSeparatorItem1.Text = "-";155 this.treeMenuSeparatorItem1.Text = "-";
157 // 156 //
158 // expandMenuItem157 // expandMenuItem
159 // 158 //
160 this.expandMenuItem.Index = 2;159 this.expandMenuItem.Index = 2;
161 this.expandMenuItem.Text = "&Expand";160 this.expandMenuItem.Text = "&Expand";
162 this.expandMenuItem.Click += new System.EventHandler(this.expandMenuItem_Click);161 this.expandMenuItem.Click += new System.EventHandler(this.expandMenuItem_Click);
163 // 162 //
164 // collapseMenuItem163 // collapseMenuItem
165 // 164 //
166 this.collapseMenuItem.Index = 3;165 this.collapseMenuItem.Index = 3;
167 this.collapseMenuItem.Text = "&Collapse";166 this.collapseMenuItem.Text = "&Collapse";
168 this.collapseMenuItem.Click += new System.EventHandler(this.collapseMenuItem_Click);167 this.collapseMenuItem.Click += new System.EventHandler(this.collapseMenuItem_Click);
169 // 168 //
170 // treeMenuSeparatorItem2169 // treeMenuSeparatorItem2
171 // 170 //
172 this.treeMenuSeparatorItem2.Index = 4;171 this.treeMenuSeparatorItem2.Index = 4;
173 this.treeMenuSeparatorItem2.Text = "-";172 this.treeMenuSeparatorItem2.Text = "-";
174 // 173 //
175 // expandAllMenuItem174 // expandAllMenuItem
176 // 175 //
177 this.expandAllMenuItem.Index = 5;176 this.expandAllMenuItem.Index = 5;
178 this.expandAllMenuItem.Text = "Expand All";177 this.expandAllMenuItem.Text = "Expand All";
179 this.expandAllMenuItem.Click += new System.EventHandler(this.expandAllMenuItem_Click);178 this.expandAllMenuItem.Click += new System.EventHandler(this.expandAllMenuItem_Click);
180 // 179 //
181 // collapseAllMenuItem180 // collapseAllMenuItem
182 // 181 //
183 this.collapseAllMenuItem.Index = 6;182 this.collapseAllMenuItem.Index = 6;
184 this.collapseAllMenuItem.Text = "Collapse All";183 this.collapseAllMenuItem.Text = "Collapse All";
185 this.collapseAllMenuItem.Click += new System.EventHandler(this.collapseAllMenuItem_Click);184 this.collapseAllMenuItem.Click += new System.EventHandler(this.collapseAllMenuItem_Click);
186 // 185 //
187 // hideTestsMenuItem186 // hideTestsMenuItem
188 // 187 //
189 this.hideTestsMenuItem.Index = 7;188 this.hideTestsMenuItem.Index = 7;
190 this.hideTestsMenuItem.Text = "Hide Tests";189 this.hideTestsMenuItem.Text = "Hide Tests";
191 this.hideTestsMenuItem.Click += new System.EventHandler(this.hideTestsMenuItem_Click);190 this.hideTestsMenuItem.Click += new System.EventHandler(this.hideTestsMenuItem_Click);
192 // 191 //
193 // treeMenuSeparatorItem3192 // treeMenuSeparatorItem3
194 // 193 //
195 this.treeMenuSeparatorItem3.Index = 8;194 this.treeMenuSeparatorItem3.Index = 8;
196 this.treeMenuSeparatorItem3.Text = "-";195 this.treeMenuSeparatorItem3.Text = "-";
197 // 196 //
198 // propertiesMenuItem197 // propertiesMenuItem
199 // 198 //
200 this.propertiesMenuItem.Index = 9;199 this.propertiesMenuItem.Index = 9;
201 this.propertiesMenuItem.Text = "&Properties";200 this.propertiesMenuItem.Text = "&Properties";
202 this.propertiesMenuItem.Click += new System.EventHandler(this.propertiesMenuItem_Click);201 this.propertiesMenuItem.Click += new System.EventHandler(this.propertiesMenuItem_Click);
203202
204203
205 tests.SelectedTestChanged += new SelectedTestChangedHandler(tests_SelectedTestChanged);204 tests.SelectedTestChanged += new SelectedTestChangedHandler(tests_SelectedTestChanged);
206 tests.CheckedTestChanged += new CheckedTestChangedHandler(tests_CheckedTestChanged);205 tests.CheckedTestChanged += new CheckedTestChangedHandler(tests_CheckedTestChanged);
207206
208 this.excludeCheckbox.Enabled = false;207 this.excludeCheckbox.Enabled = false;
209 }208
210209 SearchImageButton.Image = new Bitmap(typeof(TestTree), "Images.search.png");
211 protected override void OnLoad(EventArgs e)210 }
212 {211
213 if ( !this.DesignMode )212 protected override void OnLoad(EventArgs e)
214 {213 {
215 this.ShowCheckBoxes = 214 if (!this.DesignMode)
216 Services.UserSettings.GetSetting( "Options.ShowCheckBoxes", false );215 {
217 Initialize( Services.TestLoader );216 this.ShowCheckBoxes =
218 Services.UserSettings.Changed += new SettingsEventHandler(UserSettings_Changed);217 Services.UserSettings.GetSetting("Options.ShowCheckBoxes", false);
219 }218 Initialize(Services.TestLoader);
220219 Services.UserSettings.Changed += new SettingsEventHandler(UserSettings_Changed);
221 base.OnLoad (e);220 }
222 }221
223222 base.OnLoad(e);
224 public void Initialize(TestLoader loader) 223 }
225 {224
226 this.tests.Initialize(loader, loader.Events);225 public void Initialize(TestLoader loader)
227 this.loader = loader;226 {
228 loader.Events.TestLoaded += new NUnit.Util.TestEventHandler(events_TestLoaded);227 this.tests.Initialize(loader, loader.Events);
229 loader.Events.TestReloaded += new NUnit.Util.TestEventHandler(events_TestReloaded);228 this.loader = loader;
230 loader.Events.TestUnloaded += new NUnit.Util.TestEventHandler(events_TestUnloaded);229 loader.Events.TestLoaded += new NUnit.Util.TestEventHandler(events_TestLoaded);
231 }230 loader.Events.TestReloaded += new NUnit.Util.TestEventHandler(events_TestReloaded);
232231 loader.Events.TestUnloaded += new NUnit.Util.TestEventHandler(events_TestUnloaded);
233 public void SelectCategories( string[] categories, bool exclude )232 }
234 {233
235 foreach( string category in categories )234 public void SelectCategories(string[] categories, bool exclude)
236 {235 {
237 if ( availableCategories.Contains( category ) )236 foreach (string category in categories)
238 {237 {
239 if (!selectedList.Items.Contains(category))238 if (availableCategories.Contains(category))
240 {239 {
241 selectedList.Items.Add(category);240 if (!selectedList.Items.Contains(category))
242 }241 {
243 availableList.Items.Remove( category );242 selectedList.Items.Add(category);
244243 }
245 this.excludeCheckbox.Checked = exclude;244 availableList.Items.Remove(category);
246 }245
247 }246 this.excludeCheckbox.Checked = exclude;
248247 }
249 UpdateCategoryFilter();248 }
250 if (this.SelectedCategories.Length > 0)249
251 this.excludeCheckbox.Enabled = true;250 UpdateCategoryFilter();
252 }251 if (this.SelectedCategories.Length > 0)
253252 this.excludeCheckbox.Enabled = true;
254 /// <summary> 253 }
255 /// Clean up any resources being used.254
256 /// </summary>255 /// <summary>
257 protected override void Dispose( bool disposing )256 /// Clean up any resources being used.
258 {257 /// </summary>
259 if( disposing )258 protected override void Dispose(bool disposing)
260 {259 {
261 if(components != null)260 if (disposing)
262 {261 {
263 components.Dispose();262 if (components != null)
264 }263 {
265 }264 components.Dispose();
266 base.Dispose( disposing );265 }
267 }266 }
268267 base.Dispose(disposing);
269 #endregion268 }
270269
271 #region View Menu Handlers270 #endregion
272271
273 private void treeMenu_Popup(object sender, System.EventArgs e)272 #region View Menu Handlers
274 {273
275 TreeNode selectedNode = tests.SelectedNode;274 private void treeMenu_Popup(object sender, System.EventArgs e)
276 if ( selectedNode != null && selectedNode.Nodes.Count > 0 )275 {
277 {276 TreeNode selectedNode = tests.SelectedNode;
278 bool isExpanded = selectedNode.IsExpanded;277 if (selectedNode != null && selectedNode.Nodes.Count > 0)
279 collapseMenuItem.Enabled = isExpanded;278 {
280 expandMenuItem.Enabled = !isExpanded; 279 bool isExpanded = selectedNode.IsExpanded;
281 }280 collapseMenuItem.Enabled = isExpanded;
282 else281 expandMenuItem.Enabled = !isExpanded;
283 {282 }
284 collapseMenuItem.Enabled = expandMenuItem.Enabled = false;283 else
285 }284 {
286 }285 collapseMenuItem.Enabled = expandMenuItem.Enabled = false;
287286 }
288 private void collapseMenuItem_Click(object sender, System.EventArgs e)287 }
289 {288
290 tests.SelectedNode.Collapse();289 private void collapseMenuItem_Click(object sender, System.EventArgs e)
291 }290 {
292291 tests.SelectedNode.Collapse();
293 private void expandMenuItem_Click(object sender, System.EventArgs e)292 }
294 {293
295 tests.SelectedNode.Expand();294 private void expandMenuItem_Click(object sender, System.EventArgs e)
296 }295 {
297296 tests.SelectedNode.Expand();
298 private void collapseAllMenuItem_Click(object sender, System.EventArgs e)297 }
299 {298
300 tests.BeginUpdate();299 private void collapseAllMenuItem_Click(object sender, System.EventArgs e)
301 tests.CollapseAll();300 {
302 tests.EndUpdate();301 tests.BeginUpdate();
303302 tests.CollapseAll();
304 // Compensate for a bug in the underlying control303 tests.EndUpdate();
305 if ( tests.Nodes.Count > 0 )304
306 tests.SelectedNode = tests.Nodes[0]; 305 // Compensate for a bug in the underlying control
307 }306 if (tests.Nodes.Count > 0)
308307 tests.SelectedNode = tests.Nodes[0];
309 private void hideTestsMenuItem_Click(object sender, System.EventArgs e)308 }
310 {309
311 tests.HideTests();310 private void hideTestsMenuItem_Click(object sender, System.EventArgs e)
312 }311 {
313312 tests.HideTests();
314 private void expandAllMenuItem_Click(object sender, System.EventArgs e)313 }
315 {314
316 tests.BeginUpdate();315 private void expandAllMenuItem_Click(object sender, System.EventArgs e)
317 tests.ExpandAll();316 {
318 tests.EndUpdate();317 tests.BeginUpdate();
319 }318 tests.ExpandAll();
320319 tests.EndUpdate();
321 private void propertiesMenuItem_Click(object sender, System.EventArgs e)320 }
322 {321
323 if ( tests.SelectedTest != null )322 private void propertiesMenuItem_Click(object sender, System.EventArgs e)
324 tests.ShowPropertiesDialog( tests.SelectedTest );323 {
325 }324 if (tests.SelectedTest != null)
326325 tests.ShowPropertiesDialog(tests.SelectedTest);
327 #endregion326 }
328327
329 #region Component Designer generated code328 #endregion
330 /// <summary> 329
331 /// Required method for Designer support - do not modify 330 #region Component Designer generated code
332 /// the contents of this method with the code editor.331 /// <summary>
333 /// </summary>332 /// Required method for Designer support - do not modify
334 private void InitializeComponent()333 /// the contents of this method with the code editor.
335 {334 /// </summary>
336 this.tabs = new System.Windows.Forms.TabControl();335 private void InitializeComponent()
337 this.testPage = new System.Windows.Forms.TabPage();336 {
338 this.testPanel = new System.Windows.Forms.Panel();337 this.components = new System.ComponentModel.Container();
339 this.treePanel = new System.Windows.Forms.Panel();338 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TestTree));
340 this.tests = new NUnit.UiKit.TestSuiteTreeView();339 this.tabs = new System.Windows.Forms.TabControl();
341 this.buttonPanel = new System.Windows.Forms.Panel();340 this.testPage = new System.Windows.Forms.TabPage();
342 this.checkFailedButton = new System.Windows.Forms.Button();341 this.testPanel = new System.Windows.Forms.Panel();
343 this.clearAllButton = new System.Windows.Forms.Button();342 this.treePanel = new System.Windows.Forms.Panel();
344 this.categoryPage = new System.Windows.Forms.TabPage();343 this.FindTestsPanel = new System.Windows.Forms.Panel();
345 this.categoryPanel = new System.Windows.Forms.Panel();344 this.SearchImageButton = new System.Windows.Forms.PictureBox();
346 this.categoryButtonPanel = new System.Windows.Forms.Panel();345 this.TestNameTextBox = new System.Windows.Forms.TextBox();
347 this.removeCategory = new System.Windows.Forms.Button();346 this.buttonPanel = new System.Windows.Forms.Panel();
348 this.addCategory = new System.Windows.Forms.Button();347 this.checkFailedButton = new System.Windows.Forms.Button();
349 this.selectedCategories = new System.Windows.Forms.GroupBox();348 this.clearAllButton = new System.Windows.Forms.Button();
350 this.selectedList = new System.Windows.Forms.ListBox();349 this.categoryPage = new System.Windows.Forms.TabPage();
351 this.excludeCheckbox = new System.Windows.Forms.CheckBox();350 this.categoryPanel = new System.Windows.Forms.Panel();
352 this.groupBox1 = new System.Windows.Forms.GroupBox();351 this.categoryButtonPanel = new System.Windows.Forms.Panel();
353 this.availableList = new System.Windows.Forms.ListBox();352 this.removeCategory = new System.Windows.Forms.Button();
354 this.tabs.SuspendLayout();353 this.addCategory = new System.Windows.Forms.Button();
355 this.testPage.SuspendLayout();354 this.selectedCategories = new System.Windows.Forms.GroupBox();
356 this.testPanel.SuspendLayout();355 this.selectedList = new System.Windows.Forms.ListBox();
357 this.treePanel.SuspendLayout();356 this.excludeCheckbox = new System.Windows.Forms.CheckBox();
358 this.buttonPanel.SuspendLayout();357 this.groupBox1 = new System.Windows.Forms.GroupBox();
359 this.categoryPage.SuspendLayout();358 this.availableList = new System.Windows.Forms.ListBox();
360 this.categoryPanel.SuspendLayout();359 this.tests = new NUnit.UiKit.TestSuiteTreeView();
361 this.categoryButtonPanel.SuspendLayout();360 this.tabs.SuspendLayout();
362 this.selectedCategories.SuspendLayout();361 this.testPage.SuspendLayout();
363 this.groupBox1.SuspendLayout();362 this.testPanel.SuspendLayout();
364 this.SuspendLayout();363 this.treePanel.SuspendLayout();
365 // 364 this.FindTestsPanel.SuspendLayout();
366 // tabs365 ((System.ComponentModel.ISupportInitialize)(this.SearchImageButton)).BeginInit();
367 // 366 this.buttonPanel.SuspendLayout();
368 this.tabs.Alignment = System.Windows.Forms.TabAlignment.Left;367 this.categoryPage.SuspendLayout();
369 this.tabs.Controls.Add(this.testPage);368 this.categoryPanel.SuspendLayout();
370 this.tabs.Controls.Add(this.categoryPage);369 this.categoryButtonPanel.SuspendLayout();
371 this.tabs.Dock = System.Windows.Forms.DockStyle.Fill;370 this.selectedCategories.SuspendLayout();
372 this.tabs.Location = new System.Drawing.Point(0, 0);371 this.groupBox1.SuspendLayout();
373 this.tabs.Multiline = true;372 this.SuspendLayout();
374 this.tabs.Name = "tabs";373 //
375 this.tabs.SelectedIndex = 0;374 // tabs
376 this.tabs.Size = new System.Drawing.Size(248, 496);375 //
377 this.tabs.TabIndex = 0;376 this.tabs.Alignment = System.Windows.Forms.TabAlignment.Left;
378 // 377 this.tabs.Controls.Add(this.testPage);
379 // testPage378 this.tabs.Controls.Add(this.categoryPage);
380 // 379 this.tabs.Dock = System.Windows.Forms.DockStyle.Fill;
381 this.testPage.Controls.Add(this.testPanel);380 this.tabs.Location = new System.Drawing.Point(0, 0);
382 this.testPage.Location = new System.Drawing.Point(25, 4);381 this.tabs.Multiline = true;
383 this.testPage.Name = "testPage";382 this.tabs.Name = "tabs";
384 this.testPage.Size = new System.Drawing.Size(219, 488);383 this.tabs.SelectedIndex = 0;
385 this.testPage.TabIndex = 0;384 this.tabs.Size = new System.Drawing.Size(248, 496);
386 this.testPage.Text = "Tests";385 this.tabs.TabIndex = 0;
387 // 386 //
388 // testPanel387 // testPage
389 // 388 //
390 this.testPanel.Controls.Add(this.treePanel);389 this.testPage.Controls.Add(this.testPanel);
391 this.testPanel.Controls.Add(this.buttonPanel);390 this.testPage.Location = new System.Drawing.Point(23, 4);
392 this.testPanel.Dock = System.Windows.Forms.DockStyle.Fill;391 this.testPage.Name = "testPage";
393 this.testPanel.Location = new System.Drawing.Point(0, 0);392 this.testPage.Size = new System.Drawing.Size(221, 488);
394 this.testPanel.Name = "testPanel";393 this.testPage.TabIndex = 0;
395 this.testPanel.Size = new System.Drawing.Size(219, 488);394 this.testPage.Text = "Tests";
396 this.testPanel.TabIndex = 0;395 //
397 // 396 // testPanel
398 // treePanel397 //
399 // 398 this.testPanel.Controls.Add(this.treePanel);
400 this.treePanel.Controls.Add(this.tests);399 this.testPanel.Controls.Add(this.FindTestsPanel);
401 this.treePanel.Dock = System.Windows.Forms.DockStyle.Fill;400 this.testPanel.Controls.Add(this.buttonPanel);
402 this.treePanel.Location = new System.Drawing.Point(0, 0);401 this.testPanel.Dock = System.Windows.Forms.DockStyle.Fill;
403 this.treePanel.Name = "treePanel";402 this.testPanel.Location = new System.Drawing.Point(0, 0);
404 this.treePanel.Size = new System.Drawing.Size(219, 448);403 this.testPanel.Name = "testPanel";
405 this.treePanel.TabIndex = 0;404 this.testPanel.Size = new System.Drawing.Size(221, 488);
406 // 405 this.testPanel.TabIndex = 0;
407 // tests406 //
408 // 407 // treePanel
409 this.tests.AllowDrop = true;408 //
410 this.tests.Dock = System.Windows.Forms.DockStyle.Fill;409 this.treePanel.Controls.Add(this.tests);
411 this.tests.HideSelection = false;410 this.treePanel.Dock = System.Windows.Forms.DockStyle.Fill;
412 this.tests.Location = new System.Drawing.Point(0, 0);411 this.treePanel.Location = new System.Drawing.Point(0, 27);
413 this.tests.Name = "tests";412 this.treePanel.Name = "treePanel";
414 this.tests.Size = new System.Drawing.Size(219, 448);413 this.treePanel.Size = new System.Drawing.Size(221, 421);
415 this.tests.TabIndex = 0;414 this.treePanel.TabIndex = 3;
416 this.tests.CheckBoxesChanged += new System.EventHandler(this.tests_CheckBoxesChanged);415 //
417 // 416 // FindTestsPanel
418 // buttonPanel417 //
419 // 418 this.FindTestsPanel.Controls.Add(this.SearchImageButton);
420 this.buttonPanel.Controls.Add(this.checkFailedButton);419 this.FindTestsPanel.Controls.Add(this.TestNameTextBox);
421 this.buttonPanel.Controls.Add(this.clearAllButton);420 this.FindTestsPanel.Dock = System.Windows.Forms.DockStyle.Top;
422 this.buttonPanel.Dock = System.Windows.Forms.DockStyle.Bottom;421 this.FindTestsPanel.Location = new System.Drawing.Point(0, 0);
423 this.buttonPanel.Location = new System.Drawing.Point(0, 448);422 this.FindTestsPanel.Name = "FindTestsPanel";
424 this.buttonPanel.Name = "buttonPanel";423 this.FindTestsPanel.Size = new System.Drawing.Size(221, 27);
425 this.buttonPanel.Size = new System.Drawing.Size(219, 40);424 this.FindTestsPanel.TabIndex = 2;
426 this.buttonPanel.TabIndex = 1;425 //
427 // 426 // SearchImageButton
428 // checkFailedButton427 //
429 // 428 this.SearchImageButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
430 this.checkFailedButton.Anchor = System.Windows.Forms.AnchorStyles.Top;429 | System.Windows.Forms.AnchorStyles.Right)));
431 this.checkFailedButton.Location = new System.Drawing.Point(117, 8);430 this.SearchImageButton.Location = new System.Drawing.Point(196, 3);
432 this.checkFailedButton.Name = "checkFailedButton";431 this.SearchImageButton.Name = "SearchImageButton";
433 this.checkFailedButton.Size = new System.Drawing.Size(96, 23);432 this.SearchImageButton.Size = new System.Drawing.Size(22, 20);
434 this.checkFailedButton.TabIndex = 1;433 this.SearchImageButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
435 this.checkFailedButton.Text = "Check Failed";434 this.SearchImageButton.TabIndex = 1;
436 this.checkFailedButton.Click += new System.EventHandler(this.checkFailedButton_Click);435 this.SearchImageButton.TabStop = false;
437 // 436 this.SearchImageButton.Click += new System.EventHandler(this.SearchImageButton_Click);
438 // clearAllButton437 //
439 // 438 // TestNameTextBox
440 this.clearAllButton.Anchor = System.Windows.Forms.AnchorStyles.Top;439 //
441 this.clearAllButton.Location = new System.Drawing.Point(13, 8);440 this.TestNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
442 this.clearAllButton.Name = "clearAllButton";441 | System.Windows.Forms.AnchorStyles.Left)
443 this.clearAllButton.Size = new System.Drawing.Size(96, 23);442 | System.Windows.Forms.AnchorStyles.Right)));
444 this.clearAllButton.TabIndex = 0;443 this.TestNameTextBox.Location = new System.Drawing.Point(0, 3);
445 this.clearAllButton.Text = "Clear All";444 this.TestNameTextBox.Name = "TestNameTextBox";
446 this.clearAllButton.Click += new System.EventHandler(this.clearAllButton_Click);445 this.TestNameTextBox.Size = new System.Drawing.Size(192, 20);
447 // 446 this.TestNameTextBox.TabIndex = 0;
448 // categoryPage447 this.TestNameTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TestNameTextBox_KeyDown);
449 // 448 //
450 this.categoryPage.Controls.Add(this.categoryPanel);449 // buttonPanel
451 this.categoryPage.Location = new System.Drawing.Point(25, 4);450 //
452 this.categoryPage.Name = "categoryPage";451 this.buttonPanel.Controls.Add(this.checkFailedButton);
453 this.categoryPage.Size = new System.Drawing.Size(219, 488);452 this.buttonPanel.Controls.Add(this.clearAllButton);
454 this.categoryPage.TabIndex = 1;453 this.buttonPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
455 this.categoryPage.Text = "Categories";454 this.buttonPanel.Location = new System.Drawing.Point(0, 448);
456 // 455 this.buttonPanel.Name = "buttonPanel";
457 // categoryPanel456 this.buttonPanel.Size = new System.Drawing.Size(221, 40);
458 // 457 this.buttonPanel.TabIndex = 1;
459 this.categoryPanel.Controls.Add(this.categoryButtonPanel);458 //
460 this.categoryPanel.Controls.Add(this.selectedCategories);459 // checkFailedButton
461 this.categoryPanel.Controls.Add(this.groupBox1);460 //
462 this.categoryPanel.Dock = System.Windows.Forms.DockStyle.Fill;461 this.checkFailedButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
463 this.categoryPanel.Location = new System.Drawing.Point(0, 0);462 this.checkFailedButton.Location = new System.Drawing.Point(118, 8);
464 this.categoryPanel.Name = "categoryPanel";463 this.checkFailedButton.Name = "checkFailedButton";
465 this.categoryPanel.Size = new System.Drawing.Size(219, 488);464 this.checkFailedButton.Size = new System.Drawing.Size(96, 23);
466 this.categoryPanel.TabIndex = 0;465 this.checkFailedButton.TabIndex = 1;
467 // 466 this.checkFailedButton.Text = "Check Failed";
468 // categoryButtonPanel467 this.checkFailedButton.Click += new System.EventHandler(this.checkFailedButton_Click);
469 // 468 //
470 this.categoryButtonPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 469 // clearAllButton
471 | System.Windows.Forms.AnchorStyles.Right)));470 //
472 this.categoryButtonPanel.Controls.Add(this.removeCategory);471 this.clearAllButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
473 this.categoryButtonPanel.Controls.Add(this.addCategory);472 this.clearAllButton.Location = new System.Drawing.Point(14, 8);
474 this.categoryButtonPanel.Location = new System.Drawing.Point(8, 280);473 this.clearAllButton.Name = "clearAllButton";
475 this.categoryButtonPanel.Name = "categoryButtonPanel";474 this.clearAllButton.Size = new System.Drawing.Size(96, 23);
476 this.categoryButtonPanel.Size = new System.Drawing.Size(203, 40);475 this.clearAllButton.TabIndex = 0;
477 this.categoryButtonPanel.TabIndex = 1;476 this.clearAllButton.Text = "Clear All";
478 // 477 this.clearAllButton.Click += new System.EventHandler(this.clearAllButton_Click);
479 // removeCategory478 //
480 // 479 // categoryPage
481 this.removeCategory.Anchor = System.Windows.Forms.AnchorStyles.Top;480 //
482 this.removeCategory.Location = new System.Drawing.Point(109, 8);481 this.categoryPage.Controls.Add(this.categoryPanel);
483 this.removeCategory.Name = "removeCategory";482 this.categoryPage.Location = new System.Drawing.Point(23, 4);
484 this.removeCategory.TabIndex = 1;483 this.categoryPage.Name = "categoryPage";
485 this.removeCategory.Text = "Remove";484 this.categoryPage.Size = new System.Drawing.Size(221, 488);
486 this.removeCategory.Click += new System.EventHandler(this.removeCategory_Click);485 this.categoryPage.TabIndex = 1;
487 // 486 this.categoryPage.Text = "Categories";
488 // addCategory487 //
489 // 488 // categoryPanel
490 this.addCategory.Anchor = System.Windows.Forms.AnchorStyles.Top;489 //
491 this.addCategory.Location = new System.Drawing.Point(21, 8);490 this.categoryPanel.Controls.Add(this.categoryButtonPanel);
492 this.addCategory.Name = "addCategory";491 this.categoryPanel.Controls.Add(this.selectedCategories);
493 this.addCategory.TabIndex = 0;492 this.categoryPanel.Controls.Add(this.groupBox1);
494 this.addCategory.Text = "Add";493 this.categoryPanel.Dock = System.Windows.Forms.DockStyle.Fill;
495 this.addCategory.Click += new System.EventHandler(this.addCategory_Click);494 this.categoryPanel.Location = new System.Drawing.Point(0, 0);
496 // 495 this.categoryPanel.Name = "categoryPanel";
497 // selectedCategories496 this.categoryPanel.Size = new System.Drawing.Size(221, 488);
498 // 497 this.categoryPanel.TabIndex = 0;
499 this.selectedCategories.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 498 //
500 | System.Windows.Forms.AnchorStyles.Right)));499 // categoryButtonPanel
501 this.selectedCategories.Controls.Add(this.selectedList);500 //
502 this.selectedCategories.Controls.Add(this.excludeCheckbox);501 this.categoryButtonPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
503 this.selectedCategories.Location = new System.Drawing.Point(8, 328);502 | System.Windows.Forms.AnchorStyles.Right)));
504 this.selectedCategories.Name = "selectedCategories";503 this.categoryButtonPanel.Controls.Add(this.removeCategory);
505 this.selectedCategories.Size = new System.Drawing.Size(203, 144);504 this.categoryButtonPanel.Controls.Add(this.addCategory);
506 this.selectedCategories.TabIndex = 2;505 this.categoryButtonPanel.Location = new System.Drawing.Point(8, 280);
507 this.selectedCategories.TabStop = false;506 this.categoryButtonPanel.Name = "categoryButtonPanel";
508 this.selectedCategories.Text = "Selected Categories";507 this.categoryButtonPanel.Size = new System.Drawing.Size(205, 40);
509 // 508 this.categoryButtonPanel.TabIndex = 1;
510 // selectedList509 //
511 // 510 // removeCategory
512 this.selectedList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 511 //
513 | System.Windows.Forms.AnchorStyles.Left) 512 this.removeCategory.Anchor = System.Windows.Forms.AnchorStyles.Top;
514 | System.Windows.Forms.AnchorStyles.Right)));513 this.removeCategory.Location = new System.Drawing.Point(110, 8);
515 this.selectedList.ItemHeight = 16;514 this.removeCategory.Name = "removeCategory";
516 this.selectedList.Location = new System.Drawing.Point(8, 16);515 this.removeCategory.Size = new System.Drawing.Size(75, 23);
517 this.selectedList.Name = "selectedList";516 this.removeCategory.TabIndex = 1;
518 this.selectedList.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;517 this.removeCategory.Text = "Remove";
519 this.selectedList.Size = new System.Drawing.Size(187, 84);518 this.removeCategory.Click += new System.EventHandler(this.removeCategory_Click);
520 this.selectedList.TabIndex = 0;519 //
521 this.selectedList.DoubleClick += new System.EventHandler(this.removeCategory_Click);520 // addCategory
522 // 521 //
523 // excludeCheckbox522 this.addCategory.Anchor = System.Windows.Forms.AnchorStyles.Top;
524 // 523 this.addCategory.Location = new System.Drawing.Point(22, 8);
525 this.excludeCheckbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 524 this.addCategory.Name = "addCategory";
526 | System.Windows.Forms.AnchorStyles.Right)));525 this.addCategory.Size = new System.Drawing.Size(75, 23);
527 this.excludeCheckbox.Location = new System.Drawing.Point(8, 120);526 this.addCategory.TabIndex = 0;
528 this.excludeCheckbox.Name = "excludeCheckbox";527 this.addCategory.Text = "Add";
529 this.excludeCheckbox.Size = new System.Drawing.Size(179, 16);528 this.addCategory.Click += new System.EventHandler(this.addCategory_Click);
530 this.excludeCheckbox.TabIndex = 1;529 //
531 this.excludeCheckbox.Text = "Exclude these categories";530 // selectedCategories
532 this.excludeCheckbox.CheckedChanged += new System.EventHandler(this.excludeCheckbox_CheckedChanged);531 //
533 // 532 this.selectedCategories.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
534 // groupBox1533 | System.Windows.Forms.AnchorStyles.Right)));
535 // 534 this.selectedCategories.Controls.Add(this.selectedList);
536 this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 535 this.selectedCategories.Controls.Add(this.excludeCheckbox);
537 | System.Windows.Forms.AnchorStyles.Left) 536 this.selectedCategories.Location = new System.Drawing.Point(8, 328);
538 | System.Windows.Forms.AnchorStyles.Right)));537 this.selectedCategories.Name = "selectedCategories";
539 this.groupBox1.Controls.Add(this.availableList);538 this.selectedCategories.Size = new System.Drawing.Size(205, 144);
540 this.groupBox1.Location = new System.Drawing.Point(8, 0);539 this.selectedCategories.TabIndex = 2;
541 this.groupBox1.Name = "groupBox1";540 this.selectedCategories.TabStop = false;
542 this.groupBox1.Size = new System.Drawing.Size(203, 272);541 this.selectedCategories.Text = "Selected Categories";
543 this.groupBox1.TabIndex = 0;542 //
544 this.groupBox1.TabStop = false;543 // selectedList
545 this.groupBox1.Text = "Available Categories";544 //
546 // 545 this.selectedList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
547 // availableList546 | System.Windows.Forms.AnchorStyles.Left)
548 // 547 | System.Windows.Forms.AnchorStyles.Right)));
549 this.availableList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 548 this.selectedList.Location = new System.Drawing.Point(8, 16);
550 | System.Windows.Forms.AnchorStyles.Left) 549 this.selectedList.Name = "selectedList";
551 | System.Windows.Forms.AnchorStyles.Right)));550 this.selectedList.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
552 this.availableList.ItemHeight = 16;551 this.selectedList.Size = new System.Drawing.Size(189, 82);
553 this.availableList.Location = new System.Drawing.Point(8, 24);552 this.selectedList.TabIndex = 0;
554 this.availableList.Name = "availableList";553 this.selectedList.DoubleClick += new System.EventHandler(this.removeCategory_Click);
555 this.availableList.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;554 //
556 this.availableList.Size = new System.Drawing.Size(187, 244);555 // excludeCheckbox
557 this.availableList.TabIndex = 0;556 //
558 this.availableList.DoubleClick += new System.EventHandler(this.addCategory_Click);557 this.excludeCheckbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
559 // 558 | System.Windows.Forms.AnchorStyles.Right)));
560 // TestTree559 this.excludeCheckbox.Location = new System.Drawing.Point(8, 120);
561 // 560 this.excludeCheckbox.Name = "excludeCheckbox";
562 this.Controls.Add(this.tabs);561 this.excludeCheckbox.Size = new System.Drawing.Size(181, 16);
563 this.Name = "TestTree";562 this.excludeCheckbox.TabIndex = 1;
564 this.Size = new System.Drawing.Size(248, 496);563 this.excludeCheckbox.Text = "Exclude these categories";
565 this.tabs.ResumeLayout(false);564 this.excludeCheckbox.CheckedChanged += new System.EventHandler(this.excludeCheckbox_CheckedChanged);
566 this.testPage.ResumeLayout(false);565 //
567 this.testPanel.ResumeLayout(false);566 // groupBox1
568 this.treePanel.ResumeLayout(false);567 //
569 this.buttonPanel.ResumeLayout(false);568 this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
570 this.categoryPage.ResumeLayout(false);569 | System.Windows.Forms.AnchorStyles.Left)
571 this.categoryPanel.ResumeLayout(false);570 | System.Windows.Forms.AnchorStyles.Right)));
572 this.categoryButtonPanel.ResumeLayout(false);571 this.groupBox1.Controls.Add(this.availableList);
573 this.selectedCategories.ResumeLayout(false);572 this.groupBox1.Location = new System.Drawing.Point(8, 0);
574 this.groupBox1.ResumeLayout(false);573 this.groupBox1.Name = "groupBox1";
575 this.ResumeLayout(false);574 this.groupBox1.Size = new System.Drawing.Size(205, 272);
576575 this.groupBox1.TabIndex = 0;
577 }576 this.groupBox1.TabStop = false;
578 #endregion577 this.groupBox1.Text = "Available Categories";
579578 //
580 #region SelectedTestsChanged Event579 // availableList
581580 //
582 public event SelectedTestsChangedEventHandler SelectedTestsChanged;581 this.availableList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
583582 | System.Windows.Forms.AnchorStyles.Left)
584 #endregion583 | System.Windows.Forms.AnchorStyles.Right)));
585584 this.availableList.Location = new System.Drawing.Point(8, 24);
586585 this.availableList.Name = "availableList";
587 public void RunAllTests()586 this.availableList.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
588 {587 this.availableList.Size = new System.Drawing.Size(189, 238);
589 RunAllTests(true);588 this.availableList.TabIndex = 0;
590 }589 this.availableList.DoubleClick += new System.EventHandler(this.addCategory_Click);
591590 //
592 public void RunAllTests(bool ignoreTests)591 // tests
593 {592 //
594 tests.RunAllTests(ignoreTests);593 this.tests.AllowDrop = true;
595 }594 this.tests.CategoryFilter = ((NUnit.Core.TestFilter)(resources.GetObject("tests.CategoryFilter")));
596595 this.tests.Dock = System.Windows.Forms.DockStyle.Fill;
597 public void RunSelectedTests()596 this.tests.HideSelection = false;
598 {597 this.tests.ImageIndex = 0;
599 tests.RunSelectedTests();598 this.tests.Location = new System.Drawing.Point(0, 0);
600 }599 this.tests.Name = "tests";
601600 this.tests.SelectedImageIndex = 0;
602 public void RunFailedTests()601 this.tests.Size = new System.Drawing.Size(221, 421);
603 {602 this.tests.TabIndex = 0;
604 tests.RunFailedTests();603 this.tests.CheckBoxesChanged += new System.EventHandler(this.tests_CheckBoxesChanged);
605 }604 //
606605 // TestTree
607 private void addCategory_Click(object sender, System.EventArgs e)606 //
608 {607 this.Controls.Add(this.tabs);
609 if (availableList.SelectedItems.Count > 0) 608 this.Name = "TestTree";
610 {609 this.Size = new System.Drawing.Size(248, 496);
611 // Create a separate list to avoid exception610 this.tabs.ResumeLayout(false);
612 // when using the list box directly.611 this.testPage.ResumeLayout(false);
613 List<string> categories = new List<string>();612 this.testPanel.ResumeLayout(false);
614 foreach ( string category in availableList.SelectedItems ) 613 this.treePanel.ResumeLayout(false);
615 categories.Add(category);614 this.FindTestsPanel.ResumeLayout(false);
616615 this.FindTestsPanel.PerformLayout();
617 foreach ( string category in categories)616 ((System.ComponentModel.ISupportInitialize)(this.SearchImageButton)).EndInit();
618 {617 this.buttonPanel.ResumeLayout(false);
619 selectedList.Items.Add(category);618 this.categoryPage.ResumeLayout(false);
620 availableList.Items.Remove(category);619 this.categoryPanel.ResumeLayout(false);
621 }620 this.categoryButtonPanel.ResumeLayout(false);
622621 this.selectedCategories.ResumeLayout(false);
623 UpdateCategoryFilter();622 this.groupBox1.ResumeLayout(false);
624 if (this.SelectedCategories.Length > 0)623 this.ResumeLayout(false);
625 this.excludeCheckbox.Enabled = true;624
626 }625 }
627 }626 #endregion
628627
629 private void removeCategory_Click(object sender, System.EventArgs e)628 #region SelectedTestsChanged Event
630 {629
631 if (selectedList.SelectedItems.Count > 0) 630 public event SelectedTestsChangedEventHandler SelectedTestsChanged;
632 {631
633 // Create a separate list to avoid exception632 #endregion
634 // when using the list box directly.633
635 List<string> categories = new List<string>();634
636 foreach (string category in selectedList.SelectedItems)635 public void RunAllTests()
637 categories.Add(category);636 {
638637 RunAllTests(true);
639 foreach ( string category in categories )638 }
640 {639
641 selectedList.Items.Remove(category);640 public void RunAllTests(bool ignoreTests)
642 availableList.Items.Add(category);641 {
643 }642 tests.RunAllTests(ignoreTests);
644643 }
645 UpdateCategoryFilter();644
646 if (this.SelectedCategories.Length == 0)645 public void RunSelectedTests()
647 {646 {
648 this.excludeCheckbox.Checked = false;647 tests.RunSelectedTests();
649 this.excludeCheckbox.Enabled = false;648 }
650 }649
651 }650 public void RunFailedTests()
652 }651 {
653652 tests.RunFailedTests();
654 private void clearAllButton_Click(object sender, System.EventArgs e)653 }
655 {654
656 tests.ClearCheckedNodes();655 private void addCategory_Click(object sender, System.EventArgs e)
657 }656 {
658657 if (availableList.SelectedItems.Count > 0)
659 private void checkFailedButton_Click(object sender, System.EventArgs e)658 {
660 {659 // Create a separate list to avoid exception
661 tests.CheckFailedNodes();660 // when using the list box directly.
662 }661 List<string> categories = new List<string>();
663662 foreach (string category in availableList.SelectedItems)
664 private void tests_SelectedTestChanged(ITest test)663 categories.Add(category);
665 {664
666 if (SelectedTestsChanged != null) 665 foreach (string category in categories)
667 {666 {
668 SelectedTestsChangedEventArgs args = new SelectedTestsChangedEventArgs(test.TestName.Name, test.TestCount);667 selectedList.Items.Add(category);
669 SelectedTestsChanged(tests, args);668 availableList.Items.Remove(category);
670 }669 }
671 }670
672671 UpdateCategoryFilter();
673 private void events_TestLoaded(object sender, NUnit.Util.TestEventArgs args)672 if (this.SelectedCategories.Length > 0)
674 { 673 this.excludeCheckbox.Enabled = true;
675 treeMenu.Visible = true;674 }
676675 }
677 availableCategories = this.loader.GetCategories();676
678 availableList.Items.Clear();677 private void removeCategory_Click(object sender, System.EventArgs e)
679 selectedList.Items.Clear();678 {
680 679 if (selectedList.SelectedItems.Count > 0)
681 availableList.SuspendLayout();680 {
682 foreach (string category in availableCategories) 681 // Create a separate list to avoid exception
683 availableList.Items.Add(category);682 // when using the list box directly.
684683 List<string> categories = new List<string>();
685 // tree may have restored visual state684 foreach (string category in selectedList.SelectedItems)
686 if( !tests.CategoryFilter.IsEmpty )685 categories.Add(category);
687 {686
688 ITestFilter filter = tests.CategoryFilter;687 foreach (string category in categories)
689 if ( filter is NUnit.Core.Filters.NotFilter )688 {
690 {689 selectedList.Items.Remove(category);
691 filter = ((NUnit.Core.Filters.NotFilter)filter).BaseFilter;690 availableList.Items.Add(category);
692 this.excludeCheckbox.Checked = true;691 }
693 }692
694693 UpdateCategoryFilter();
695 foreach( string cat in ((NUnit.Core.Filters.CategoryFilter)filter).Categories )694 if (this.SelectedCategories.Length == 0)
696 if ( this.availableCategories.Contains( cat ) )695 {
697 {696 this.excludeCheckbox.Checked = false;
698 this.availableList.Items.Remove( cat );697 this.excludeCheckbox.Enabled = false;
699 this.selectedList.Items.Add( cat );698 }
700 this.excludeCheckbox.Enabled = true;699 }
701 }700 }
702701
703 UpdateCategoryFilter();702 private void clearAllButton_Click(object sender, System.EventArgs e)
704 }703 {
705704 tests.ClearCheckedNodes();
706 availableList.ResumeLayout();705 }
707 }706
708707 private void checkFailedButton_Click(object sender, System.EventArgs e)
709 private void events_TestReloaded(object sender, NUnit.Util.TestEventArgs args)708 {
710 {709 tests.CheckFailedNodes();
711 // Get new list of available categories710 }
712 availableCategories = this.loader.GetCategories();711
713712 private void tests_SelectedTestChanged(ITest test)
714 // Remove any selected items that are no longer available713 {
715 int index = selectedList.Items.Count;714 if (SelectedTestsChanged != null)
716 selectedList.SuspendLayout();715 {
717 while( --index >= 0 )716 SelectedTestsChangedEventArgs args = new SelectedTestsChangedEventArgs(test.TestName.Name, test.TestCount);
718 {717 SelectedTestsChanged(tests, args);
719 string category = selectedList.Items[index].ToString();718 }
720 if ( !availableCategories.Contains( category ) )719 }
721 selectedList.Items.RemoveAt( index );720
722 }721 private void events_TestLoaded(object sender, NUnit.Util.TestEventArgs args)
723 selectedList.ResumeLayout();722 {
724723 treeMenu.Visible = true;
725 // Clear check box if there are no more selected items.724
726 if (selectedList.Items.Count == 0)725 availableCategories = this.loader.GetCategories();
727 excludeCheckbox.Checked = excludeCheckbox.Enabled = false;726 availableList.Items.Clear();
728727 selectedList.Items.Clear();
729 // Put any unselected available items on availableList728
730 availableList.Items.Clear();729 availableList.SuspendLayout();
731 availableList.SuspendLayout();730 foreach (string category in availableCategories)
732 foreach( string category in availableCategories )731 availableList.Items.Add(category);
733 if( selectedList.FindStringExact( category ) < 0 )732
734 availableList.Items.Add( category );733 // tree may have restored visual state
735 availableList.ResumeLayout();734 if (!tests.CategoryFilter.IsEmpty)
736735 {
737 // Tell the tree what is selected736 ITestFilter filter = tests.CategoryFilter;
738 UpdateCategoryFilter();737 if (filter is NUnit.Core.Filters.NotFilter)
739 }738 {
740739 filter = ((NUnit.Core.Filters.NotFilter)filter).BaseFilter;
741 private void excludeCheckbox_CheckedChanged(object sender, System.EventArgs e)740 this.excludeCheckbox.Checked = true;
742 {741 }
743 UpdateCategoryFilter();742
744 }743 foreach (string cat in ((NUnit.Core.Filters.CategoryFilter)filter).Categories)
745744 if (this.availableCategories.Contains(cat))
746 private void events_TestUnloaded(object sender, NUnit.Util.TestEventArgs args)745 {
747 {746 this.availableList.Items.Remove(cat);
748 availableCategories.Clear();747 this.selectedList.Items.Add(cat);
749 availableList.Items.Clear();748 this.excludeCheckbox.Enabled = true;
750 selectedList.Items.Clear();749 }
751 excludeCheckbox.Checked = false;750
752 excludeCheckbox.Enabled = false;751 UpdateCategoryFilter();
753 treeMenu.Visible = false;752 }
754 }753
755754 availableList.ResumeLayout();
756 private void tests_CheckedTestChanged(ITest[] tests)755 }
757 {756
758 if (SelectedTestsChanged != null) 757 private void events_TestReloaded(object sender, NUnit.Util.TestEventArgs args)
759 {758 {
760 SelectedTestsChangedEventArgs args = new SelectedTestsChangedEventArgs("", tests.Length);759 // Get new list of available categories
761 SelectedTestsChanged(tests, args);760 availableCategories = this.loader.GetCategories();
762 }761
763762 // Remove any selected items that are no longer available
764 if (tests.Length > 0) 763 int index = selectedList.Items.Count;
765 {764 selectedList.SuspendLayout();
766 }765 while (--index >= 0)
767 }766 {
768767 string category = selectedList.Items[index].ToString();
769 private void checkBoxesMenuItem_Click(object sender, System.EventArgs e)768 if (!availableCategories.Contains(category))
770 {769 selectedList.Items.RemoveAt(index);
771 Services.UserSettings.SaveSetting( "Options.ShowCheckBoxes", 770 }
772 ShowCheckBoxes = !checkBoxesMenuItem.Checked );771 selectedList.ResumeLayout();
773 772
774 // Temporary till we can save tree state and restore773 // Clear check box if there are no more selected items.
775 //this.SetInitialExpansion();774 if (selectedList.Items.Count == 0)
776 }775 excludeCheckbox.Checked = excludeCheckbox.Enabled = false;
777776
778 private void UpdateCategoryFilter()777 // Put any unselected available items on availableList
779 {778 availableList.Items.Clear();
780 TestFilter catFilter;779 availableList.SuspendLayout();
781780 foreach (string category in availableCategories)
782 if ( SelectedCategories == null || SelectedCategories.Length == 0 )781 if (selectedList.FindStringExact(category) < 0)
783 catFilter = TestFilter.Empty;782 availableList.Items.Add(category);
784 else783 availableList.ResumeLayout();
785 catFilter = new NUnit.Core.Filters.CategoryFilter( SelectedCategories );784
786785 // Tell the tree what is selected
787 if ( excludeCheckbox.Checked )786 UpdateCategoryFilter();
788 catFilter = new NUnit.Core.Filters.NotFilter( catFilter, true );787 }
789788
790 tests.CategoryFilter = catFilter;789 private void excludeCheckbox_CheckedChanged(object sender, System.EventArgs e)
791 }790 {
792791 UpdateCategoryFilter();
793 private void tests_CheckBoxesChanged(object sender, System.EventArgs e)792 }
794 {793
795 ShowCheckBoxes = tests.CheckBoxes;794 private void events_TestUnloaded(object sender, NUnit.Util.TestEventArgs args)
796 }795 {
797796 availableCategories.Clear();
798 private void UserSettings_Changed(object sender, SettingsEventArgs args)797 availableList.Items.Clear();
799 {798 selectedList.Items.Clear();
800 if ( args.SettingName == "Options.ShowCheckBoxes" )799 excludeCheckbox.Checked = false;
801 this.ShowCheckBoxes = Services.UserSettings.GetSetting( args.SettingName, false );800 excludeCheckbox.Enabled = false;
802 }801 treeMenu.Visible = false;
803 }802 }
804803
805 public class SelectedTestsChangedEventArgs : EventArgs 804 private void tests_CheckedTestChanged(ITest[] tests)
806 {805 {
807 private string testName;806 if (SelectedTestsChanged != null)
808 private int count;807 {
809808 SelectedTestsChangedEventArgs args = new SelectedTestsChangedEventArgs("", tests.Length);
810 public SelectedTestsChangedEventArgs(string testName, int count) 809 SelectedTestsChanged(tests, args);
811 {810 }
812 this.testName = testName;811
813 this.count = count;812 if (tests.Length > 0)
814 }813 {
815814 }
816 public string TestName 815 }
817 {816
818 get { return testName; }817 private void checkBoxesMenuItem_Click(object sender, System.EventArgs e)
819 }818 {
820819 Services.UserSettings.SaveSetting("Options.ShowCheckBoxes",
821 public int TestCount 820 ShowCheckBoxes = !checkBoxesMenuItem.Checked);
822 {821
823 get { return count; }822 // Temporary till we can save tree state and restore
824 }823 //this.SetInitialExpansion();
825 }824 }
826}825
826 private void UpdateCategoryFilter()
827 {
828 TestFilter catFilter;
829
830 if (SelectedCategories == null || SelectedCategories.Length == 0)
831 catFilter = TestFilter.Empty;
832 else
833 catFilter = new NUnit.Core.Filters.CategoryFilter(SelectedCategories);
834
835 if (excludeCheckbox.Checked)
836 catFilter = new NUnit.Core.Filters.NotFilter(catFilter, true);
837
838 tests.CategoryFilter = catFilter;
839 }
840
841 private void tests_CheckBoxesChanged(object sender, System.EventArgs e)
842 {
843 ShowCheckBoxes = tests.CheckBoxes;
844 }
845
846 private void UserSettings_Changed(object sender, SettingsEventArgs args)
847 {
848 if (args.SettingName == "Options.ShowCheckBoxes")
849 this.ShowCheckBoxes = Services.UserSettings.GetSetting(args.SettingName, false);
850 }
851
852 private Queue<TreeNode> _testCache = new Queue<TreeNode>();
853
854 private void TestNameTextBox_KeyDown(object sender, KeyEventArgs e)
855 {
856 if (e.KeyCode == Keys.Enter)
857 {
858 e.SuppressKeyPress = true;
859 if (IsFindEnabled())
860 {
861 FindAndHighlightTest();
862 }
863
864 return;
865 }
866
867 if (_testCache.Count >= 1)
868 {
869 _testCache.Clear();
870 }
871 }
872
873 private void SearchImageButton_Click(object sender, EventArgs e)
874 {
875 if (IsFindEnabled())
876 {
877 FindAndHighlightTest();
878 }
879 }
880
881 private bool IsFindEnabled()
882 {
883 return !string.IsNullOrEmpty(TestNameTextBox.Text);
884 }
885
886 private void FindAndHighlightTest()
887 {
888 if (_testCache.Count <= 0)
889 {
890 FindTests();
891 }
892
893 if (_testCache.Count >= 1)
894 {
895 TreeNode selectedNode = _testCache.Dequeue();
896 tests.SelectedNode = selectedNode;
897 _testCache.Enqueue(selectedNode);
898 }
899 else
900 {
901 MessageDisplay messageDisplay = new MessageDisplay();
902 messageDisplay.Info("No tests found with name " + TestNameTextBox.Text);
903 }
904 }
905
906 private void FindTests()
907 {
908 TreeNodeCollection nodes = this.tests.Nodes;
909 foreach (TreeNode treenode in nodes)
910 {
911 FindTestsRecursive(treenode);
912 }
913 }
914
915 private void FindTestsRecursive(TreeNode treeNode)
916 {
917 foreach (TreeNode treenode in treeNode.Nodes)
918 {
919 if (TestNameTextBox.Text.Equals(treenode.Text, StringComparison.CurrentCultureIgnoreCase))
920 {
921 _testCache.Enqueue(treenode);
922 }
923
924 FindTestsRecursive(treenode);
925 }
926 }
927
928
929 }
930
931 public class SelectedTestsChangedEventArgs : EventArgs
932 {
933 private string testName;
934 private int count;
935
936 public SelectedTestsChangedEventArgs(string testName, int count)
937 {
938 this.testName = testName;
939 this.count = count;
940 }
941
942 public string TestName
943 {
944 get { return testName; }
945 }
946
947 public int TestCount
948 {
949 get { return count; }
950 }
951 }
952}
827953
=== modified file 'src/GuiComponents/UiKit/nunit.uikit.build'
--- src/GuiComponents/UiKit/nunit.uikit.build 2012-01-15 00:07:19 +0000
+++ src/GuiComponents/UiKit/nunit.uikit.build 2012-11-06 02:11:19 +0000
@@ -79,6 +79,7 @@
79 <include name="Images/Ellipsis.gif"/>79 <include name="Images/Ellipsis.gif"/>
80 <include name="Images/pinned.gif"/>80 <include name="Images/pinned.gif"/>
81 <include name="Images/unpinned.gif"/>81 <include name="Images/unpinned.gif"/>
82 <include name="Images/search.png" />
82 </patternset>83 </patternset>
8384
84 <patternset id="content-files">85 <patternset id="content-files">
8586
=== modified file 'src/GuiComponents/UiKit/nunit.uikit.dll.csproj'
--- src/GuiComponents/UiKit/nunit.uikit.dll.csproj 2012-08-08 03:34:12 +0000
+++ src/GuiComponents/UiKit/nunit.uikit.dll.csproj 2012-11-06 02:11:19 +0000
@@ -1,403 +1,404 @@
1<?xml version="1.0" encoding="utf-8"?>1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3 <PropertyGroup>3 <PropertyGroup>
4 <ProjectType>Local</ProjectType>4 <ProjectType>Local</ProjectType>
5 <ProductVersion>9.0.30729</ProductVersion>5 <ProductVersion>9.0.30729</ProductVersion>
6 <SchemaVersion>2.0</SchemaVersion>6 <SchemaVersion>2.0</SchemaVersion>
7 <ProjectGuid>{27531BBF-183D-4C3A-935B-D840B9F1A3A4}</ProjectGuid>7 <ProjectGuid>{27531BBF-183D-4C3A-935B-D840B9F1A3A4}</ProjectGuid>
8 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>8 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
9 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>9 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
10 <AssemblyKeyContainerName>10 <AssemblyKeyContainerName>
11 </AssemblyKeyContainerName>11 </AssemblyKeyContainerName>
12 <AssemblyName>nunit.uikit</AssemblyName>12 <AssemblyName>nunit.uikit</AssemblyName>
13 <DefaultClientScript>JScript</DefaultClientScript>13 <DefaultClientScript>JScript</DefaultClientScript>
14 <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>14 <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
15 <DefaultTargetSchema>IE50</DefaultTargetSchema>15 <DefaultTargetSchema>IE50</DefaultTargetSchema>
16 <DelaySign>false</DelaySign>16 <DelaySign>false</DelaySign>
17 <OutputType>Library</OutputType>17 <OutputType>Library</OutputType>
18 <RootNamespace>NUnit.UiKit</RootNamespace>18 <RootNamespace>NUnit.UiKit</RootNamespace>
19 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>19 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
20 <FileUpgradeFlags>20 <FileUpgradeFlags>
21 </FileUpgradeFlags>21 </FileUpgradeFlags>
22 <UpgradeBackupLocation>22 <UpgradeBackupLocation>
23 </UpgradeBackupLocation>23 </UpgradeBackupLocation>
24 <OldToolsVersion>3.5</OldToolsVersion>24 <OldToolsVersion>3.5</OldToolsVersion>
25 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>25 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
26 <PublishUrl>publish\</PublishUrl>26 <PublishUrl>publish\</PublishUrl>
27 <Install>true</Install>27 <Install>true</Install>
28 <InstallFrom>Disk</InstallFrom>28 <InstallFrom>Disk</InstallFrom>
29 <UpdateEnabled>false</UpdateEnabled>29 <UpdateEnabled>false</UpdateEnabled>
30 <UpdateMode>Foreground</UpdateMode>30 <UpdateMode>Foreground</UpdateMode>
31 <UpdateInterval>7</UpdateInterval>31 <UpdateInterval>7</UpdateInterval>
32 <UpdateIntervalUnits>Days</UpdateIntervalUnits>32 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
33 <UpdatePeriodically>false</UpdatePeriodically>33 <UpdatePeriodically>false</UpdatePeriodically>
34 <UpdateRequired>false</UpdateRequired>34 <UpdateRequired>false</UpdateRequired>
35 <MapFileExtensions>true</MapFileExtensions>35 <MapFileExtensions>true</MapFileExtensions>
36 <ApplicationRevision>0</ApplicationRevision>36 <ApplicationRevision>0</ApplicationRevision>
37 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>37 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
38 <IsWebBootstrapper>false</IsWebBootstrapper>38 <IsWebBootstrapper>false</IsWebBootstrapper>
39 <UseApplicationTrust>false</UseApplicationTrust>39 <UseApplicationTrust>false</UseApplicationTrust>
40 <BootstrapperEnabled>true</BootstrapperEnabled>40 <BootstrapperEnabled>true</BootstrapperEnabled>
41 </PropertyGroup>41 </PropertyGroup>
42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
43 <OutputPath>..\..\..\bin\Debug\lib\</OutputPath>43 <OutputPath>..\..\..\bin\Debug\lib\</OutputPath>
44 <BaseAddress>285212672</BaseAddress>44 <BaseAddress>285212672</BaseAddress>
45 <ConfigurationOverrideFile>45 <ConfigurationOverrideFile>
46 </ConfigurationOverrideFile>46 </ConfigurationOverrideFile>
47 <DefineConstants>TRACE;DEBUG;CLR_2_0,NET_2_0,CS_3_0</DefineConstants>47 <DefineConstants>TRACE;DEBUG;CLR_2_0,NET_2_0,CS_3_0</DefineConstants>
48 <DocumentationFile>48 <DocumentationFile>
49 </DocumentationFile>49 </DocumentationFile>
50 <DebugSymbols>true</DebugSymbols>50 <DebugSymbols>true</DebugSymbols>
51 <FileAlignment>4096</FileAlignment>51 <FileAlignment>4096</FileAlignment>
52 <NoWarn>1699</NoWarn>52 <NoWarn>1699</NoWarn>
53 <Optimize>false</Optimize>53 <Optimize>false</Optimize>
54 <RegisterForComInterop>false</RegisterForComInterop>54 <RegisterForComInterop>false</RegisterForComInterop>
55 <RemoveIntegerChecks>false</RemoveIntegerChecks>55 <RemoveIntegerChecks>false</RemoveIntegerChecks>
56 <WarningLevel>4</WarningLevel>56 <WarningLevel>4</WarningLevel>
57 <DebugType>full</DebugType>57 <DebugType>full</DebugType>
58 <ErrorReport>prompt</ErrorReport>58 <ErrorReport>prompt</ErrorReport>
59 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>59 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
60 </PropertyGroup>60 </PropertyGroup>
61 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">61 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
62 <OutputPath>..\..\..\bin\Release\lib\</OutputPath>62 <OutputPath>..\..\..\bin\Release\lib\</OutputPath>
63 <BaseAddress>285212672</BaseAddress>63 <BaseAddress>285212672</BaseAddress>
64 <ConfigurationOverrideFile>64 <ConfigurationOverrideFile>
65 </ConfigurationOverrideFile>65 </ConfigurationOverrideFile>
66 <DefineConstants>TRACE;CLR_2_0,NET_2_0,CS_3_0</DefineConstants>66 <DefineConstants>TRACE;CLR_2_0,NET_2_0,CS_3_0</DefineConstants>
67 <DocumentationFile>67 <DocumentationFile>
68 </DocumentationFile>68 </DocumentationFile>
69 <FileAlignment>4096</FileAlignment>69 <FileAlignment>4096</FileAlignment>
70 <NoWarn>1699</NoWarn>70 <NoWarn>1699</NoWarn>
71 <Optimize>true</Optimize>71 <Optimize>true</Optimize>
72 <RegisterForComInterop>false</RegisterForComInterop>72 <RegisterForComInterop>false</RegisterForComInterop>
73 <RemoveIntegerChecks>false</RemoveIntegerChecks>73 <RemoveIntegerChecks>false</RemoveIntegerChecks>
74 <WarningLevel>4</WarningLevel>74 <WarningLevel>4</WarningLevel>
75 <DebugType>none</DebugType>75 <DebugType>none</DebugType>
76 <ErrorReport>prompt</ErrorReport>76 <ErrorReport>prompt</ErrorReport>
77 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>77 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
78 </PropertyGroup>78 </PropertyGroup>
79 <ItemGroup>79 <ItemGroup>
80 <Reference Include="System">80 <Reference Include="System">
81 <Name>System</Name>81 <Name>System</Name>
82 </Reference>82 </Reference>
83 <Reference Include="System.Data">83 <Reference Include="System.Data">
84 <Name>System.Data</Name>84 <Name>System.Data</Name>
85 </Reference>85 </Reference>
86 <Reference Include="System.Drawing">86 <Reference Include="System.Drawing">
87 <Name>System.Drawing</Name>87 <Name>System.Drawing</Name>
88 </Reference>88 </Reference>
89 <Reference Include="System.Windows.Forms">89 <Reference Include="System.Windows.Forms">
90 <Name>System.Windows.Forms</Name>90 <Name>System.Windows.Forms</Name>
91 </Reference>91 </Reference>
92 <Reference Include="System.Xml">92 <Reference Include="System.Xml">
93 <Name>System.XML</Name>93 <Name>System.XML</Name>
94 </Reference>94 </Reference>
95 <ProjectReference Include="..\..\ClientUtilities\util\nunit.util.dll.csproj">95 <ProjectReference Include="..\..\ClientUtilities\util\nunit.util.dll.csproj">
96 <Name>nunit.util.dll</Name>96 <Name>nunit.util.dll</Name>
97 <Project>{61CE9CE5-943E-44D4-A381-814DC1406767}</Project>97 <Project>{61CE9CE5-943E-44D4-A381-814DC1406767}</Project>
98 <Private>False</Private>98 <Private>False</Private>
99 </ProjectReference>99 </ProjectReference>
100 <ProjectReference Include="..\..\NUnitCore\core\nunit.core.dll.csproj">100 <ProjectReference Include="..\..\NUnitCore\core\nunit.core.dll.csproj">
101 <Project>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</Project>101 <Project>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</Project>
102 <Name>nunit.core.dll</Name>102 <Name>nunit.core.dll</Name>
103 <Private>False</Private>103 <Private>False</Private>
104 </ProjectReference>104 </ProjectReference>
105 <ProjectReference Include="..\..\NUnitCore\interfaces\nunit.core.interfaces.dll.csproj">105 <ProjectReference Include="..\..\NUnitCore\interfaces\nunit.core.interfaces.dll.csproj">
106 <Name>nunit.core.interfaces.dll</Name>106 <Name>nunit.core.interfaces.dll</Name>
107 <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project>107 <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project>
108 <Private>False</Private>108 <Private>False</Private>
109 </ProjectReference>109 </ProjectReference>
110 <ProjectReference Include="..\..\GuiException\UiException\nunit.uiexception.dll.csproj">110 <ProjectReference Include="..\..\GuiException\UiException\nunit.uiexception.dll.csproj">
111 <Project>{3E87A106-EB20-4147-84C8-95B0BB43A1D4}</Project>111 <Project>{3E87A106-EB20-4147-84C8-95B0BB43A1D4}</Project>
112 <Name>nunit.uiexception.dll</Name>112 <Name>nunit.uiexception.dll</Name>
113 <Private>False</Private>113 <Private>False</Private>
114 </ProjectReference>114 </ProjectReference>
115 </ItemGroup>115 </ItemGroup>
116 <ItemGroup>116 <ItemGroup>
117 <Compile Include="..\..\CommonAssemblyInfo.cs">117 <Compile Include="..\..\CommonAssemblyInfo.cs">
118 <Link>CommonAssemblyInfo.cs</Link>118 <Link>CommonAssemblyInfo.cs</Link>
119 </Compile>119 </Compile>
120 <Compile Include="AddConfigurationDialog.cs">120 <Compile Include="AddConfigurationDialog.cs">
121 <SubType>Form</SubType>121 <SubType>Form</SubType>
122 </Compile>122 </Compile>
123 <Compile Include="AddTabPageDialog.cs">123 <Compile Include="AddTabPageDialog.cs">
124 <SubType>Form</SubType>124 <SubType>Form</SubType>
125 </Compile>125 </Compile>
126 <Compile Include="AppContainer.cs" />126 <Compile Include="AppContainer.cs" />
127 <Compile Include="AssemblyInfo.cs" />127 <Compile Include="AssemblyInfo.cs" />
128 <Compile Include="ConfigurationEditor.cs">128 <Compile Include="ConfigurationEditor.cs">
129 <SubType>Form</SubType>129 <SubType>Form</SubType>
130 </Compile>130 </Compile>
131 <Compile Include="EditTabPagesDialog.cs">131 <Compile Include="EditTabPagesDialog.cs">
132 <SubType>Form</SubType>132 <SubType>Form</SubType>
133 </Compile>133 </Compile>
134 <Compile Include="ErrorDisplay.cs">134 <Compile Include="ErrorDisplay.cs">
135 <SubType>UserControl</SubType>135 <SubType>UserControl</SubType>
136 </Compile>136 </Compile>
137 <Compile Include="ExpandingLabel.cs">137 <Compile Include="ExpandingLabel.cs">
138 <SubType>Component</SubType>138 <SubType>Component</SubType>
139 </Compile>139 </Compile>
140 <Compile Include="ExpandingTextBox.cs">140 <Compile Include="ExpandingTextBox.cs">
141 <SubType>Component</SubType>141 <SubType>Component</SubType>
142 </Compile>142 </Compile>
143 <Compile Include="GuiAttachedConsole.cs" />143 <Compile Include="GuiAttachedConsole.cs" />
144 <Compile Include="GuiTestEventDispatcher.cs" />144 <Compile Include="GuiTestEventDispatcher.cs" />
145 <Compile Include="IMessageDisplay.cs" />145 <Compile Include="IMessageDisplay.cs" />
146 <Compile Include="LongRunningOperationDisplay.cs">146 <Compile Include="LongRunningOperationDisplay.cs">
147 <SubType>Form</SubType>147 <SubType>Form</SubType>
148 </Compile>148 </Compile>
149 <Compile Include="NotRunTree.cs">149 <Compile Include="NotRunTree.cs">
150 <SubType>Component</SubType>150 <SubType>Component</SubType>
151 </Compile>151 </Compile>
152 <Compile Include="NUnitFormBase.cs">152 <Compile Include="NUnitFormBase.cs">
153 <SubType>Form</SubType>153 <SubType>Form</SubType>
154 </Compile>154 </Compile>
155 <Compile Include="ProgressBar.cs">155 <Compile Include="ProgressBar.cs">
156 <SubType>Component</SubType>156 <SubType>Component</SubType>
157 </Compile>157 </Compile>
158 <Compile Include="RenameConfigurationDialog.cs">158 <Compile Include="RenameConfigurationDialog.cs">
159 <SubType>Form</SubType>159 <SubType>Form</SubType>
160 </Compile>160 </Compile>
161 <Compile Include="ResultTabs.cs">161 <Compile Include="ResultTabs.cs">
162 <SubType>UserControl</SubType>162 <SubType>UserControl</SubType>
163 </Compile>163 </Compile>
164 <Compile Include="ScrollingTextDisplayForm.cs">164 <Compile Include="ScrollingTextDisplayForm.cs">
165 <SubType>Form</SubType>165 <SubType>Form</SubType>
166 </Compile>166 </Compile>
167 <Compile Include="SettingsDialogBase.cs">167 <Compile Include="SettingsDialogBase.cs">
168 <SubType>Form</SubType>168 <SubType>Form</SubType>
169 </Compile>169 </Compile>
170 <Compile Include="SettingsPage.cs">170 <Compile Include="SettingsPage.cs">
171 <SubType>UserControl</SubType>171 <SubType>UserControl</SubType>
172 </Compile>172 </Compile>
173 <Compile Include="SimpleSettingsDialog.cs">173 <Compile Include="SimpleSettingsDialog.cs">
174 <SubType>Form</SubType>174 <SubType>Form</SubType>
175 </Compile>175 </Compile>
176 <Compile Include="StatusBar.cs">176 <Compile Include="StatusBar.cs">
177 <SubType>Component</SubType>177 <SubType>Component</SubType>
178 </Compile>178 </Compile>
179 <Compile Include="TabbedSettingsDialog.cs">179 <Compile Include="TabbedSettingsDialog.cs">
180 <SubType>Form</SubType>180 <SubType>Form</SubType>
181 </Compile>181 </Compile>
182 <Compile Include="TestPropertiesDialog.cs">182 <Compile Include="TestPropertiesDialog.cs">
183 <SubType>Form</SubType>183 <SubType>Form</SubType>
184 </Compile>184 </Compile>
185 <Compile Include="TestPropertiesDialog.Designer.cs">185 <Compile Include="TestPropertiesDialog.Designer.cs">
186 <DependentUpon>TestPropertiesDialog.cs</DependentUpon>186 <DependentUpon>TestPropertiesDialog.cs</DependentUpon>
187 </Compile>187 </Compile>
188 <Compile Include="TestSuiteTreeNode.cs" />188 <Compile Include="TestSuiteTreeNode.cs" />
189 <Compile Include="TestSuiteTreeView.cs">189 <Compile Include="TestSuiteTreeView.cs">
190 <SubType>Component</SubType>190 <SubType>Component</SubType>
191 </Compile>191 </Compile>
192 <Compile Include="TestTree.cs">192 <Compile Include="TestTree.cs">
193 <SubType>UserControl</SubType>193 <SubType>UserControl</SubType>
194 </Compile>194 </Compile>
195 <Compile Include="TextBoxDisplay.cs">195 <Compile Include="TextBoxDisplay.cs">
196 <SubType>Component</SubType>196 <SubType>Component</SubType>
197 </Compile>197 </Compile>
198 <Compile Include="TextDisplayContent.cs" />198 <Compile Include="TextDisplayContent.cs" />
199 <Compile Include="TextDisplay.cs" />199 <Compile Include="TextDisplay.cs" />
200 <Compile Include="TextDisplayTabPage.cs">200 <Compile Include="TextDisplayTabPage.cs">
201 <SubType>Component</SubType>201 <SubType>Component</SubType>
202 </Compile>202 </Compile>
203 <Compile Include="TextDisplayTabSettings.cs" />203 <Compile Include="TextDisplayTabSettings.cs" />
204 <Compile Include="TextDisplayWriter.cs" />204 <Compile Include="TextDisplayWriter.cs" />
205 <Compile Include="TextOutputSettingsPage.cs">205 <Compile Include="TextOutputSettingsPage.cs">
206 <SubType>UserControl</SubType>206 <SubType>UserControl</SubType>
207 </Compile>207 </Compile>
208 <Compile Include="TipWindow.cs">208 <Compile Include="TipWindow.cs">
209 <SubType>Form</SubType>209 <SubType>Form</SubType>
210 </Compile>210 </Compile>
211 <Compile Include="TreeBasedSettingsDialog.cs">211 <Compile Include="TreeBasedSettingsDialog.cs">
212 <SubType>Form</SubType>212 <SubType>Form</SubType>
213 </Compile>213 </Compile>
214 <Compile Include="MessageDisplay.cs" />214 <Compile Include="MessageDisplay.cs" />
215 <Compile Include="VisualState.cs" />215 <Compile Include="VisualState.cs" />
216 <Compile Include="WaitCursor.cs" />216 <Compile Include="WaitCursor.cs" />
217 </ItemGroup>217 </ItemGroup>
218 <ItemGroup>218 <ItemGroup>
219 <EmbeddedResource Include="AddConfigurationDialog.resx">219 <EmbeddedResource Include="AddConfigurationDialog.resx">
220 <DependentUpon>AddConfigurationDialog.cs</DependentUpon>220 <DependentUpon>AddConfigurationDialog.cs</DependentUpon>
221 <SubType>Designer</SubType>221 <SubType>Designer</SubType>
222 </EmbeddedResource>222 </EmbeddedResource>
223 <EmbeddedResource Include="AddTabPageDialog.resx">223 <EmbeddedResource Include="AddTabPageDialog.resx">
224 <DependentUpon>AddTabPageDialog.cs</DependentUpon>224 <DependentUpon>AddTabPageDialog.cs</DependentUpon>
225 <SubType>Designer</SubType>225 <SubType>Designer</SubType>
226 </EmbeddedResource>226 </EmbeddedResource>
227 <EmbeddedResource Include="ConfigurationEditor.resx">227 <EmbeddedResource Include="ConfigurationEditor.resx">
228 <DependentUpon>ConfigurationEditor.cs</DependentUpon>228 <DependentUpon>ConfigurationEditor.cs</DependentUpon>
229 <SubType>Designer</SubType>229 <SubType>Designer</SubType>
230 </EmbeddedResource>230 </EmbeddedResource>
231 <EmbeddedResource Include="EditTabPagesDialog.resx">231 <EmbeddedResource Include="EditTabPagesDialog.resx">
232 <DependentUpon>EditTabPagesDialog.cs</DependentUpon>232 <DependentUpon>EditTabPagesDialog.cs</DependentUpon>
233 <SubType>Designer</SubType>233 <SubType>Designer</SubType>
234 </EmbeddedResource>234 </EmbeddedResource>
235 <EmbeddedResource Include="ErrorDisplay.resx">235 <EmbeddedResource Include="ErrorDisplay.resx">
236 <DependentUpon>ErrorDisplay.cs</DependentUpon>236 <DependentUpon>ErrorDisplay.cs</DependentUpon>
237 <SubType>Designer</SubType>237 <SubType>Designer</SubType>
238 </EmbeddedResource>238 </EmbeddedResource>
239 <EmbeddedResource Include="ExpandingLabel.resx">239 <EmbeddedResource Include="ExpandingLabel.resx">
240 <DependentUpon>ExpandingLabel.cs</DependentUpon>240 <DependentUpon>ExpandingLabel.cs</DependentUpon>
241 <SubType>Designer</SubType>241 <SubType>Designer</SubType>
242 </EmbeddedResource>242 </EmbeddedResource>
243 <EmbeddedResource Include="ExpandingTextBox.resx">243 <EmbeddedResource Include="ExpandingTextBox.resx">
244 <DependentUpon>ExpandingTextBox.cs</DependentUpon>244 <DependentUpon>ExpandingTextBox.cs</DependentUpon>
245 <SubType>Designer</SubType>245 <SubType>Designer</SubType>
246 </EmbeddedResource>246 </EmbeddedResource>
247 <EmbeddedResource Include="LongRunningOperationDisplay.resx">247 <EmbeddedResource Include="LongRunningOperationDisplay.resx">
248 <DependentUpon>LongRunningOperationDisplay.cs</DependentUpon>248 <DependentUpon>LongRunningOperationDisplay.cs</DependentUpon>
249 <SubType>Designer</SubType>249 <SubType>Designer</SubType>
250 </EmbeddedResource>250 </EmbeddedResource>
251 <EmbeddedResource Include="NotRunTree.resx">251 <EmbeddedResource Include="NotRunTree.resx">
252 <DependentUpon>NotRunTree.cs</DependentUpon>252 <DependentUpon>NotRunTree.cs</DependentUpon>
253 <SubType>Designer</SubType>253 <SubType>Designer</SubType>
254 </EmbeddedResource>254 </EmbeddedResource>
255 <EmbeddedResource Include="ProgressBar.resx">255 <EmbeddedResource Include="ProgressBar.resx">
256 <DependentUpon>ProgressBar.cs</DependentUpon>256 <DependentUpon>ProgressBar.cs</DependentUpon>
257 <SubType>Designer</SubType>257 <SubType>Designer</SubType>
258 </EmbeddedResource>258 </EmbeddedResource>
259 <EmbeddedResource Include="RenameConfigurationDialog.resx">259 <EmbeddedResource Include="RenameConfigurationDialog.resx">
260 <DependentUpon>RenameConfigurationDialog.cs</DependentUpon>260 <DependentUpon>RenameConfigurationDialog.cs</DependentUpon>
261 <SubType>Designer</SubType>261 <SubType>Designer</SubType>
262 </EmbeddedResource>262 </EmbeddedResource>
263 <EmbeddedResource Include="ResultTabs.resx">263 <EmbeddedResource Include="ResultTabs.resx">
264 <DependentUpon>ResultTabs.cs</DependentUpon>264 <DependentUpon>ResultTabs.cs</DependentUpon>
265 <SubType>Designer</SubType>265 <SubType>Designer</SubType>
266 </EmbeddedResource>266 </EmbeddedResource>
267 <EmbeddedResource Include="SettingsDialogBase.resx">267 <EmbeddedResource Include="SettingsDialogBase.resx">
268 <DependentUpon>SettingsDialogBase.cs</DependentUpon>268 <DependentUpon>SettingsDialogBase.cs</DependentUpon>
269 <SubType>Designer</SubType>269 <SubType>Designer</SubType>
270 </EmbeddedResource>270 </EmbeddedResource>
271 <EmbeddedResource Include="SettingsPage.resx">271 <EmbeddedResource Include="SettingsPage.resx">
272 <DependentUpon>SettingsPage.cs</DependentUpon>272 <DependentUpon>SettingsPage.cs</DependentUpon>
273 <SubType>Designer</SubType>273 <SubType>Designer</SubType>
274 </EmbeddedResource>274 </EmbeddedResource>
275 <EmbeddedResource Include="SimpleSettingsDialog.resx">275 <EmbeddedResource Include="SimpleSettingsDialog.resx">
276 <DependentUpon>SimpleSettingsDialog.cs</DependentUpon>276 <DependentUpon>SimpleSettingsDialog.cs</DependentUpon>
277 <SubType>Designer</SubType>277 <SubType>Designer</SubType>
278 </EmbeddedResource>278 </EmbeddedResource>
279 <EmbeddedResource Include="StatusBar.resx">279 <EmbeddedResource Include="StatusBar.resx">
280 <DependentUpon>StatusBar.cs</DependentUpon>280 <DependentUpon>StatusBar.cs</DependentUpon>
281 <SubType>Designer</SubType>281 <SubType>Designer</SubType>
282 </EmbeddedResource>282 </EmbeddedResource>
283 <EmbeddedResource Include="TabbedSettingsDialog.resx">283 <EmbeddedResource Include="TabbedSettingsDialog.resx">
284 <DependentUpon>TabbedSettingsDialog.cs</DependentUpon>284 <DependentUpon>TabbedSettingsDialog.cs</DependentUpon>
285 <SubType>Designer</SubType>285 <SubType>Designer</SubType>
286 </EmbeddedResource>286 </EmbeddedResource>
287 <EmbeddedResource Include="TestPropertiesDialog.resx">287 <EmbeddedResource Include="TestPropertiesDialog.resx">
288 <DependentUpon>TestPropertiesDialog.cs</DependentUpon>288 <DependentUpon>TestPropertiesDialog.cs</DependentUpon>
289 </EmbeddedResource>289 </EmbeddedResource>
290 <EmbeddedResource Include="TestSuiteTreeView.resx">290 <EmbeddedResource Include="TestSuiteTreeView.resx">
291 <DependentUpon>TestSuiteTreeView.cs</DependentUpon>291 <DependentUpon>TestSuiteTreeView.cs</DependentUpon>
292 <SubType>Designer</SubType>292 <SubType>Designer</SubType>
293 </EmbeddedResource>293 </EmbeddedResource>
294 <EmbeddedResource Include="TestTree.resx">294 <EmbeddedResource Include="TestTree.resx">
295 <DependentUpon>TestTree.cs</DependentUpon>295 <DependentUpon>TestTree.cs</DependentUpon>
296 <SubType>Designer</SubType>296 <SubType>Designer</SubType>
297 </EmbeddedResource>297 </EmbeddedResource>
298 <EmbeddedResource Include="TextOutputSettingsPage.resx">298 <EmbeddedResource Include="TextOutputSettingsPage.resx">
299 <DependentUpon>TextOutputSettingsPage.cs</DependentUpon>299 <DependentUpon>TextOutputSettingsPage.cs</DependentUpon>
300 <SubType>Designer</SubType>300 <SubType>Designer</SubType>
301 </EmbeddedResource>301 </EmbeddedResource>
302 <EmbeddedResource Include="TipWindow.resx">302 <EmbeddedResource Include="TipWindow.resx">
303 <DependentUpon>TipWindow.cs</DependentUpon>303 <DependentUpon>TipWindow.cs</DependentUpon>
304 <SubType>Designer</SubType>304 <SubType>Designer</SubType>
305 </EmbeddedResource>305 </EmbeddedResource>
306 <EmbeddedResource Include="TreeBasedSettingsDialog.resx">306 <EmbeddedResource Include="TreeBasedSettingsDialog.resx">
307 <DependentUpon>TreeBasedSettingsDialog.cs</DependentUpon>307 <DependentUpon>TreeBasedSettingsDialog.cs</DependentUpon>
308 <SubType>Designer</SubType>308 <SubType>Designer</SubType>
309 </EmbeddedResource>309 </EmbeddedResource>
310 <EmbeddedResource Include="Images\pinned.gif" />310 <EmbeddedResource Include="Images\pinned.gif" />
311 <EmbeddedResource Include="Images\unpinned.gif" />311 <EmbeddedResource Include="Images\unpinned.gif" />
312 </ItemGroup>312 </ItemGroup>
313 <ItemGroup>313 <ItemGroup>
314 <Content Include="Images\Tree\Classic\Ignored.jpg">314 <EmbeddedResource Include="Images\search.png" />
315 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>315 <Content Include="Images\Tree\Classic\Ignored.jpg">
316 </Content>316 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
317 <Content Include="Images\Ellipsis.gif" />317 </Content>
318 <Content Include="Images\Tree\Circles\Inconclusive.jpg">318 <Content Include="Images\Ellipsis.gif" />
319 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>319 <Content Include="Images\Tree\Circles\Inconclusive.jpg">
320 </Content>320 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
321 <Content Include="Images\Tree\Circles\Skipped.jpg">321 </Content>
322 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>322 <Content Include="Images\Tree\Circles\Skipped.jpg">
323 </Content>323 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
324 <Content Include="Images\Tree\Circles\Success.jpg">324 </Content>
325 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>325 <Content Include="Images\Tree\Circles\Success.jpg">
326 </Content>326 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
327 <Content Include="Images\Tree\Circles\Failure.jpg">327 </Content>
328 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>328 <Content Include="Images\Tree\Circles\Failure.jpg">
329 </Content>329 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
330 <Content Include="Images\Tree\Circles\Ignored.jpg">330 </Content>
331 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>331 <Content Include="Images\Tree\Circles\Ignored.jpg">
332 </Content>332 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
333 <Content Include="Images\Tree\Classic\Failure.jpg">333 </Content>
334 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>334 <Content Include="Images\Tree\Classic\Failure.jpg">
335 </Content>335 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
336 <Content Include="Images\Tree\Classic\Skipped.jpg">336 </Content>
337 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>337 <Content Include="Images\Tree\Classic\Skipped.jpg">
338 </Content>338 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
339 <Content Include="Images\Tree\Default\Failure.png">339 </Content>
340 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>340 <Content Include="Images\Tree\Default\Failure.png">
341 </Content>341 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
342 <Content Include="Images\Tree\Default\Ignored.png">342 </Content>
343 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>343 <Content Include="Images\Tree\Default\Ignored.png">
344 </Content>344 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
345 <Content Include="Images\Tree\Classic\Inconclusive.jpg">345 </Content>
346 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>346 <Content Include="Images\Tree\Classic\Inconclusive.jpg">
347 </Content>347 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
348 <Content Include="Images\Tree\Default\Inconclusive.png">348 </Content>
349 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>349 <Content Include="Images\Tree\Default\Inconclusive.png">
350 </Content>350 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
351 <Content Include="Images\Tree\Default\Skipped.png">351 </Content>
352 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>352 <Content Include="Images\Tree\Default\Skipped.png">
353 </Content>353 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
354 <Content Include="Images\Tree\Classic\Success.jpg">354 </Content>
355 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>355 <Content Include="Images\Tree\Classic\Success.jpg">
356 </Content>356 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
357 <Content Include="Images\Tree\Default\Success.png">357 </Content>
358 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>358 <Content Include="Images\Tree\Default\Success.png">
359 </Content>359 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
360 </ItemGroup>360 </Content>
361 <ItemGroup>361 </ItemGroup>
362 <Content Include="Images\Tree\Visual Studio\Failure.png">362 <ItemGroup>
363 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>363 <Content Include="Images\Tree\Visual Studio\Failure.png">
364 </Content>364 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
365 <Content Include="Images\Tree\Visual Studio\Ignored.png">365 </Content>
366 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>366 <Content Include="Images\Tree\Visual Studio\Ignored.png">
367 </Content>367 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
368 <Content Include="Images\Tree\Visual Studio\Inconclusive.png">368 </Content>
369 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>369 <Content Include="Images\Tree\Visual Studio\Inconclusive.png">
370 </Content>370 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
371 <Content Include="Images\Tree\Visual Studio\Skipped.png">371 </Content>
372 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>372 <Content Include="Images\Tree\Visual Studio\Skipped.png">
373 </Content>373 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
374 <Content Include="Images\Tree\Visual Studio\Success.png">374 </Content>
375 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>375 <Content Include="Images\Tree\Visual Studio\Success.png">
376 </Content>376 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
377 <None Include="nunit.uikit.build" />377 </Content>
378 </ItemGroup>378 <None Include="nunit.uikit.build" />
379 <ItemGroup>379 </ItemGroup>
380 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">380 <ItemGroup>
381 <Visible>False</Visible>381 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
382 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>382 <Visible>False</Visible>
383 <Install>false</Install>383 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
384 </BootstrapperPackage>384 <Install>false</Install>
385 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">385 </BootstrapperPackage>
386 <Visible>False</Visible>386 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
387 <ProductName>.NET Framework 3.5 SP1</ProductName>387 <Visible>False</Visible>
388 <Install>true</Install>388 <ProductName>.NET Framework 3.5 SP1</ProductName>
389 </BootstrapperPackage>389 <Install>true</Install>
390 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">390 </BootstrapperPackage>
391 <Visible>False</Visible>391 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
392 <ProductName>Windows Installer 3.1</ProductName>392 <Visible>False</Visible>
393 <Install>true</Install>393 <ProductName>Windows Installer 3.1</ProductName>
394 </BootstrapperPackage>394 <Install>true</Install>
395 </ItemGroup>395 </BootstrapperPackage>
396 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />396 </ItemGroup>
397 <PropertyGroup>397 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
398 <PreBuildEvent>398 <PropertyGroup>
399 </PreBuildEvent>399 <PreBuildEvent>
400 <PostBuildEvent>400 </PreBuildEvent>
401 </PostBuildEvent>401 <PostBuildEvent>
402 </PropertyGroup>402 </PostBuildEvent>
403 </PropertyGroup>
403</Project>404</Project>
404\ No newline at end of file405\ No newline at end of file

Subscribers

People subscribed via source and target branches

to status/vote changes: