blob: 29946b9d05e639365db341e9c371ef7898d41b33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
|
<Addin id = "NUnit"
namespace = "MonoDevelop"
name = "NUnit support"
author = "Lluis Sanchez, John Luke"
copyright = "MIT X11"
url = "http://monodevelop.com"
description = "Integrates NUnit into the MonoDevelop IDE."
category = "Testing"
version = "4.2">
<Runtime>
<Import assembly="MonoDevelop.NUnit.dll" />
<Import assembly="nunit.core.dll" />
<Import assembly="nunit.core.interfaces.dll" />
<Import assembly="nunit.framework.dll" />
<Import assembly="nunit.util.dll" />
</Runtime>
<Dependencies>
<Addin id="Core" version="4.2"/>
<Addin id="Ide" version="4.2"/>
</Dependencies>
<!-- Extension Points -->
<ExtensionPoint path = "/MonoDevelop/NUnit/TestProviders" name = "Test providers">
<Description>Test providers. Specified classes must implement ITestProvider.</Description>
<ExtensionNode name ="Class" />
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/NUnit/ContextMenu/TestChart">
<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/NUnit/ContextMenu/TestPad">
<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/NUnit/ContextMenu/TestResultsPad">
<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/NUnit/ContextMenu/ProjectPad/NUnitAssemblyGroup">
<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/NUnit/ContextMenu/ProjectPad/TestAssembly">
<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/NUnit/ContextMenu/ProjectPad/NUnitAssemblyGroupConfiguration">
<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/NUnit/UnitTestOptions/GeneralOptions">
<ExtensionNodeSet id="MonoDevelop.Ide.OptionsDialogSection"/>
</ExtensionPoint>
<ExtensionPoint path = "/MonoDevelop/NUnit/UnitTestOptions/ConfigurationOptions">
<ExtensionNodeSet id="MonoDevelop.Ide.OptionsDialogSection"/>
</ExtensionPoint>
<!-- Extensions -->
<Extension path="/MonoDevelop/Core/SupportPackages">
<Condition id="PackageNotInstalled" name="mono-nunit" version="2.7">
<Package name="nunit" version="2.4" clrVersion="Default">
<Assembly file="nunit.core.dll" />
<Assembly file="nunit.core.interfaces.dll" />
<Assembly file="nunit.framework.dll" />
</Package>
</Condition>
</Extension>
<Extension path = "/MonoDevelop/Ide/Pads">
<SolutionPad id = "MonoDevelop.NUnit.TestPad" defaultLayout="*" defaultPlacement = "Right" defaultStatus="AutoHide" _label = "Unit Tests" icon = "nunit-pad-icon" class = "MonoDevelop.NUnit.TestPad">
<PadOption id = "ShowTestTime" _label = "Show Test Time" defaultValue = "False" />
<PadOption id = "ShowTestCounters" _label = "Show Test Counters" defaultValue = "False" />
<NodeBuilder id = "TestNode" class = "MonoDevelop.NUnit.TestNodeBuilder"/>
</SolutionPad>
<Pad id="MonoDevelop.NUnit.TestResultsPad" _label="Test Results" icon="nunit-pad-icon" class="MonoDevelop.NUnit.TestResultsPad" defaultPlacement = "Bottom" defaultLayout="UnitTesting" defaultStatus="AutoHide"/>
</Extension>
<Extension path="/MonoDevelop/Ide/WorkbenchLayouts">
<Layout id="UnitTesting" _name="Unit Testing">
<LayoutPad id="MonoDevelop.NUnit.TestPad" status="Dockable" />
<LayoutPad id="MonoDevelop.NUnit.TestResultsPad" status="Dockable" />
</Layout>
</Extension>
<Extension path = "/MonoDevelop/Ide/Pads/ProjectPad">
<NodeBuilder id = "NUnitAssemblyGroupNodeBuilder" class = "MonoDevelop.NUnit.NUnitAssemblyGroupNodeBuilder"/>
<NodeBuilder id = "NUnitAssemblyGroupConfigurationNodeBuilder" class = "MonoDevelop.NUnit.NUnitAssemblyGroupConfigurationNodeBuilder"/>
<NodeBuilder id = "TestAssemblyNodeBuilder" class = "MonoDevelop.NUnit.TestAssemblyNodeBuilder"/>
</Extension>
<Extension path = "/MonoDevelop/Ide/Commands">
<Category _name = "NUnit" id = "NUnit">
<Command id = "MonoDevelop.NUnit.Commands.TestCommands.RunAllTests"
_label = "Run Unit Tests"
_description="Runs all tests of the current selected project."
shortcut="Control|T"
defaultHandler="MonoDevelop.NUnit.Commands.RunAllTestsHandler"/>
<Command id = "MonoDevelop.NUnit.Commands.TestCommands.RunTestWith"
_label = "Run With"
type="array"
_description="Runs tests using a special execution mode."/>
<Command id = "MonoDevelop.NUnit.Commands.TestCommands.DebugTest"
_label = "Debug Test"
type="array" />
<Command id = "MonoDevelop.NUnit.Commands.TestCommands.RunTest" _label = "Run Test" />
<Command id = "MonoDevelop.NUnit.Commands.TestCommands.ShowTestCode" _label = "Show test source code" />
<Command id = "MonoDevelop.NUnit.Commands.TestCommands.GoToFailure" _label = "Go to failure" />
<Command id = "MonoDevelop.NUnit.Commands.TestCommands.SelectTestInTree" _label = "Select test in tree" />
<Command id = "MonoDevelop.NUnit.Commands.TestCommands.ShowTestDetails" _label = "Show results pad" />
<Command id = "MonoDevelop.NUnit.Commands.TestChartCommands.UseTimeScale" _label = "Proportional time scale" type="check"/>
<Command id = "MonoDevelop.NUnit.Commands.TestChartCommands.SingleDayResult" _label = "Show one result per day" type="check"/>
<Command id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowResults" _label = "Results chart" type="radio"/>
<Command id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowTime" _label = "Time chart" type="radio"/>
<Command id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowSuccessfulTests" _label = "Show successful tests" type="check"/>
<Command id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowFailedTests" _label = "Show failed tests" type="check"/>
<Command id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowIgnoredTests" _label = "Show ignored tests" type="check"/>
<Command id = "MonoDevelop.NUnit.Commands.NUnitProjectCommands.AddAssembly" _label = "Add assembly..."/>
</Category>
</Extension>
<Extension path = "/MonoDevelop/Ide/MainMenu/Run">
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.RunAllTests" />
</Extension>
<Extension path = "/MonoDevelop/NUnit/ContextMenu/ProjectPad/NUnitAssemblyGroup">
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Delete" />
</Extension>
<Extension path = "/MonoDevelop/NUnit/ContextMenu/ProjectPad/NUnitAssemblyGroupConfiguration">
<CommandItem id = "MonoDevelop.NUnit.Commands.NUnitProjectCommands.AddAssembly" />
</Extension>
<Extension path = "/MonoDevelop/NUnit/ContextMenu/ProjectPad/TestAssembly">
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.Delete" />
</Extension>
<Extension path = "/MonoDevelop/NUnit/ContextMenu/TestPad">
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.RunTest" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.DebugTest" />
<ItemSet id = "RunTestWith" _label = "Run Test With">
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.RunTestWith" />
</ItemSet>
<SeparatorItem id = "s0" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.GoToFailure" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.ShowTestCode" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.ShowTestDetails" />
<SeparatorItem id = "s1" />
<CommandItem id = "MonoDevelop.Ide.Commands.ProjectCommands.Options" />
</Extension>
<Extension path = "/MonoDevelop/NUnit/ContextMenu/TestResultsPad">
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.GoToFailure" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.ShowTestCode" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestCommands.SelectTestInTree" />
</Extension>
<Extension path = "/MonoDevelop/NUnit/ContextMenu/TestChart">
<CommandItem id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowResults" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowTime" />
<SeparatorItem id = "s1" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowSuccessfulTests" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowFailedTests" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestChartCommands.ShowIgnoredTests" />
<SeparatorItem id = "s2" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestChartCommands.UseTimeScale" />
<CommandItem id = "MonoDevelop.NUnit.Commands.TestChartCommands.SingleDayResult" />
</Extension>
<Extension path = "/MonoDevelop/NUnit/UnitTestOptions/GeneralOptions">
<Section id = "Configurations"
_label = "Configurations" />
</Extension>
<Extension path = "/MonoDevelop/NUnit/UnitTestOptions/ConfigurationOptions">
<Section id = "NUnitOptionsPanel"
_label = "${Configuration}"
class = "MonoDevelop.NUnit.NUnitOptionsPanel"/>
</Extension>
<Extension path = "/MonoDevelop/Ide/ProjectTemplates">
<!-- <ProjectTemplate id = "NUnitAssemblyGroup" resource = "NUnitAssemblyGroup.xpt.xml"/>-->
<ProjectTemplate id = "NUnitProject" resource = "NUnitProject.xpt.xml"/>
</Extension>
<Extension path = "/MonoDevelop/Ide/FileTemplates">
<FileTemplate id = "NUnitTestClass" resource = "NUnitTestClass.xft.xml"/>
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/FileFormats">
<FileFormat id="NUnitAssemblyGroupFileFormat"
class="MonoDevelop.NUnit.NUnitAssemblyGroupFileFormat"/>
</Extension>
<Extension path = "/MonoDevelop/NUnit/TestProviders">
<Class id="SystemTestProvider" class="MonoDevelop.NUnit.SystemTestProvider" />
</Extension>
<Extension path = "/MonoDevelop/Core/StockIcons">
<StockIcon stockid = "nunit-pad-icon" resource = "unit-test-16.png" size="Menu" />
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/ProjectServiceExtensions">
<Class class = "MonoDevelop.NUnit.NUnitProjectServiceExtension" />
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/SerializableClasses">
<DataType class = "MonoDevelop.NUnit.NUnitAssemblyGroupProject" />
</Extension>
<Extension path = "/MonoDevelop/ProjectModel/ExtendedProperties">
<ItemProperty class = "MonoDevelop.Projects.SolutionItemConfiguration"
name = "UnitTestInformation" type = "MonoDevelop.NUnit.UnitTestOptionsSet" />
<ItemProperty class = "MonoDevelop.Projects.DotNetProject"
name = "TestRunnerType" type = "System.String" external="false" />
<ItemProperty class = "MonoDevelop.Projects.DotNetProject"
name = "TestRunnerAssembly" type = "MonoDevelop.Core.FilePath" external="false" />
<ItemProperty class = "MonoDevelop.Projects.DotNetProject"
name = "TestRunnerCommand" type = "MonoDevelop.Core.FilePath" external="false" />
<ItemProperty class = "MonoDevelop.Projects.DotNetProject"
name = "TestRunnerArgs" type = "System.String" external="false" />
</Extension>
</Addin>
|