Skip to content

Commit 3bd9cdc

Browse files
committed
Updated build to reference registred MapWinGIS.
1 parent 4bbffcd commit 3bd9cdc

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

MapWinGisTests-net6/MapWinGisTests/MapWinGisTests.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<COMReference Include="MapWinGIS">
22-
<WrapperTool>tlbimp</WrapperTool>
23-
<VersionMinor>5</VersionMinor>
24-
<VersionMajor>5</VersionMajor>
25-
<Guid>c368d713-cc5f-40ed-9f53-f84fe197b96a</Guid>
26-
<Lcid>0</Lcid>
27-
<Isolated>false</Isolated>
28-
<EmbedInteropTypes>False</EmbedInteropTypes>
29-
</COMReference>
21+
<COMReference Include="MapWinGIS">
22+
<WrapperTool>tlbimp</WrapperTool>
23+
<VersionMinor>5</VersionMinor>
24+
<VersionMajor>5</VersionMajor>
25+
<Guid>c368d713-cc5f-40ed-9f53-f84fe197b96a</Guid>
26+
<Lcid>0</Lcid>
27+
<Isolated>false</Isolated>
28+
<EmbedInteropTypes>true</EmbedInteropTypes>
29+
</COMReference>
3030
</ItemGroup>
3131

3232
<ItemGroup>

MapWinGisTests-net6/MapWinGisTests/UnitTests/CodeCoverageTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ public CodeCoverageTests(ITestOutputHelper testOutputHelper)
1212
_testOutputHelper = testOutputHelper;
1313
}
1414

15-
//[Fact(Skip = "Unit test is not yet implemented")]
16-
public void CheckShapefileClass()
15+
[Fact]
16+
public void CheckShapefileClass()
1717
{
18-
CheckTests(typeof(ShapefileClass), "Shapefile");
18+
CheckTests(typeof(Shapefile), "Shapefile");
1919
}
2020

2121
[Fact]
2222
public void CheckShapeClass()
2323
{
24-
CheckTests(typeof(ShapeClass), "Shape");
24+
CheckTests(typeof(Shape), "Shape");
2525
}
2626

2727
[Fact]
2828
public void CheckGlobalSettingsClass()
2929
{
30-
CheckTests(typeof(GlobalSettingsClass), "GlobalSettings");
30+
CheckTests(typeof(GlobalSettings), "GlobalSettings");
3131
}
3232

3333
[Fact]
3434
public void CheckGdalUtilsClass()
3535
{
36-
CheckTests(typeof(GdalUtilsClass), "GdalUtils");
36+
CheckTests(typeof(GdalUtils), "GdalUtils");
3737
}
3838

3939
private void CheckTests(Type myType, string className, bool scaffoldUnitTests = false)

MapWinGisTests-net6/MapWinGisTests/UnitTests/ShapeTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public void ShapeIsEmptyTest()
320320
[Fact]
321321
public void ShapePut_ZTest()
322322
{
323-
Shape shape = new ShapeClass();
323+
Shape shape = new Shape();
324324
shape.ShapeType = ShpfileType.SHP_POINTZ;
325325
shape.AddPoint(100, 100);
326326

MapWinGisTests-net6/WinFormsApp1/WinFormsApp1.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<Guid>c368d713-cc5f-40ed-9f53-f84fe197b96a</Guid>
2727
<Lcid>0</Lcid>
2828
<Isolated>false</Isolated>
29-
<EmbedInteropTypes>False</EmbedInteropTypes>
29+
<EmbedInteropTypes>True</EmbedInteropTypes>
3030
</COMReference>
3131
</ItemGroup>
3232

0 commit comments

Comments
 (0)