Skip to content
Open
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 @@ -14,7 +14,7 @@
using Microsoft.Extensions.Hosting;
using Xunit;

public static class Binding_Http_BasicHttpBindingTests
public class Binding_Http_BasicHttpBindingTests : ConditionalWcfTest
{
[WcfTheory]
[InlineData(WSMessageEncoding.Text)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using ScenarioTests.Common;
using Xunit;

public static class OperationContextTests
public class OperationContextTests : ConditionalWcfTest
{
#pragma warning disable xUnit1013 // Public method should be marked as test
[ModuleInitializer]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Infrastructure.Common;
using Xunit;

public static class Binding_Http_WSHttpBindingTests
public class Binding_Http_WSHttpBindingTests : ConditionalWcfTest
{
[WcfTheory]
[InlineData(WSMessageEncoding.Text)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using ScenarioTests.Common;
using Xunit;

public class OperationContextAsyncFlowTests
public class OperationContextAsyncFlowTests : ConditionalWcfTest
{
[WcfFact]
public static async Task OperationContextScopeAsyncFlow()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Infrastructure.Common;
using Xunit;

public partial class RequestReplyChannelShapeTests
public partial class RequestReplyChannelShapeTests : ConditionalWcfTest
{
// Creating a ChannelFactory using a binding's 'BuildChannelFactory' method and providing a channel shape...
// returns a concrete type determined by the channel shape requested and other binding related settings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[assembly: FailFastAfter("00:01:00")]

public static partial class ChannelBaseTests_4_0_0
public partial class ChannelBaseTests_4_0_0 : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Infrastructure.Common;
using Xunit;

public partial class ClientBaseTests
public partial class ClientBaseTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class ClientBaseTests_4_4_0
public partial class ClientBaseTests_4_4_0 : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using TestTypes;
using Xunit;

public static class MessageInspectorTests
public class MessageInspectorTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Xunit;
using System.Threading;

public static class SessionTests
public class SessionTests : ConditionalWcfTest
{
// A basic test to verify that a session gets created and terminated
[WcfFact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using System.Threading.Tasks;
using Xunit;

public partial class ExpectedExceptionTests
public partial class ExpectedExceptionTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using System.Threading.Tasks;
using Xunit;

public partial class ExpectedExceptionTests
public partial class ExpectedExceptionTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Infrastructure.Common;
using Xunit;

public static class TypedProxyDuplexTests
public class TypedProxyDuplexTests : ConditionalWcfTest
{
// ServiceContract typed proxy tests create a ChannelFactory using a provided [ServiceContract] Interface which...
// returns a generated proxy based on that Interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class TypedProxyTests
public partial class TypedProxyTests : ConditionalWcfTest
{
// ServiceContract typed proxy tests create a ChannelFactory using a provided [ServiceContract] Interface which...
// returns a generated proxy based on that Interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class TypedProxyTests
public partial class TypedProxyTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Infrastructure.Common;
using Xunit;

public partial class DataContractTests
public partial class DataContractTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using System.Xml;
using System.Linq;

public partial class DataContractTests
public partial class DataContractTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class FaultExceptionTests
public partial class FaultExceptionTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class FaultExceptionTests
public partial class FaultExceptionTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using MessageContractCommon;
using Xunit;

public static class MessageContractTests_4_1_0
public class MessageContractTests_4_1_0 : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using WcfService;
using Xunit;

public static class MessageContractTests_4_4_0
public class MessageContractTests_4_4_0 : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.ServiceModel.Description;
using System.ServiceModel.Dispatcher;

public static class MessageContractTests
public class MessageContractTests : ConditionalWcfTest
{
public static MessageHeader customHeaderMustUnderstand_True = MessageHeader.CreateHeader("MustUnderstand_True", "http://tempuri.org/MustUnderstand_True_Namespace", "EmptyObject", true);
public static MessageHeader customHeaderMustUnderstand_False = MessageHeader.CreateHeader("MustUnderstand_False", "http://tempuri.org/MustUnderstand_False_Namespace", "EmptyObject", false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Infrastructure.Common;
using Xunit;

public static class MessageTests
public class MessageTests : ConditionalWcfTest
{
private const string action = "http://tempuri.org/IWcfService/MessageRequestReply";
private const string clientMessage = "Test Custom_Message_RoundTrips.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class ServiceContractTests
public partial class ServiceContractTests : ConditionalWcfTest
{
// End operation includes keyword "out" on an Int as an arg.
[WcfFact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using ScenarioTests.Common;
using Xunit;

public static partial class ServiceContractTests
public partial class ServiceContractTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Infrastructure.Common;
using Xunit;

public static class ServiceKnownTypeTests
public class ServiceKnownTypeTests : ConditionalWcfTest
{
public delegate object[] EchoItemsMethod(object[] items);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Xunit;
using System;

public static partial class XmlSerializerFormatTests
public partial class XmlSerializerFormatTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class XmlSerializerFormatTests
public partial class XmlSerializerFormatTests : ConditionalWcfTest
{
private static readonly string s_basicEndpointAddress = Endpoints.HttpBaseAddress_Basic_Text;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class XmlSerializerFormatTests
public partial class XmlSerializerFormatTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public object BeforeSendRequest(ref Message request, IClientChannel channel)
}
}

public static partial class XmlSerializerFormatTests
public partial class XmlSerializerFormatTests : ConditionalWcfTest
{
#if SVCUTILTESTS
private static readonly string s_serializationModeSetterName = "set_Mode";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Infrastructure.Common;
using Xunit;

public static class BinaryEncodingTests
public class BinaryEncodingTests : ConditionalWcfTest
{
// Client and Server bindings setup exactly the same using Binary Message encoder
// and exchanging a basic message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class TextEncodingTests
public partial class TextEncodingTests : ConditionalWcfTest
{
// Simple echo of a string. Same binding on both client and server. CustomBinding with TextMessageEncoding and no WindowsStreamSecurityBindingElement
[WcfFact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class TextEncodingTests
public partial class TextEncodingTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class MessageVersionTests
public partial class MessageVersionTests : ConditionalWcfTest
{
// Client and Server bindings setup exactly the same using Soap12WSA10
[WcfFact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Infrastructure.Common;
using Xunit;

public static partial class MessageVersionTests
public partial class MessageVersionTests : ConditionalWcfTest
{
// Client and Server bindings setup exactly the same using Soap12WSA10
[WcfFact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
using Infrastructure.Common;
using Xunit;

public static class TextTests
public class TextTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Infrastructure.Common;
using Xunit;

public class OSAndFrameworkTests
public class OSAndFrameworkTests : ConditionalWcfTest
{
[WcfFact]
[OuterLoop]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using Infrastructure.Common;
using Xunit;

public class WcfFactTests
public class WcfFactTests : ConditionalWcfTest
{
// Tests that do not skip are allowed to run to test [WcfFact]
// This also triggers lazy initialization of all the skippable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace System.ServiceModel.Federation.Tests
{
public static class WSTrustChannelFactoryTest
public class WSTrustChannelFactoryTest : ConditionalWcfTest
{
[WcfFact]
public static void DefaultWSTrustChannelFactory()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace System.ServiceModel.Federation.Tests
{
public static class WSTrustChannelSecurityTokenProviderTest
public class WSTrustChannelSecurityTokenProviderTest : ConditionalWcfTest
{
[WcfFact]
public static void EnsibilityTest()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace System.ServiceModel.Federation.Tests
{
public static class WSTrustChannelTest
public class WSTrustChannelTest : ConditionalWcfTest
{
[WcfFact]
public static void WSTrustChannelParameters()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Infrastructure.Common;
using Xunit;

public static class HttpRequestMessagePropertyTest
public class HttpRequestMessagePropertyTest : ConditionalWcfTest
{
[WcfFact]
public static void Default_Ctor_Initializes_Properties()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Infrastructure.Common;
using Xunit;

public static class WebSocketTransportSettingsTest
public class WebSocketTransportSettingsTest : ConditionalWcfTest
{
[WcfFact]
public static void DisablePayloadMasking_Property_Set_PNSE_Throws()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using Infrastructure.Common;
using Xunit;

public static class BasicHttpBindingTest
public class BasicHttpBindingTest : ConditionalWcfTest
{
[WcfFact]
public static void Default_Ctor_Initializes_Properties()
Expand Down
Loading
Loading