Skip to content

Commit 0780920

Browse files
committed
update 'nunit'
1 parent 4546907 commit 0780920

File tree

10 files changed

+25
-42
lines changed

10 files changed

+25
-42
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
msbuild money/cs-money.csproj /p:Configuration=Debug /p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml
2121
- name: Test
2222
run: |
23-
.\money\packages\OpenCover.4.7.1221\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.13.2\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
23+
.\money\packages\OpenCover.4.7.1221\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.16.3\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
2424
- name: Push
2525
run: |
2626
testspace analysis.xml [Tests]TestResult.xml coverage.xml

ExpectedExceptionExample/ExpectedExceptionExample.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
3-
<Import Project="packages\NUnit.3.13.2\build\NUnit.props" Condition="Exists('packages\NUnit.3.13.2\build\NUnit.props')" />
3+
<Import Project="packages\NUnit.3.14.0\build\NUnit.props" Condition="Exists('packages\NUnit.3.14.0\build\NUnit.props')" />
44
<PropertyGroup>
55
<ProjectType>Local</ProjectType>
66
<ProductVersion>7.10.3077</ProductVersion>
@@ -61,8 +61,8 @@
6161
<Prefer32Bit>false</Prefer32Bit>
6262
</PropertyGroup>
6363
<ItemGroup>
64-
<Reference Include="nunit.framework, Version=3.13.2.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
65-
<HintPath>packages\NUnit.3.13.2\lib\net45\nunit.framework.dll</HintPath>
64+
<Reference Include="nunit.framework, Version=3.14.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
65+
<HintPath>packages\NUnit.3.14.0\lib\net462\nunit.framework.dll</HintPath>
6666
<Private>True</Private>
6767
</Reference>
6868
<Reference Include="System">
@@ -92,6 +92,6 @@
9292
<PropertyGroup>
9393
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
9494
</PropertyGroup>
95-
<Error Condition="!Exists('packages\NUnit.3.13.2\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NUnit.3.13.2\build\NUnit.props'))" />
95+
<Error Condition="!Exists('packages\NUnit.3.14.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NUnit.3.14.0\build\NUnit.props'))" />
9696
</Target>
9797
</Project>
+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="NUnit" version="3.13.2" targetFramework="net461" />
4-
<package id="NUnit.ConsoleRunner" version="3.13.2" targetFramework="net461" />
3+
<package id="NUnit" version="3.14.0" targetFramework="net462" />
4+
<package id="NUnit3TestAdapter" version="4.5.0" targetFramework="net462" />
5+
<package id="NUnit.ConsoleRunner" version="3.16.3" targetFramework="net462" />
56
</packages>

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build_script:
1212
- msbuild money/cs-money.csproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml
1313

1414
test_script:
15-
- .\money\packages\OpenCover.4.7.1221\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.13.2\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
15+
- .\money\packages\OpenCover.4.7.1221\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.16.3\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
1616

1717
after_test:
1818
- testspace analysis.xml [Tests]TestResult.xml coverage.xml

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
configuration: Debug
2121
msbuildArgs: '/p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml'
2222
- script: |
23-
.\money\packages\OpenCover.4.7.1221\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.13.2\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
23+
.\money\packages\OpenCover.4.7.1221\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.16.3\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
2424
displayName: 'Test'
2525
- script: |
2626
testspace analysis.xml [Tests]TestResult.xml coverage.xml

desktopbuild.bat

-20
This file was deleted.

