Skip to content

Commit 969b16e

Browse files
committed
Updated to xbim 5.1 release dependencies.
Added runsettings needed to run tests locally in VS2019 (due to presence of DeploymentItem and github.com/microsoft/testfx/issues/295 )
1 parent d665cea commit 969b16e

File tree

7 files changed

+84
-5
lines changed

7 files changed

+84
-5
lines changed

Tests/Xbim.CobieExpress.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.1.1" />
1212
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
1313
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
14-
<PackageReference Include="Xbim.IO.Esent" Version="5.1.259" />
14+
<PackageReference Include="Xbim.IO.Esent" Version="5.1.274" />
1515
<PackageReference Include="xunit" Version="2.4.1" />
1616
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
1717
<PrivateAssets>all</PrivateAssets>

Xbim.CobieExpress.Exchanger/Xbim.CobieExpress.Exchanger.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.1.1" />
2222
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
2323
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
24-
<PackageReference Include="Xbim.Ifc4" Version="5.1.259" />
24+
<PackageReference Include="Xbim.Ifc4" Version="5.1.274" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

Xbim.CobieExpress.sln

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1919
LICENCE.md = LICENCE.md
2020
nuget.config = nuget.config
2121
README.md = README.md
22+
test.runsettings = test.runsettings
2223
EndProjectSection
2324
EndProject
2425
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xbim.IO.CobieExpress", "Xbim.IO.CobieExpress\Xbim.IO.CobieExpress.csproj", "{60334EBC-29A5-4B58-A65B-3A0BFF739A75}"

Xbim.CobieExpress/Xbim.CobieExpress.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Allows COBie data sources to be read, queried, created and updated in similar manner to how IFC is with Xbim.Ifc4/Ifc2x3</Description>
1010
</PropertyGroup>
1111
<ItemGroup>
12-
<PackageReference Include="Xbim.Common" Version="5.1.259" />
12+
<PackageReference Include="Xbim.Common" Version="5.1.274" />
1313
</ItemGroup>
1414
<ItemGroup>
1515
<Folder Include="Properties\" />

Xbim.IO.CobieExpress/Xbim.IO.CobieExpress.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</ItemGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="Xbim.Ifc" Version="5.1.259" />
15+
<PackageReference Include="Xbim.Ifc" Version="5.1.274" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

Xbim.IO.Table/Xbim.IO.Table.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99
<ItemGroup>
1010
<PackageReference Include="NPOI" Version="2.4.0" />
11-
<PackageReference Include="Xbim.Common" Version="5.1.259" />
11+
<PackageReference Include="Xbim.Common" Version="5.1.274" />
1212
</ItemGroup>
1313
<ItemGroup>
1414
<Folder Include="Properties\" />

test.runsettings

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RunSettings>
3+
<RunConfiguration>
4+
<!--<BatchSize>1000</BatchSize>-->
5+
<ResultsDirectory>.\TestResults</ResultsDirectory>
6+
<TargetFrameworkVersion>.NETFramework,Version=v4.7</TargetFrameworkVersion>
7+
8+
</RunConfiguration>
9+
<MSTestV2>
10+
<DeployTestSourceDependencies>false</DeployTestSourceDependencies>
11+
</MSTestV2>
12+
<DataCollectionRunSettings>
13+
<DataCollectors>
14+
<DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName="Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
15+
<Configuration>
16+
<CodeCoverage>
17+
<ModulePaths>
18+
<Include>
19+
<ModulePath>.*.dll$</ModulePath>
20+
<ModulePath>.*.exe$</ModulePath>
21+
</Include>
22+
<Exclude>
23+
<ModulePath>.*CPPUnitTestFramework.*</ModulePath>
24+
</Exclude>
25+
</ModulePaths>
26+
<Functions>
27+
<Exclude>
28+
<Function>^std::.*</Function>
29+
<Function>^ATL::.*</Function>
30+
<Function>.*::__GetTestMethodInfo.*</Function>
31+
<Function>^Microsoft::VisualStudio::CppCodeCoverageFramework::.*</Function>
32+
<Function>^Microsoft::VisualStudio::CppUnitTestFramework::.*</Function>
33+
</Exclude>
34+
</Functions>
35+
<Attributes>
36+
<Exclude>
37+
<Attribute>^System\\.Diagnostics\\.DebuggerHiddenAttribute$</Attribute>
38+
<Attribute>^System\\.Diagnostics\\.DebuggerNonUserCodeAttribute$</Attribute>
39+
<Attribute>^System\\.Runtime\\.CompilerServices.CompilerGeneratedAttribute$</Attribute>
40+
<Attribute>^System\\.CodeDom\\.Compiler.GeneratedCodeAttribute$</Attribute>
41+
<Attribute>^System\\.Diagnostics\\.CodeAnalysis.ExcludeFromCodeCoverageAttribute$</Attribute>
42+
</Exclude>
43+
</Attributes>
44+
<Sources>
45+
<Exclude>
46+
<Source>.*\\atlmfc\\.*</Source>
47+
<Source>.*\\vctools\\.*</Source>
48+
<Source>.*\\public\\sdk\\.*</Source>
49+
<Source>.*\\microsoft sdks\\.*</Source>
50+
<Source>.*\\vc\\include\\.*</Source>
51+
</Exclude>
52+
</Sources>
53+
<CompanyNames>
54+
<Exclude>
55+
<CompanyName>.*microsoft.*</CompanyName>
56+
</Exclude>
57+
</CompanyNames>
58+
<PublicKeyTokens>
59+
<Exclude>
60+
<PublicKeyToken>^B77A5C561934E089$</PublicKeyToken>
61+
<PublicKeyToken>^B03F5F7F11D50A3A$</PublicKeyToken>
62+
<PublicKeyToken>^31BF3856AD364E35$</PublicKeyToken>
63+
<PublicKeyToken>^89845DCD8080CC91$</PublicKeyToken>
64+
<PublicKeyToken>^71E9BCE111E9429C$</PublicKeyToken>
65+
<PublicKeyToken>^8F50407C4E9E73B6$</PublicKeyToken>
66+
<PublicKeyToken>^E361AF139669C375$</PublicKeyToken>
67+
</Exclude>
68+
</PublicKeyTokens>
69+
<UseVerifiableInstrumentation>True</UseVerifiableInstrumentation>
70+
<AllowLowIntegrityProcesses>True</AllowLowIntegrityProcesses>
71+
<CollectFromChildProcesses>True</CollectFromChildProcesses>
72+
<CollectAspDotNet>False</CollectAspDotNet>
73+
</CodeCoverage>
74+
</Configuration>
75+
</DataCollector>
76+
</DataCollectors>
77+
</DataCollectionRunSettings>
78+
</RunSettings>

0 commit comments

Comments
 (0)