Skip to content

Commit 19684d7

Browse files
author
slavara
committed
[UnitTests] Cleanup...
1 parent b54df49 commit 19684d7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

PostfixCodeCompletion.Tests/Completion/PostfixGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class GeneratorJob : PostfixGeneratorTests
2121
static string ConvertWinNewlineToUnix(string s) => s.Replace("\r\n", "\n");
2222

2323
static string ReadCode(string fileName) => ConvertWinNewlineToUnix(TestFile.ReadAllText($"PostfixCodeCompletion.Test_Files.generated.as3.{fileName}.as"));
24+
2425
static string ReadSnippet(string fileName) => ConvertWinNewlineToUnix(TestFile.ReadAllText($"PostfixCodeCompletion.Test_Snippets.as3.postfixgenerators.{fileName}.fds"));
2526

2627
protected string Generate(string sourceText, ClassModel type, string template, string pccpattern)
@@ -42,7 +43,6 @@ protected string Generate(string sourceText, ClassModel type, string template, s
4243
return ConvertWinNewlineToUnix(sci.Text);
4344
}
4445

45-
[TestFixture]
4646
public class AS3GeneratorTests : GeneratorJob
4747
{
4848
[OneTimeSetUp]

PostfixCodeCompletion.Tests/PostfixCodeCompletion.Tests.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
<PlatformTarget>x86</PlatformTarget>
4040
<ErrorReport>prompt</ErrorReport>
4141
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
42+
<LangVersion>9</LangVersion>
4243
</PropertyGroup>
4344
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
4445
<OutputPath>..\..\..\..\FlashDevelop\Bin\Debug\</OutputPath>
@@ -48,17 +49,21 @@
4849
<PlatformTarget>x86</PlatformTarget>
4950
<ErrorReport>prompt</ErrorReport>
5051
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
52+
<LangVersion>9</LangVersion>
5153
</PropertyGroup>
5254
<ItemGroup>
5355
<Reference Include="Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
5456
<HintPath>..\..\..\..\packages\Castle.Core.4.4.1\lib\net45\Castle.Core.dll</HintPath>
57+
<Private>True</Private>
5558
</Reference>
5659
<Reference Include="Microsoft.CSharp" />
5760
<Reference Include="NSubstitute, Version=4.2.0.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL">
5861
<HintPath>..\..\..\..\packages\NSubstitute.4.2.2\lib\net46\NSubstitute.dll</HintPath>
62+
<Private>True</Private>
5963
</Reference>
6064
<Reference Include="nunit.framework, Version=3.12.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
6165
<HintPath>..\..\..\..\packages\NUnit.3.12.0\lib\net45\nunit.framework.dll</HintPath>
66+
<Private>True</Private>
6267
</Reference>
6368
<Reference Include="System" />
6469
<Reference Include="System.Configuration" />
@@ -208,6 +213,9 @@
208213
<Private>False</Private>
209214
</ProjectReference>
210215
</ItemGroup>
216+
<ItemGroup>
217+
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
218+
</ItemGroup>
211219
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
212220
<Import Project="..\..\..\..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('..\..\..\..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
213221
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">

0 commit comments

Comments
 (0)