Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public void DocumentConcept_Unknown_Type_Throws()
}

[Fact]
public void ToFileAsync_Writes_A_Non_Empty_OWL2XML_File()
public async Task ToFileAsync_Writes_A_Non_Empty_OWL2XML_File()
{
// Serialization works end-to-end (this is why #133 ships a non-empty ontology despite
// the readers being broken — the graph is correctly built, only self-retrieval fails).
Expand All @@ -316,7 +316,7 @@ public void ToFileAsync_Writes_A_Non_Empty_OWL2XML_File()
var tempPath = Path.Combine(Path.GetTempPath(), $"arg_onto_test_{Guid.NewGuid():N}.owl");
try
{
adapter.ToFileAsync(OWLSharp.OWLEnums.OWLFormats.OWL2XML, tempPath).Wait();
await adapter.ToFileAsync(OWLSharp.OWLEnums.OWLFormats.OWL2XML, tempPath);
File.Exists(tempPath).Should().BeTrue();
var content = File.ReadAllText(tempPath);
content.Should().NotBeNullOrEmpty("the serialized ontology must be non-empty");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class HarvestManagerExpectedImageCountTests
[InlineData(10, 3, "BUNCH", 10)] // case-sensitive: CardPen rsstyle is lowercase; "BUNCH" does NOT group
[InlineData(10, 3, "Bunch", 10)] // case-sensitive: mixed-case does NOT group either
public void ComputeExpectedImageCount_MirrorsCardPenGrouping(
int cardCount, int rscount, string rsstyle, int expected)
int cardCount, int rscount, string? rsstyle, int expected)
{
HarvestManager.ComputeExpectedImageCount(cardCount, rscount, rsstyle)
.Should().Be(expected,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class LocalizedFileNameContractTests
[Theory]
[InlineData(null)]
[InlineData("")]
public void EmptyOrNull_ReturnedAsIs(string fileName)
public void EmptyOrNull_ReturnedAsIs(string? fileName)
{
// The first guard returns the input verbatim, so no language substitution is attempted.
CardSetLocalization.GetLocalizedFileName(fileName, "fr", "en")
Expand Down
Loading