Commit 68062da
Changed files (54)
slips
build
tools
mbunit
bin
VSSnippets
MbUnitCSharpSnippets
MbUnitVBSnippets
MbUnitXMLSnippets
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/autorunner.snippet
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>AutoRunner</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a AutorRunner main.</Description>
- <Shortcut>autorunner</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>Main class name</ToolTip>
- <Default>Program</Default>
- </Literal>
- </Declarations>
- <Code Language="CSharp"><![CDATA[using System;
-
-namespace MbUnit.Tests
-{
- using MbUnit.Core;
- using MbUnit.Core.Filters;
-
- static class $name$
- {
- public static void Main(string[] args)
- {
- using (AutoRunner auto = new AutoRunner())
- {
- // Note: uncomment if you want to execute only the fixtures
- // that are tagged with [CurrentFixture] attribute.
- //
- // auto.Domain.Filter = FixtureFilters.Current;
- auto.Run();
- auto.ReportToHtml();
- }
- }
- }
-}
-
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/combinatorialtest.snippet
@@ -1,56 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>CombinatorialTest</Title>
- <Author>MbUnit</Author>
- <Description>Inserts a combinatorial test with 2 parameters and 2 factories</Description>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/CombinatorialTestAttribute</HelpUrl>
- <Shortcut>combinatorial</Shortcut>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>testName</ID>
- <Default>Test</Default>
- </Literal>
- <Literal>
- <ID>type1</ID>
- </Literal>
- <Literal>
- <ID>type2</ID>
- <Default>type2</Default>
- </Literal>
- <Literal>
- <ID>arg1Name</ID>
- <Default>arg1Name</Default>
- </Literal>
- <Literal>
- <ID>arg2Name</ID>
- <Default>arg2Name</Default>
- </Literal>
- </Declarations>
- <Code Language="CSharp"><![CDATA[ [CombinatorialTest]
- public void $testName$(
- [UsingFactories("$type1$Factory")] $type1$ $arg1Name$,
- [UsingFactories("$type2$Factory")] $type2$ $arg2Name$)
- {
-
- }
-
- [Factory(typeof($type1$))]
- public IEnumerable $type1$Factory()
- {
- $type1$[] values = new $type1$[] { };
- return values;
- }
-
- [Factory(typeof($type2$))]
- public IEnumerable $type2$Factory()
- {
- $type2$[] values = new $type2$[] { };
- return values;
- }]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/datafixture.snippet
@@ -1,63 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>DataFixture</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for DataFixture</Description>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/DataFixture</HelpUrl>
- <Shortcut>datafixture</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- </Literal>
- <Literal>
- <ID>name</ID>
- <ToolTip>Fixture name</ToolTip>
- <Default>My</Default>
- </Literal>
- <Literal>
- <ID>resource</ID>
- <ToolTip>Resource name</ToolTip>
- <Default>Put the xml resource name here</Default>
- </Literal>
- <Literal>
- <ID>resourceXPath</ID>
- <ToolTip>Data XPath</ToolTip>
- <Default>Put the data XPath here</Default>
- </Literal>
- <Literal>
- <ID>testXPath</ID>
- <ToolTip>Resource XPath</ToolTip>
- <Default>Put the test case XPath here</Default>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[#region using
-using System;
-using MbUnit.Framework;
-#endregion
-
-namespace $namespace$
-{
- [DataFixture]
- [ResourceXmlDataProvider(typeof($name$Test),"$resource$","$resourceXPath$")]
- public class $name$Test
- {
- #region Test cases
- [ForEachTest("$testXPath$")]
- public void ForEachTest(XmlNode node)
- {
- }
- #endregion
- }
-}
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/model.snippet
@@ -1,101 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>Model</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a Model</Description>
- <Shortcut>model</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Model namespace</ToolTip>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Modelled type</ToolTip>
- <Default>Put the modelled type here</Default>
- </Literal>
- <Literal>
- <ID>basetype</ID>
- <ToolTip>Modelled Base Type</ToolTip>
- <Default>Object</Default>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[using System;
-using TestFu;
-using TestFu.Models;
-
-namespace $namespace$
-{
- /// <summary>
- /// A <see cref="IModel"/> implementation for the
- /// <see cref="$type$"/> type.
- /// </summary>
- [Model(typeof($type$))]
- // [State("Put a state name here")]
- // [SubModel("Put a submodel name here")]
- public class $type$Model : $basetype$Model
- {
- #region Constructors
- /// <summary>
- /// Initializes a new <see cref="$name$Model"/> instance.
- /// </summary>
- public $type$Model()
- :base()
- {}
-
- /// <summary>
- /// Initializes a new <see cref="$name$Model"/> instance
- /// to model the <paramref name="modelledType"/> type.
- /// </summary>
- /// <param name="modelledType">
- /// Target <see cref="Type"/> of the model
- /// </param>
- public $type$Model(Type modelledType)
- :base(modelledType)
- {
- if (!typeof($type$).IsAssignableFrom(modelledType))
- throw new ArgumentException("$type$ is not assignable from "+modelledType.FullName,"modelledType");
- }
- #endregion
-
- #region Transitions
- [Transition]
- public void SampleTransition($type$ target)
- {
- throw new NotImplemented();
- }
-
- /// <summary>
- /// Gets the active <see cref="ITransition"/> instance for
- /// current <paramref name="target"/>.
- /// </summary>
- /// <param name="transitions">
- /// Collection of active <see cref="ITransition"/> names
- /// </param>
- /// <param name="target">
- /// Current tested instance
- /// </param>
- protected override void GetActiveTransitions(
- ITransitionNameCollection transitions,
- Object target
- )
- {
- base.GetActiveTransitions(transitions,target);
- $type$ current = ($type$)target;
-
- $end$
- }
- #endregion
- }
-}
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/processtestfixture.snippet
@@ -1,72 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>ProcessTestFixture</Title>
- <Author>MbUnit</Author>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/ProcessTestFixture</HelpUrl>
- <Shortcut>processfixture</Shortcut>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <Default>MbUnitTests</Default>
- </Literal>
- <Literal>
- <ID>testName1</ID>
- <Default>Test1</Default>
- </Literal>
- <Literal>
- <ID>testName2</ID>
- <Default>Test2</Default>
- </Literal>
- <Literal>
- <ID>testName3</ID>
- <Default>Test3</Default>
- </Literal>
- <Literal>
- <ID>testName4</ID>
- <Default>Test4</Default>
- </Literal>
- </Declarations>
- <Code Language="CSharp"><![CDATA[using System;
-using MbUnit.Framework;
-
-namespace $namespace$
-{
- [ProcessTestFixture]
- public class $type$Test
- {
- [Test]
- [TestSequence(1)]
- public void $testName1$()
- {
-
- }
-
- [Test]
- [TestSequence(2)]
- public void $testName2$()
- {
-
- }
-
- [Test]
- [TestSequence(3)]
- public void $testName3$()
- {
-
- }
-
- [Test]
- [TestSequence(4)]
- public void $testName4$()
- {
-
- }
- }
-}]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/rowtest.snippet
@@ -1,114 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>RowTest</Title>
- <Author>MbUnit</Author>
- <Description>Inserts a row test with 5 rows and 3 parameters.</Description>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/RowTestAttribute</HelpUrl>
- <Shortcut>rowtest</Shortcut>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>testName</ID>
- <Default>Test</Default>
- </Literal>
- <Literal>
- <ID>type1</ID>
- <Default>type1</Default>
- </Literal>
- <Literal>
- <ID>arg1Name</ID>
- <Default>arg1Name</Default>
- </Literal>
- <Literal>
- <ID>type2</ID>
- <Default>type2</Default>
- </Literal>
- <Literal>
- <ID>arg2Name</ID>
- <Default>arg2Name</Default>
- </Literal>
- <Literal>
- <ID>type3</ID>
- <Default>type3</Default>
- </Literal>
- <Literal>
- <ID>arg3Name</ID>
- <Default>arg3Name</Default>
- </Literal>
- <Literal>
- <ID>value1</ID>
- <Default>value1</Default>
- </Literal>
- <Literal>
- <ID>value2</ID>
- <Default>value2</Default>
- </Literal>
- <Literal>
- <ID>value3</ID>
- <Default>value3</Default>
- </Literal>
- <Literal>
- <ID>value4</ID>
- <Default>value4</Default>
- </Literal>
- <Literal>
- <ID>value5</ID>
- <Default>value5</Default>
- </Literal>
- <Literal>
- <ID>value6</ID>
- <Default>value6</Default>
- </Literal>
- <Literal>
- <ID>value7</ID>
- <Default>value7</Default>
- </Literal>
- <Literal>
- <ID>value8</ID>
- <Default>value8</Default>
- </Literal>
- <Literal>
- <ID>value9</ID>
- <Default>value9</Default>
- </Literal>
- <Literal>
- <ID>value10</ID>
- <Default>value10</Default>
- </Literal>
- <Literal>
- <ID>value11</ID>
- <Default>value11</Default>
- </Literal>
- <Literal>
- <ID>value12</ID>
- <Default>value12</Default>
- </Literal>
- <Literal>
- <ID>value13</ID>
- <Default>value13</Default>
- </Literal>
- <Literal>
- <ID>value14</ID>
- <Default>value14</Default>
- </Literal>
- <Literal>
- <ID>value15</ID>
- <Default>value15</Default>
- </Literal>
- </Declarations>
- <Code Language="CSharp"><![CDATA[ [RowTest]
- [Row($value1$,$value2$,$value3$)]
- [Row($value4$,$value5$,$value6$)]
- [Row($value7$,$value8$,$value9$)]
- [Row($value10$,$value11$,$value12$)]
- [Row($value13$,$value14$,$value15$)]
- public void $testName$($type1$ $arg1Name$, $type2$ $arg2Name$, $type3$ $arg3Name$)
- {
-
- }]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/state.snippet
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>IState wrapper</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a IState wrapper</Description>
- <Shortcut>state</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>State Name</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[ public IState $name$State
- {
- get
- {
- return this.States["$name$"];
- }
- }
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/submodel.snippet
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>ISubModel wrapper</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a ISubModel wrapper</Description>
- <Shortcut>submodel</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>model</ID>
- <ToolTip>Model type</ToolTip>
- </Literal>
- <Literal>
- <ID>name</ID>
- <ToolTip>SubModel Name</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[ public $model$ $name$Model
- {
- get
- {
- return ($model$)this.SubModels["$name$"].Model;
- }
- }
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/test.snippet
@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>Test Method</Title>
- <Description>Expansion snippet for a Test method</Description>
- <Shortcut>test</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>TestName</ToolTip>
- <Default>Test</Default>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[ [Test]
- public void $name$()
- {
-
- }
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/testexpectedexception.snippet
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>Test Method with ExpectedException</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a Test method</Description>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/ExpectedExceptionAttribute</HelpUrl>
- <Shortcut>testexpectedexception</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>TestName</ToolTip>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Expected Exception Type</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[ [Test]
- [ExpectedException(typeof($type$Exception))]
- public void $name$()
- {
-
- }
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/testfixture.snippet
@@ -1,71 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>TestFixture</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for TestFixture</Description>
- <Shortcut>testfixture</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Tested type</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[using System;
-using MbUnit.Framework;
-
-namespace $namespace$
-{
- /// <summary>
- /// A <see cref="TestFixture"/> for the <see cref="$type$"/> class.
- /// </summary>
- [TestFixture]
- [TestsOn(typeof($type$))]
- public class $type$Test
- {
- #region Fields, SetUp and TearDown
- private $type$ target = null;
-
- /// <summary>
- /// Sets up the fixture
- /// </summary>
- [SetUp]
- public void SetUp()
- {
- this.target = new $type$();
- }
- /// <summary>
- /// Cleans up the fixture
- /// </summary>
- [TearDown]
- public void TearDown()
- {
- IDisposable disposable = this.target as IDisposable;
- if (disposable!=null)
- disposable.Dispose();
- }
- #endregion
-
- #region Test cases
- [Test]
- public void Test()
- {
- $end$
- }
- #endregion
- }
-}
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/testsuitefixture.snippet
@@ -1,52 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>TestSuiteFixture</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for TestSuiteFixture</Description>
- <Shortcut>testsuitefixture</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- </Literal>
- <Literal>
- <ID>name</ID>
- <ToolTip>Fixture name</ToolTip>
- <Default>My</Default>
- </Literal>
- <Literal>
- <ID>suiteName</ID>
- <ToolTip>Suite name</ToolTip>
- <Default>Suite</Default>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[using System;
-using MbUnit.Framework;
-
-namespace $namespace$
-{
- [TestSuiteFixture]
- public class $name$Test
- {
- [TestSuite]
- public TestSuite $suiteName$()
- {
- TestSuite suite = new TestSuite("$suiteName$");
-
- $end$
-
- return suite;
- }
- }
-}
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/typefixture.snippet
@@ -1,67 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>TypeFixture</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for TypeFixture</Description>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/TypeFixture</HelpUrl>
- <Shortcut>typefixture</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Tested type</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="csharp"><![CDATA[using System;
-using MbUnit.Framework;
-
-namespace $namespace$
-{
- /// <summary>
- /// A <see cref="TypeFixture"/> for the <see cref="$type$"/> class.
- /// </summary>
- [TypeFixture(typeof($type$))]
- //[ProviderFactory(typeof($type$Factory),typeof($type$))]
- [TestsOn(typeof($type$))]
- public class $type$Test
- {
- #region SetUp and TearDown
- /// <summary>
- /// Initializes the fixture
- /// </summary>
- [SetUp]
- public void SetUp($type$ value)
- {
- }
- /// <summary>
- /// Cleans up the fixture
- /// </summary>
- [TearDown]
- public void TearDown($type$ value)
- {
- }
- #endregion
-
- #region Test cases
- [Test]
- public void Test($type$ value)
- {
- $end$
- }
- #endregion
- }
-}
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/typefixturewithproviderfactory.snippet
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>TypeFixture with Provider Factory</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for TypeFixture</Description>
- <Shortcut>typefixturefac</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- <Default>MbUnitTests</Default>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Tested type</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[Imports System
-Imports MbUnit.Framework
-
-Namespace $namespace$
-
- ''' <summary>
- ''' A TypeFixture for the $type$ class.
- ''' </summary>
- <TypeFixture(GetType($type$)), _
- ProviderFactory(GetType($type$Factory), GetType($type$)), _
- TestsOn(GetType($type$))> _
- Public Class $type$Test
-
- #Region "SetUp and TearDown"
- ''' <summary>
- ''' Initializes the fixture
- ''' </summary>
- <SetUp()> _
- Public Sub SetUp(ByVal value As $type$)
-
- End Sub
- ''' <summary>
- ''' Cleans up the fixture
- ''' </summary>
- <TearDown()> _
- Public Sub TearDown(ByVal value As $type$)
-
- End Sub
- #End Region
-
- #Region "Test cases"
- <Test()> _
- Public Sub Test(ByVal value As $type$)
-
- End Sub
- #End Region
-
- End Class
-
- Public Class $type$Factory
- <Factory()> _
- Public ReadOnly Property Factory As $type$
- Get
- Return New $type$
- End Get
- End Property
- End Class
-
-End Namespace
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitCSharpSnippets/usingmbunit.snippet
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>Using MbUnit Includes</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for the MbUnit using statements</Description>
- <Shortcut>usingMbUnit</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Code Language="csharp"><![CDATA[using MbUnit.Framework;
-
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/autorunner.snippet
@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>AutoRunner</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a AutorRunner main.</Description>
- <Shortcut>autorunner</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>Main class name</ToolTip>
- <Default>Program</Default>
- </Literal>
- <Literal>
- <ID>namespace</ID>
- <Default>MbUnitTests</Default>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[Imports System
-Imports MbUnit.Core
-'Imports MbUnit.Core.Filters
-
-Namespace $namespace$
- Class $name$
- Public Shared Sub Main()
- Using auto As AutoRunner = New AutoRunner()
- ' Note: uncomment "Imports MbUnit.Core.Filters" and the following line if you want to
- ' execute only the fixtures that are tagged with <CurrentFixture()> attribute.
-
- ' auto.Domain.Filter = FixtureFilters.Current
- auto.Run()
- auto.ReportToHtml()
- End Using
- End Sub
- End Class
-End Namespace]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/combinatorialtest.snippet
@@ -1,54 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>CombinatorialTest</Title>
- <Author>MbUnit</Author>
- <Description>Inserts a combinatorial test with 2 parameters and 2 factories</Description>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/CombinatorialTestAttribute</HelpUrl>
- <Shortcut>combinatorial</Shortcut>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>testName</ID>
- <Default>Test</Default>
- </Literal>
- <Literal>
- <ID>type1</ID>
- </Literal>
- <Literal>
- <ID>type2</ID>
- <Default>type2</Default>
- </Literal>
- <Literal>
- <ID>arg1Name</ID>
- <Default>arg1Name</Default>
- </Literal>
- <Literal>
- <ID>arg2Name</ID>
- <Default>arg2Name</Default>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[ <CombinatorialTest()> _
- Public Sub $testName$( _
- <UsingFactories("$type1$Factory")] ByVal $arg1Name$ As $type1$, _
- <UsingFactories("$type2$Factory")] ByVal $arg2Name$ As $type2$)
-
- End Sub
-
- <Factory(GetType($type1$))> _
- public IEnumerable $type1$Factory()
- {
- Dim values As $type1$() = New $type1$ { };
- Return values
- }
-
- <Factory(GetType($type2$))> _
- Public Function $type2$Factory() As IEnumerable
- Dim values As $type2$() = New $type2$ { };
- Return values
- End Function]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/datafixture.snippet
@@ -1,61 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>DataFixture</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for DataFixture</Description>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/DataFixture</HelpUrl>
- <Shortcut>datafixture</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- <Default>MbUnitTests</Default>
- </Literal>
- <Literal>
- <ID>name</ID>
- <ToolTip>Fixture name</ToolTip>
- <Default>My</Default>
- </Literal>
- <Literal>
- <ID>resource</ID>
- <ToolTip>Resource name</ToolTip>
- <Default>Put the xml resource name here</Default>
- </Literal>
- <Literal>
- <ID>resourceXPath</ID>
- <ToolTip>Data XPath</ToolTip>
- <Default>Put the data XPath here</Default>
- </Literal>
- <Literal>
- <ID>testXPath</ID>
- <ToolTip>Resource XPath</ToolTip>
- <Default>Put the test case XPath here</Default>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[Imports System
-Imports System.Xml
-Imports MbUnit.Framework
-
-Namespace $namespace$
- <DataFixture(), _
- ResourceXmlDataProvider(GetType($name$Test),"$resource$","$resourceXPath$")> _
- Public Class $name$Test
- #Region "Test cases"
- <ForEachTest("$testXPath$")> _
- Public Sub ForEachTest(ByVal node As XmlNode)
-
- End Sub
- #End Region
- End Class
-End Namespace
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/model.snippet
@@ -1,95 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>Model</Title>
- <Description>Expansion snippet for a Model</Description>
- <Shortcut>model</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Model namespace</ToolTip>
- <Default>MbUnitTests</Default>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Modelled type</ToolTip>
- <Default>Put the modelled type here</Default>
- </Literal>
- <Literal>
- <ID>basetype</ID>
- <ToolTip>Modelled Base Type</ToolTip>
- <Default>Object</Default>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[Imports System
-Imports TestFu
-Imports TestFu.Models
-
-Namespace $namespace$
- ''' <summary>
- ''' A IModel implementation for the $type$ type.
- ''' </summary>
- ' <State("Put a state name here")>
- ' <SubModel("Put a submodel name here")>
- <Model(GetType($type$))> _
- Public Class $type$Model
- Inherits $basetype$Model
-
- #Region "Constructors"
- ''' <summary>
- ''' Initializes a new $type$Model instance.
- ''' </summary>
- Public Sub New()
-
- End Sub
-
- ''' <summary>
- ''' Initializes a new "$name$Model" instance to model the modelledType type.
- ''' </summary>
- ''' <param name="modelledType">
- ''' Target Type of the model
- ''' </param>
- Public Sub New(ByVal modelledType As Type)
- MyBase.New(modelledType)
- If Not GetType($type$).IsAssignableFrom(modelledType)
- Throw New ArgumentException("$type$ is not assignable from "+modelledType.FullName,"modelledType")
- End If
- End Sub
- #End Region
-
- #Region "Transitions"
- <Transition()> _
- Public Sub SampleTransition(ByVal target As $type$)
- Throw New NotImplementedException()
- End Sub
-
- ''' <summary>
- ''' Gets the active ITransition instance for current target.
- ''' </summary>
- ''' <param name="transitions">
- ''' Collection of active ITransition names
- ''' </param>
- ''' <param name="target">
- ''' Current tested instance
- ''' </param>
- Protected Overrides Sub GetActiveTransitions( _
- ByVal transitions as ITransitionNameCollection , _
- ByVal target as Object)
-
- MyBase.GetActiveTransitions(transitions,target)
- Dim current As $type$ = DirectCast(target, $type$)
-
- End Sub
- #End Region
- End Class
-End Namespace
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/processtestfixture.snippet
@@ -1,75 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>ProcessTestFixture</Title>
- <Author>MbUnit</Author>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/ProcessTestFixture</HelpUrl>
- <Shortcut>processfixture</Shortcut>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <Default>MbUnitTests</Default>
- </Literal>
- <Literal>
- <ID>testName1</ID>
- <Default>Test1</Default>
- </Literal>
- <Literal>
- <ID>testName2</ID>
- <Default>Test2</Default>
- </Literal>
- <Literal>
- <ID>testName3</ID>
- <Default>Test3</Default>
- </Literal>
- <Literal>
- <ID>testName4</ID>
- <Default>Test4</Default>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>The class being tested</ToolTip>
- <Default>type</Default>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[Imports System
-Imports MbUnit.Framework
-
-Namespace $namespace$
-
- <ProcessTestFixture()> _
- Public Class $type$Test
-
- <Test(), _
- TestSequence(1)> _
- Public Sub $testName1$()
-
- End Sub
-
- <Test(), _
- TestSequence(2)> _
- Public Sub $testName2$()
-
- End Sub
-
- <Test(), _
- TestSequence(3)> _
- Public Sub $testName3$()
-
- End Sub
-
- <Test(), _
- TestSequence(4)> _
- Public Sub $testName4$()
-
- End Sub
-
- End Class
-
-End Namespace]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/rowtest.snippet
@@ -1,113 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>RowTest</Title>
- <Author>MbUnit</Author>
- <Description>Inserts a row test with 5 rows and 3 parameters.</Description>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/RowTestAttribute</HelpUrl>
- <Shortcut>rowtest</Shortcut>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>testName</ID>
- <Default>Test</Default>
- </Literal>
- <Literal>
- <ID>type1</ID>
- <Default>type1</Default>
- </Literal>
- <Literal>
- <ID>arg1Name</ID>
- <Default>arg1Name</Default>
- </Literal>
- <Literal>
- <ID>type2</ID>
- <Default>type2</Default>
- </Literal>
- <Literal>
- <ID>arg2Name</ID>
- <Default>arg2Name</Default>
- </Literal>
- <Literal>
- <ID>type3</ID>
- <Default>type3</Default>
- </Literal>
- <Literal>
- <ID>arg3Name</ID>
- <Default>arg3Name</Default>
- </Literal>
- <Literal>
- <ID>value1</ID>
- <Default>value1</Default>
- </Literal>
- <Literal>
- <ID>value2</ID>
- <Default>value2</Default>
- </Literal>
- <Literal>
- <ID>value3</ID>
- <Default>value3</Default>
- </Literal>
- <Literal>
- <ID>value4</ID>
- <Default>value4</Default>
- </Literal>
- <Literal>
- <ID>value5</ID>
- <Default>value5</Default>
- </Literal>
- <Literal>
- <ID>value6</ID>
- <Default>value6</Default>
- </Literal>
- <Literal>
- <ID>value7</ID>
- <Default>value7</Default>
- </Literal>
- <Literal>
- <ID>value8</ID>
- <Default>value8</Default>
- </Literal>
- <Literal>
- <ID>value9</ID>
- <Default>value9</Default>
- </Literal>
- <Literal>
- <ID>value10</ID>
- <Default>value10</Default>
- </Literal>
- <Literal>
- <ID>value11</ID>
- <Default>value11</Default>
- </Literal>
- <Literal>
- <ID>value12</ID>
- <Default>value12</Default>
- </Literal>
- <Literal>
- <ID>value13</ID>
- <Default>value13</Default>
- </Literal>
- <Literal>
- <ID>value14</ID>
- <Default>value14</Default>
- </Literal>
- <Literal>
- <ID>value15</ID>
- <Default>value15</Default>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[ <RowTest(), _
- Row($value1$,$value2$,$value3$), _
- Row($value4$,$value5$,$value6$), _
- Row($value7$,$value8$,$value9$), _
- Row($value10$,$value11$,$value12$), _
- Row($value13$,$value14$,$value15$)> _
- Public Sub $testName$(ByVal $arg1Name$ As $type1$, ByVal $arg2Name$ As $type2$, ByVal $arg3Name$ As $type3$)
-
- End Sub]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/state.snippet
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>IState wrapper</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a IState wrapper</Description>
- <Shortcut>state</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>State Name</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[ Public Property $name$State as IState
- Get
- Return Me.States("$name$")
- End Get
- End Property ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/submodel.snippet
@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>ISubModel wrapper</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a ISubModel wrapper</Description>
- <Shortcut>submodel</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>model</ID>
- <ToolTip>Model type</ToolTip>
- </Literal>
- <Literal>
- <ID>name</ID>
- <ToolTip>SubModel Name</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[ Public ReadOnly Property $name$Model As $model$
- Get
- Return DirectCast(Me.SubModels("$name$").Model, $model$)
- End Get
- End Property
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/test.snippet
@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>Test Method</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a Test method</Description>
- <Shortcut>test</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>TestName</ToolTip>
- <Default>Test</Default>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[ <Test()> _
- Public Sub $name$()
-
- End Sub
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/testexpectedexception.snippet
@@ -1,32 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>Test Method with ExpectedException</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a Test method with and expected exception</Description>
- <Shortcut>testexpectedexception</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>TestName</ToolTip>
- <Default>Test</Default>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Expected Exception Type</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[ <Test(),ExpectedException(GetType($type$Exception))> _
- Public Sub $name$()
-
- End Sub
-]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/testfixture.snippet
@@ -1,68 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>TestFixture</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for TestFixture</Description>
- <Shortcut>testfixture</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- <Default>MbUnitTests</Default>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Tested type</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[Imports System
-Imports MbUnit.Framework
-
-Namespace $namespace$
-
- ''' <summary>
- ''' A TestFixture for the $type$ class.
- ''' </summary>
- <TestFixture(), _
- TestsOn(GetType($type$))> _
- Public Class $type$Test
- #Region "Fields, SetUp and TearDown"
- Private target As $type$ = Nothing
-
- ''' <summary>
- ''' Sets up the fixture
- ''' </summary>
- <SetUp()> _
- Public Sub SetUp()
- Mew.target = New $type$()
- End Sub
- ''' <summary>
- ''' Cleans up the fixture
- '' </summary>
- <TearDown()> _
- public void TearDown()
- Dim disposable As IDisposable = TryCast(this.target, IDisposable)
- If disposable IsNot Nothing Then
- disposable.Dispose()
- End If
- End Sub
- #End Region
-
- #Region "Test cases"
- <Test()> _
- Public Sub Test()
-
- End Sub
- #End Region
- End Class
-End Namespace]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/testsuitefixture.snippet
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>TestSuiteFixture</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for TestSuiteFixture</Description>
- <Shortcut>testsuitefixture</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- <Default>MbUnitTests</Default>
- </Literal>
- <Literal>
- <ID>name</ID>
- <ToolTip>Fixture name</ToolTip>
- <Default>My</Default>
- </Literal>
- <Literal>
- <ID>suiteName</ID>
- <ToolTip>Suite name</ToolTip>
- <Default>Suite</Default>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[Imports System
-Imports MbUnit.Framework
-
-Namespace $namespace$
- <TestSuiteFixture()> _
- Public Class $name$Test
- <TestSuite()> _
- Public Function $suiteName$() As TestSuite
- Dim suite As TestSuite = New TestSuite("$suiteName$")
-
- Return suite
- End Function
- End Class
-End Namespace
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/typefixture.snippet
@@ -1,74 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>TypeFixture</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for TypeFixture</Description>
- <HelpUrl>http://www.mertner.com/confluence/display/MbUnit/TypeFixture</HelpUrl>
- <Shortcut>typefixture</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- <Default>MbUnitTests</Default>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Tested type</ToolTip>
- </Literal>
- <Literal>
- <ID>instanceName</ID>
- <Default>instanceName</Default>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[Imports System
-Imports MbUnit.Core.Framework
-Imports MbUnit.Framework
-
-Namespace $namespace$
- ''' <summary>
- ''' A TypeFixture for the $type$ class.
- ''' </summary>
- <TypeFixture(GetType($type$)), _
- TestsOn(GetType($type$))> _
- Public Class $type$Test
- #Region "SetUp and TearDown"
- ''' <summary>
- ''' Initializes the fixture
- ''' </summary>
- <SetUp()> _
- Public Sub SetUp(ByVal value As $type$)
- End Sub
- ''' <summary>
- ''' Cleans up the fixture
- ''' </summary>
- <TearDown()> _
- Public Sub TearDown(ByVal value As $type$)
- End Sub
- #End Region
-
- #Region "Test cases"
- <Test()> _
- Public Sub Test(ByVal value As $type$)
- End Sub
- #End Region
-
- #Region "Providers"
- <Provider(typeof($type$))> _
- Public Function Provider$type$() As $type$
- Dim $instanceName$ As $type$ = New $type$()
- Return $instanceName$
- End Function
- #End Region
- End Class
-End Namespace
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/typefixturewithproviderfactory.snippet
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>TypeFixture with Provider Factory</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for TypeFixture</Description>
- <Shortcut>typefixturefac</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>namespace</ID>
- <ToolTip>Test namespace</ToolTip>
- <Default>MbUnitTests</Default>
- </Literal>
- <Literal>
- <ID>type</ID>
- <ToolTip>Tested type</ToolTip>
- </Literal>
- </Declarations>
- <Code Language="VB"><![CDATA[Imports System
-Imports MbUnit.Framework
-
-Namespace $namespace$
-
- ''' <summary>
- ''' A TypeFixture for the $type$ class.
- ''' </summary>
- <TypeFixture(GetType($type$)), _
- ProviderFactory(GetType($type$Factory), GetType($type$)), _
- TestsOn(GetType($type$))> _
- Public Class $type$Test
-
- #Region "SetUp and TearDown"
- ''' <summary>
- ''' Initializes the fixture
- ''' </summary>
- <SetUp()> _
- Public Sub SetUp(ByVal value As $type$)
-
- End Sub
- ''' <summary>
- ''' Cleans up the fixture
- ''' </summary>
- <TearDown()> _
- Public Sub TearDown(ByVal value As $type$)
-
- End Sub
- #End Region
-
- #Region "Test cases"
- <Test()> _
- Public Sub Test(ByVal value As $type$)
-
- End Sub
- #End Region
-
- End Class
-
- Public Class $type$Factory
- <Factory()> _
- Public ReadOnly Property Factory As $type$
- Get
- Return New $type$
- End Get
- End Property
- End Class
-
-End Namespace
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitVBSnippets/usingmbunit.snippet
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>Using MbUnit Includes</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for the MbUnit using statements</Description>
- <Shortcut>usingMbUnit</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Code Language="VB"><![CDATA[Imports MbUnit.Framework
-
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitXMLSnippets/msbuild.snippet
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>MSBuild task</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a MSBuild task</Description>
- <Shortcut>msbuild</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>Fixture name</ToolTip>
- <Default>My</Default>
- </Literal>
- </Declarations>
- <Code Language="XML"><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <UsingTask AssemblyName="MbUnit.MSBuild.Tasks" TaskName="MbUnit.MSBuild.Tasks.MbUnit"/>
- <ItemGroup>
- <TestAssemblies Include="$end$" />
- </ItemGroup>
- <Target Name="Tests">
- <MbUnit
- Assemblies ="@(TestAssemblies)"
- HaltOnFailure="false"
- ReportTypes="Xml;Text;Html;Dox"
- ReportFileNameFormat="mbunit-{0}-{1}"
- />
- </Target>
-</Project>
-
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/VSSnippets/MbUnitXMLSnippets/nant.snippet
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>NAnt task</Title>
- <Author>MbUnit</Author>
- <Description>Expansion snippet for a NAnt task</Description>
- <Shortcut>nant</Shortcut>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>name</ID>
- <ToolTip>Fixture name</ToolTip>
- <Default>My</Default>
- </Literal>
- </Declarations>
- <Code Language="XML"><![CDATA[<!-- MbUnit NAnt task definition -->
-<mbunit>
- <formatter type="Html"
- userfile="true"
- outputdir=".."
- />
- <test>
- $end$
- </test>
-</mbunit>
- ]]></Code>
- </Snippet>
- </CodeSnippet>
-</CodeSnippets>
\ No newline at end of file
slips/build/tools/mbunit/bin/log4net.dll
Binary file
slips/build/tools/mbunit/bin/MbUnit.AddIn.dll
Binary file
slips/build/tools/mbunit/bin/MbUnit.Cons.exe
Binary file
slips/build/tools/mbunit/bin/MbUnit.Cons.exe.config
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <runtime>
- <!-- Don't kill application on first uncaught exception. -->
- <legacyUnhandledExceptionPolicy enabled="1" />
- </runtime>
-
- <startup>
- <supportedRuntime version="v2.0.50727" />
- <supportedRuntime version="v1.1.4322"/>
- </startup>
-</configuration>
slips/build/tools/mbunit/bin/MbUnit.Framework.2.0.dll
Binary file
slips/build/tools/mbunit/bin/MbUnit.Framework.dll
Binary file
slips/build/tools/mbunit/bin/MbUnit.GUI.exe
Binary file
slips/build/tools/mbunit/bin/MbUnit.GUI.exe.config
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <runtime>
- <!-- Don't kill application on first uncaught exception. -->
- <legacyUnhandledExceptionPolicy enabled="1" />
- </runtime>
- <startup>
- <supportedRuntime version="v2.0.50727" />
- <supportedRuntime version="v1.1.4322"/>
- </startup>
- <appSettings>
- <add key="restorePreviousState" value="true" />
- </appSettings>
-</configuration>
\ No newline at end of file
slips/build/tools/mbunit/bin/MbUnit.MSBuild.Tasks.dll
Binary file
slips/build/tools/mbunit/bin/MbUnit.Tasks.dll
Binary file
slips/build/tools/mbunit/bin/NAnt.Core.dll
Binary file
slips/build/tools/mbunit/bin/NGraphviz.dll
Binary file
slips/build/tools/mbunit/bin/NGraphviz.Helpers.dll
Binary file
slips/build/tools/mbunit/bin/NGraphviz.Layout.dll
Binary file
slips/build/tools/mbunit/bin/QuickGraph.Algorithms.dll
Binary file
slips/build/tools/mbunit/bin/QuickGraph.Algorithms.Graphviz.dll
Binary file
slips/build/tools/mbunit/bin/QuickGraph.dll
Binary file
slips/build/tools/mbunit/bin/Refly.dll
Binary file
slips/build/tools/mbunit/bin/TestDriven.Framework.dll
Binary file
slips/build/tools/mbunit/bin/TestFu.dll
Binary file
slips/build/tools/mbunit/bin/uninst.exe
Binary file
slips/build/tools/mbunit/bin/XsdTidy.exe
Binary file