File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 22<Project Sdk =" Microsoft.NET.Sdk" >
33 <PropertyGroup >
44 <SolutionDir Condition =" '$(SolutionDir)' == '' " >$(ProjectDir)..\</SolutionDir >
5- <TargetFramework >net471 </TargetFramework >
5+ <TargetFramework >netcoreapp2.0 </TargetFramework >
66 <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
77 <!-- The NUnit 2 test adapter doesn't support portable PDBs. -->
88 <DebugType >full</DebugType >
1717 <Reference Include =" System.Xml.Linq" />
1818
1919 <PackageReference Include =" GeoAPI.CoordinateSystems" Version =" $(GeoAPIPackageReferenceVersion)" />
20- <PackageReference Include =" NUnit" Version =" 2.6.4" />
21- <PackageReference Include =" Npgsql" Version =" 2.2.7" />
20+
21+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.0.1" />
22+ <PackageReference Include =" NUnit" Version =" 3.10.1" />
23+ <PackageReference Include =" Npgsql" Version =" 4.0.5" />
24+ <PackageReference Include =" NUnit3TestAdapter" Version =" 3.10.0" />
2225
2326 <ProjectReference Include =" $(SolutionDir)ProjNet\ProjNET.csproj" />
2427 </ItemGroup >
Original file line number Diff line number Diff line change @@ -312,9 +312,9 @@ public void ParseFittedCoordinateSystemWkt ()
312312 Assert . Fail ( "Could not create fitted coordinate system from:\r \n " + wkt + "\r \n " + ex . Message ) ;
313313 }
314314
315- Assert . IsNotNull ( fcs ) ;
316- Assert . IsNotNullOrEmpty ( fcs . ToBase ( ) ) ;
317- Assert . IsNotNull ( fcs . BaseCoordinateSystem ) ;
315+ Assert . That ( fcs , Is . Not . Null ) ;
316+ Assert . That ( fcs . ToBase ( ) , Is . Not . Null . Or . Empty ) ;
317+ Assert . That ( fcs . BaseCoordinateSystem , Is . Not . Null ) ;
318318
319319 Assert . AreEqual ( "Local coordinate system MNAU (based on Gauss-Krueger)" , fcs . Name ) ;
320320 //Assert.AreEqual ("CUSTOM", fcs.Authority);
You can’t perform that action at this time.
0 commit comments