This commit is contained in:
Stef Heyenrath
2026-02-14 11:41:25 +01:00
parent 99f42fb255
commit 6cc18e796c
55 changed files with 164 additions and 398 deletions

View File

@@ -1,14 +1,10 @@
// Copyright © WireMock.Net
//#if GRAPHQL
using System;
using System.Collections.Generic;
using FluentAssertions;
using GraphQLParser.Exceptions;
using WireMock.Exceptions;
using WireMock.Matchers;
using WireMock.Models;
using Xunit;
namespace WireMock.Net.Tests.Matchers;
@@ -232,5 +228,4 @@ public class GraphQLMatcherTests
// Assert
action.Should().Throw<GraphQLSyntaxErrorException>();
}
}
//#endif
}

View File

@@ -1,11 +1,8 @@
// Copyright © WireMock.Net
//#if MIMEKIT
using System;
using FluentAssertions;
using WireMock.Matchers;
using WireMock.Util;
using Xunit;
namespace WireMock.Net.Tests.Matchers;
@@ -98,5 +95,4 @@ public class MimePartMatcherTests
// Assert
result.Score.Should().Be(MatchScores.Perfect);
}
}
//#endif
}

View File

@@ -1,10 +1,7 @@
// Copyright © WireMock.Net
//#if GRAPHQL
using System;
using FluentAssertions;
using WireMock.GraphQL.Models;
using Xunit;
namespace WireMock.Net.Tests.Matchers.Models;
@@ -94,5 +91,4 @@ public class WireMockCustomScalarGraphTypeTests
// Assert
result.Should().Be("someString");
}
}
//#endif
}

View File

@@ -1,13 +1,9 @@
// Copyright © WireMock.Net
//#if PROTOBUF
using System;
using System.Threading.Tasks;
using FluentAssertions;
using ProtoBuf;
using WireMock.Matchers;
using WireMock.Models;
using Xunit;
namespace WireMock.Net.Tests.Matchers;
@@ -107,5 +103,4 @@ message HelloReply {
result.Score.Should().Be(MatchScores.Mismatch);
result.Exception.Should().BeOfType<ArgumentException>();
}
}
//#endif
}