Welcome to mirror list, hosted at ThFree Co, Russian Federation.

NUnitProject.xpt.xml « templates « NUnit « addins « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9a83ac6b23343e513297f839eb55621595943d2e (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
<?xml version="1.0"?>
<Template originator   = "Lluis Sanchez">
	
	<!-- Template Header -->
	<TemplateConfiguration>
		<_Name>NUnit Library Project</_Name>
		<_Category>NUnit</_Category>
		<Icon>md-project|res:project-nunit-overlay-light-32.png</Icon>
		<_Description>Creates an NUnit library</_Description>
		<LanguageName>C#,VBNet</LanguageName>
		<DefaultFilename>NUnitProject</DefaultFilename>
	</TemplateConfiguration>
	
	<!-- Actions -->
	<Actions>
		<Open filename = "Test.cs"/>
	</Actions>
	
	<!-- Template Content -->
	<Combine name = "${ProjectName}" directory = ".">
		<Options>
			<StartupProject>${ProjectName}</StartupProject>
		</Options>
		
		<Project name = "${ProjectName}" directory = ".">
			<Options Target = "Library" />
			
			<References>
				<Reference type="Package" refto="System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
				<Reference type="Package" refto="nunit.framework" SpecificVersion = "false" LocalCopy = "false" />
			</References>
		
			<Files>
				<CodeDomFile name="Test">
					<CompileUnit>
						<Namespaces>
							<Namespace Name="">
								<Imports>
									<NamespaceImport Namespace="System" />
									<NamespaceImport Namespace="NUnit.Framework" />
								</Imports>
							</Namespace>
							<Namespace Name="${Namespace}">
								<Types>
									<TypeDeclaration Name="${Name}" IsClass="true">
										<CustomAttributes>
											<AttributeDeclaration Name="TestFixture" />
										</CustomAttributes>
										<Members>
											<MemberMethod Attributes="Public, Final" Name="TestCase" ReturnType="System.Void">
												<CustomAttributes>
													<AttributeDeclaration Name="Test" />
												</CustomAttributes>
											</MemberMethod>
										</Members>
									</TypeDeclaration>
								</Types>
							</Namespace>
						</Namespaces>
					</CompileUnit>
				</CodeDomFile>

			</Files>
		</Project>
	</Combine>
</Template>