mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-26 18:59:02 +02:00
xunit v3
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user