money/cs-money.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
3-
<Import Project="packages\NUnit.3.13.2\build\NUnit.props" Condition="Exists('packages\NUnit.3.13.2\build\NUnit.props')" />
3+
<Import Project="packages\NUnit.3.14.0\build\NUnit.props" Condition="Exists('packages\NUnit.3.14.0\build\NUnit.props')" />
44
<PropertyGroup>
55
<ProjectType>Local</ProjectType>
66
<ProductVersion>7.10.3077</ProductVersion>
@@ -61,8 +61,8 @@
6161
<Prefer32Bit>false</Prefer32Bit>
6262
</PropertyGroup>
6363
<ItemGroup>
64-
<Reference Include="nunit.framework, Version=3.13.2.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
65-
<HintPath>packages\NUnit.3.13.2\lib\net45\nunit.framework.dll</HintPath>
64+
<Reference Include="nunit.framework, Version=3.14.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
65+
<HintPath>packages\NUnit.3.14.0\lib\net462\nunit.framework.dll</HintPath>
6666
<Private>True</Private>
6767
</Reference>
6868
<Reference Include="System">
@@ -98,7 +98,7 @@
9898
<PropertyGroup>
9999
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
100100
</PropertyGroup>
101-
<Error Condition="!Exists('packages\NUnit.3.13.2\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NUnit.3.13.2\build\NUnit.props'))" />
101+
<Error Condition="!Exists('packages\NUnit.3.14.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NUnit.3.14.0\build\NUnit.props'))" />
102102
<Error Condition="!Exists('packages\OpenCover.4.7.1221\build\OpenCover.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\OpenCover.4.7.1221\build\OpenCover.targets'))" />
103103
</Target>
104104
<Import Project="packages\OpenCover.4.7.1221\build\OpenCover.targets" Condition="Exists('packages\OpenCover.4.7.1221\build\OpenCover.targets')" />

money/packages.config

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="NUnit" version="3.13.2" targetFramework="net461" />
4-
<package id="NUnit.ConsoleRunner" version="3.13.2" targetFramework="net461" />
5-
<package id="OpenCover" version="4.7.1221" targetFramework="net461" />
3+
<package id="NUnit" version="3.14.0" targetFramework="net462" />
4+
<package id="NUnit3TestAdapter" version="4.5.0" targetFramework="net462" />
5+
<package id="NUnit.ConsoleRunner" version="3.16.3" targetFramework="net462" />
6+
<package id="OpenCover" version="4.7.1221" targetFramework="net462" />
67
</packages>

syntax/cs-syntax.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
3-
<Import Project="packages\NUnit.3.13.2\build\NUnit.props" Condition="Exists('packages\NUnit.3.13.2\build\NUnit.props')" />
3+
<Import Project="packages\NUnit.3.14.0\build\NUnit.props" Condition="Exists('packages\NUnit.3.14.0\build\NUnit.props')" />
44
<PropertyGroup>
55
<ProjectType>Local</ProjectType>
66
<ProductVersion>7.10.3077</ProductVersion>
@@ -61,8 +61,8 @@
6161
<Prefer32Bit>false</Prefer32Bit>
6262
</PropertyGroup>
6363
<ItemGroup>
64-
<Reference Include="nunit.framework, Version=3.13.2.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
65-
<HintPath>packages\NUnit.3.13.2\lib\net45\nunit.framework.dll</HintPath>
64+
<Reference Include="nunit.framework, Version=3.14.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
65+
<HintPath>packages\NUnit.3.14.0\lib\net462\nunit.framework.dll</HintPath>
6666
<Private>True</Private>
6767
</Reference>
6868
<Reference Include="System">
@@ -89,6 +89,6 @@
8989
<PropertyGroup>
9090
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
9191
</PropertyGroup>
92-
<Error Condition="!Exists('packages\NUnit.3.13.2\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NUnit.3.13.2\build\NUnit.props'))" />
92+
<Error Condition="!Exists('packages\NUnit.3.14.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NUnit.3.14.0\build\NUnit.props'))" />
9393
</Target>
9494
</Project>

syntax/packages.config

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="NUnit" version="3.13.2" targetFramework="net461" />
4-
<package id="NUnit.ConsoleRunner" version="3.13.2" targetFramework="net461" />
3+
<package id="NUnit" version="3.14.0" targetFramework="net462" />
4+
<package id="NUnit3TestAdapter" version="4.5.0" targetFramework="net462" />
5+
<package id="NUnit.ConsoleRunner" version="3.16.3" targetFramework="net462" />
56
</packages>

0 commit comments

Comments
 (0)