Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2994 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
7 changed files with 582 additions and 93 deletions
@ -0,0 +1,346 @@
@@ -0,0 +1,346 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using NUnit.Framework; |
||||
using ICSharpCode.Core; |
||||
using ICSharpCode.SharpDevelop; |
||||
using ICSharpCode.TextEditor; |
||||
using VBNetBinding; |
||||
using VBNetBinding.FormattingStrategy; |
||||
|
||||
namespace VBNetBinding.Tests |
||||
{ |
||||
/// <summary>
|
||||
/// Tests that Operator overrides have "End Operator" added after the user presses the return key.
|
||||
/// </summary>
|
||||
[TestFixture] |
||||
public class EndOperatorTests |
||||
{ |
||||
[TestFixtureSetUp] |
||||
public void SetUpFixture() |
||||
{ |
||||
if (!PropertyService.Initialized) { |
||||
PropertyService.InitializeService(String.Empty, String.Empty, "VBNetBindingTests"); |
||||
} |
||||
} |
||||
|
||||
/// <summary>
|
||||
/// Checks that when the user presses the return key after the Operator line that the
|
||||
/// expected code is generated.
|
||||
/// </summary>
|
||||
void RunFormatLineTest(string code, string expectedCode) |
||||
{ |
||||
string foo = "As Foo"; |
||||
int cursorOffset = code.IndexOf(foo) + foo.Length; |
||||
int line = 2; |
||||
|
||||
using (TextEditorControl editor = new TextEditorControl()) { |
||||
editor.Document.TextContent = code; |
||||
editor.ActiveTextAreaControl.Caret.Position = editor.Document.OffsetToPosition(cursorOffset); |
||||
VBFormattingStrategy formattingStrategy = new VBFormattingStrategy(); |
||||
formattingStrategy.FormatLine(editor.ActiveTextAreaControl.TextArea, line, cursorOffset, '\n'); |
||||
|
||||
Assert.AreEqual(expectedCode, editor.Document.TextContent); |
||||
} |
||||
} |
||||
|
||||
[Test] |
||||
public void AdditionOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator +(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator +(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void AdditionOperatorWithExistingEndOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator +(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator +(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void ExistingEndOperatorHasWhitespaceInbetween() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator +(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator +(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void AdditionOperatorHasWhitespaceAfterOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator + (ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator + (ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void AdditionOperatorWithNoWhitespace() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator+(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator+(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void SubtractionOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator -(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator -(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void IsTrueOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator IsTrue(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator IsTrue(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void MultiplicationOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator *(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator *(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void DivisionOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator /(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator /(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void IntegerDivisionOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator \\(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator \\(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void StringConcatenationOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator &(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator &(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void ExponentationcationOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator ^(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator ^(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void EqualityOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator =(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator =(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void GreaterThanOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator >(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator >(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void LessThanOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator <(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator <(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
[Test] |
||||
public void InequalityOperator() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator <>(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared Operator <>(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Operator\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
/// <summary>
|
||||
/// Check that a method that starts with "Operator" is ignored.
|
||||
/// </summary>
|
||||
[Test] |
||||
public void MethodStartsWithOperatorString() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Shared OperatorIgnore(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Shared OperatorIgnore(ByVal lhs As Foo, ByVal rhs As Foo) As Foo\r\n" + |
||||
"\t\r\n" + |
||||
"End Class"; |
||||
|
||||
RunFormatLineTest(code, expectedCode); |
||||
} |
||||
|
||||
} |
||||
} |
||||
@ -0,0 +1,60 @@
@@ -0,0 +1,60 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using NUnit.Framework; |
||||
using ICSharpCode.Core; |
||||
using ICSharpCode.SharpDevelop; |
||||
using ICSharpCode.TextEditor; |
||||
using VBNetBinding; |
||||
using VBNetBinding.FormattingStrategy; |
||||
|
||||
namespace VBNetBinding.Tests |
||||
{ |
||||
/// <summary>
|
||||
/// Tests that Operator overrides have "End Operator" added after the user presses the return key.
|
||||
/// </summary>
|
||||
[TestFixture] |
||||
public class EndSubTests |
||||
{ |
||||
[TestFixtureSetUp] |
||||
public void SetUpFixture() |
||||
{ |
||||
if (!PropertyService.Initialized) { |
||||
PropertyService.InitializeService(String.Empty, String.Empty, "VBNetBindingTests"); |
||||
} |
||||
} |
||||
|
||||
[Test] |
||||
public void EndSub() |
||||
{ |
||||
string code = "Public Class Foo\r\n" + |
||||
"\tPublic Sub Bar\r\n" + |
||||
"\r\n" + // This extra new line is required. This is the new line just entered by the user.
|
||||
"End Class"; |
||||
|
||||
string bar = "Bar"; |
||||
int cursorOffset = code.IndexOf(bar) + bar.Length; |
||||
int line = 2; |
||||
|
||||
string expectedCode = "Public Class Foo\r\n" + |
||||
"\tPublic Sub Bar\r\n" + |
||||
"\t\t\r\n" + |
||||
"\tEnd Sub\r\n" + |
||||
"End Class"; |
||||
|
||||
using (TextEditorControl editor = new TextEditorControl()) { |
||||
editor.Document.TextContent = code; |
||||
editor.ActiveTextAreaControl.Caret.Position = editor.Document.OffsetToPosition(cursorOffset); |
||||
VBFormattingStrategy formattingStrategy = new VBFormattingStrategy(); |
||||
formattingStrategy.FormatLine(editor.ActiveTextAreaControl.TextArea, line, cursorOffset, '\n'); |
||||
|
||||
Assert.AreEqual(expectedCode, editor.Document.TextContent); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
@ -0,0 +1,54 @@
@@ -0,0 +1,54 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00 |
||||
# Visual Studio 2008 |
||||
# SharpDevelop 3.0.0.2993 |
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBNetBinding.Tests", "VBNetBinding.Tests.csproj", "{50A89267-A28B-4DF3-8E62-912E005143B8}" |
||||
EndProject |
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VBNetBinding", "..\Project\VBNetBinding.csproj", "{BF38FB72-B380-4196-AF8C-95749D726C61}" |
||||
EndProject |
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.Core", "..\..\..\..\Main\Core\Project\ICSharpCode.Core.csproj", "{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}" |
||||
EndProject |
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.SharpDevelop", "..\..\..\..\Main\Base\Project\ICSharpCode.SharpDevelop.csproj", "{2748AD25-9C63-4E12-877B-4DCE96FBED54}" |
||||
EndProject |
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.SharpDevelop.Dom", "..\..\..\..\Main\ICSharpCode.SharpDevelop.Dom\Project\ICSharpCode.SharpDevelop.Dom.csproj", "{924EE450-603D-49C1-A8E5-4AFAA31CE6F3}" |
||||
EndProject |
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.TextEditor", "..\..\..\..\Libraries\ICSharpCode.TextEditor\Project\ICSharpCode.TextEditor.csproj", "{2D18BE89-D210-49EB-A9DD-2246FBB3DF6D}" |
||||
EndProject |
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NRefactory", "..\..\..\..\Libraries\NRefactory\Project\NRefactory.csproj", "{3A9AE6AA-BC07-4A2F-972C-581E3AE2F195}" |
||||
EndProject |
||||
Global |
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
||||
Debug|Any CPU = Debug|Any CPU |
||||
Release|Any CPU = Release|Any CPU |
||||
EndGlobalSection |
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
||||
{50A89267-A28B-4DF3-8E62-912E005143B8}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||
{50A89267-A28B-4DF3-8E62-912E005143B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||
{50A89267-A28B-4DF3-8E62-912E005143B8}.Release|Any CPU.Build.0 = Release|Any CPU |
||||
{50A89267-A28B-4DF3-8E62-912E005143B8}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||
{BF38FB72-B380-4196-AF8C-95749D726C61}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||
{BF38FB72-B380-4196-AF8C-95749D726C61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||
{BF38FB72-B380-4196-AF8C-95749D726C61}.Release|Any CPU.Build.0 = Release|Any CPU |
||||
{BF38FB72-B380-4196-AF8C-95749D726C61}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||
{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||
{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||
{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}.Release|Any CPU.Build.0 = Release|Any CPU |
||||
{35CEF10F-2D4C-45F2-9DD1-161E0FEC583C}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||
{2748AD25-9C63-4E12-877B-4DCE96FBED54}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||
{2748AD25-9C63-4E12-877B-4DCE96FBED54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||
{2748AD25-9C63-4E12-877B-4DCE96FBED54}.Release|Any CPU.Build.0 = Release|Any CPU |
||||
{2748AD25-9C63-4E12-877B-4DCE96FBED54}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||
{924EE450-603D-49C1-A8E5-4AFAA31CE6F3}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||
{924EE450-603D-49C1-A8E5-4AFAA31CE6F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||
{924EE450-603D-49C1-A8E5-4AFAA31CE6F3}.Release|Any CPU.Build.0 = Release|Any CPU |
||||
{924EE450-603D-49C1-A8E5-4AFAA31CE6F3}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||
{2D18BE89-D210-49EB-A9DD-2246FBB3DF6D}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||
{2D18BE89-D210-49EB-A9DD-2246FBB3DF6D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||
{2D18BE89-D210-49EB-A9DD-2246FBB3DF6D}.Release|Any CPU.Build.0 = Release|Any CPU |
||||
{2D18BE89-D210-49EB-A9DD-2246FBB3DF6D}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||
{3A9AE6AA-BC07-4A2F-972C-581E3AE2F195}.Debug|Any CPU.Build.0 = Debug|Any CPU |
||||
{3A9AE6AA-BC07-4A2F-972C-581E3AE2F195}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
||||
{3A9AE6AA-BC07-4A2F-972C-581E3AE2F195}.Release|Any CPU.Build.0 = Release|Any CPU |
||||
{3A9AE6AA-BC07-4A2F-972C-581E3AE2F195}.Release|Any CPU.ActiveCfg = Release|Any CPU |
||||
EndGlobalSection |
||||
EndGlobal |
||||
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
<configuration> |
||||
<configSections> |
||||
<sectionGroup name="NUnit"> |
||||
<section name="TestRunner" type="System.Configuration.NameValueSectionHandler" /> |
||||
</sectionGroup> |
||||
</configSections> |
||||
<NUnit> |
||||
<TestRunner> |
||||
<!-- Valid values are STA,MTA. Others ignored. --> |
||||
<add key="ApartmentState" value="STA" /> |
||||
</TestRunner> |
||||
</NUnit> |
||||
</configuration> |
||||
Loading…
Reference in new issue