diff options
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting.NUnit/templates/NUnitProjectVBNet.xpt.xml')
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting.NUnit/templates/NUnitProjectVBNet.xpt.xml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting.NUnit/templates/NUnitProjectVBNet.xpt.xml b/main/src/addins/MonoDevelop.UnitTesting.NUnit/templates/NUnitProjectVBNet.xpt.xml new file mode 100644 index 0000000000..12ec5b3dae --- /dev/null +++ b/main/src/addins/MonoDevelop.UnitTesting.NUnit/templates/NUnitProjectVBNet.xpt.xml @@ -0,0 +1,71 @@ +<?xml version="1.0"?> +<Template originator = "Lluis Sanchez"> + + <!-- Template Header --> + <TemplateConfiguration> + <_Name>NUnit Library Project</_Name> + <Category>other/net/general</Category> + <Icon>md-project|res:project-nunit-overlay-32.png</Icon> + <Image id="md-nunit-library-project" /> + <_Description>Creates an NUnit library</_Description> + <LanguageName>VBNet</LanguageName> + <DefaultFilename>NUnitProject</DefaultFilename> + <GroupId>md-nunit-library</GroupId> + </TemplateConfiguration> + + <!-- Actions --> + <Actions> + <Open filename = "Test.vb"/> + </Actions> + + <!-- Template Content --> + <Combine name = "${ProjectName}" directory = "."> + <Options> + <StartupProject>${ProjectName}</StartupProject> + </Options> + + <Project name = "${ProjectName}" directory = "."> + <Options Target = "Library" TargetFrameworkVersion = "4.0" /> + + <References> + <Reference type="Package" refto="System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + </References> + + <Packages> + <Package ID="NUnit" Version="2.6.4" /> + </Packages> + + <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> |