File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
<PropertyGroup >
4
4
<SolutionDir Condition =" '$(SolutionDir)' == '' " >$(ProjectDir)..\</SolutionDir >
5
- <TargetFramework >net471 </TargetFramework >
5
+ <TargetFramework >netcoreapp2.0 </TargetFramework >
6
6
<GenerateAssemblyInfo >false</GenerateAssemblyInfo >
7
7
<!-- The NUnit 2 test adapter doesn't support portable PDBs. -->
8
8
<DebugType >full</DebugType >
17
17
<Reference Include =" System.Xml.Linq" />
18
18
19
19
<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" />
22
25
23
26
<ProjectReference Include =" $(SolutionDir)ProjNet\ProjNET.csproj" />
24
27
</ItemGroup >
Original file line number Diff line number Diff line change @@ -312,9 +312,9 @@ public void ParseFittedCoordinateSystemWkt ()
312
312
Assert . Fail ( "Could not create fitted coordinate system from:\r \n " + wkt + "\r \n " + ex . Message ) ;
313
313
}
314
314
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 ) ;
318
318
319
319
Assert . AreEqual ( "Local coordinate system MNAU (based on Gauss-Krueger)" , fcs . Name ) ;
320
320
//Assert.AreEqual ("CUSTOM", fcs.Authority);
You can’t perform that action at this time.
0 commit comments