forked from paulyoder/LinqToExcel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
88 changed files
with
66,655 additions
and
66,655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
copyright (c) 2008-2010 Paul Yoder | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
copyright (c) 2008-2010 Paul Yoder | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
Copyright � 2005-2007 Andrew Stopford | ||
Portions Copyright � 2000-2004 Jonathan De Halleux, Jamie Cansdale | ||
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. | ||
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: | ||
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required. | ||
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. | ||
3. This notice may not be removed or altered from any source distribution. | ||
License Note | ||
Copyright � 2005-2007 Andrew Stopford | ||
|
||
Portions Copyright � 2000-2004 Jonathan De Halleux, Jamie Cansdale | ||
|
||
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. | ||
|
||
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: | ||
|
||
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required. | ||
|
||
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. | ||
|
||
3. This notice may not be removed or altered from any source distribution. | ||
|
||
License Note | ||
|
||
This license is based on the open source zlib/libpng license. The idea was to keep the license as simple as possible to encourage use of MbUnit in free and commercial applications and libraries, but to keep the source code together and to give credit to the MbUnit contributors for their efforts. While this license allows shipping MbUnit in source and binary form, if shipping a MbUnit variant is the sole purpose of your product, please let us know. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[InternetShortcut] | ||
URL=http://docs.mbunit.com/MbUnit.Documentation.chm | ||
[InternetShortcut] | ||
URL=http://docs.mbunit.com/MbUnit.Documentation.chm | ||
Modified=B0249BA20AD6C401B6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[InternetShortcut] | ||
URL=http://docs.mbunit.com/ | ||
[InternetShortcut] | ||
URL=http://docs.mbunit.com/ | ||
Modified=B0249BA20AD6C401B6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<?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> | ||
<?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?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> | ||
<?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[InternetShortcut] | ||
URL=http://www.mbunit.com/ | ||
[InternetShortcut] | ||
URL=http://www.mbunit.com/ | ||
Modified=B0249BA20AD6C401B6 |
94 changes: 47 additions & 47 deletions
94
lib/MbUnit/VSSnippets/MbUnitCSharpSnippets/autorunner.snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
<?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> | ||
<?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> |
110 changes: 55 additions & 55 deletions
110
lib/MbUnit/VSSnippets/MbUnitCSharpSnippets/combinatorialtest.snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
<?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> | ||
<?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> |
Oops, something went wrong.