Skip to content

Commit a156edb

Browse files
committed
Updated test packages
1 parent 6db10eb commit a156edb

4 files changed

Lines changed: 5 additions & 20 deletions

File tree

Cadmus.Epigraphy.Parts.Test/Cadmus.Epigraphy.Parts.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
1515
<PackageReference Include="xunit" Version="2.9.3" />
1616
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.0">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

Cadmus.Epigraphy.Parts.Test/EpiSupportPartTest.cs

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using Cadmus.Seed.Epigraphy.Parts;
55
using System;
66
using System.Collections.Generic;
7-
using System.Linq;
87
using Xunit;
98

109
namespace Cadmus.Epigraphy.Parts.Test;
@@ -105,28 +104,12 @@ public void GetDataPins_Ok()
105104
];
106105

107106
List<DataPin> pins = [.. part.GetDataPins(null)];
108-
Assert.Equal(16, pins.Count);
107+
Assert.Equal(12, pins.Count);
109108

110109
DataPin? pin = pins.Find(p => p.Name == "material" && p.Value == "stone");
111110
Assert.NotNull(pin);
112111
TestHelper.AssertPinIds(part, pin!);
113112

114-
pin = pins.Find(p => p.Name == "original-fn" && p.Value == "house");
115-
Assert.NotNull(pin);
116-
TestHelper.AssertPinIds(part, pin!);
117-
118-
pin = pins.Find(p => p.Name == "current-fn" && p.Value == "street");
119-
Assert.NotNull(pin);
120-
TestHelper.AssertPinIds(part, pin!);
121-
122-
pin = pins.Find(p => p.Name == "original-type" && p.Value == "house");
123-
Assert.NotNull(pin);
124-
TestHelper.AssertPinIds(part, pin!);
125-
126-
pin = pins.Find(p => p.Name == "current-type" && p.Value == "library");
127-
Assert.NotNull(pin);
128-
TestHelper.AssertPinIds(part, pin!);
129-
130113
pin = pins.Find(p => p.Name == "object-type" && p.Value == "window");
131114
Assert.NotNull(pin);
132115
TestHelper.AssertPinIds(part, pin!);

Cadmus.Seed.Epigraphy.Parts.Test/Cadmus.Seed.Epigraphy.Parts.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<ItemGroup>
2222
<PackageReference Include="Fusi.Microsoft.Extensions.Configuration.InMemoryJson" Version="4.0.0" />
23-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
23+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
2424
<PackageReference Include="xunit" Version="2.9.3" />
2525
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.0">
2626
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Also, you might want to add epigraphic formula items, having an [EpiFormulaPatte
5555

5656
## History
5757

58+
- 2025-06-03: updated test packages.
59+
5860
### 8.0.0
5961

6062
- ⚠️ minor breaking model changes in `EpiSupportPart`: removed `OriginalFn`, `CurrentFn` (`epi-support-functions`), `OriginalType`, `CurrentType` (`epi-support-types`). These refer to the housing structure and are better handled in categories parts with different roles.

0 commit comments

Comments
 (0)