Skip to content

Commit

Permalink
Added encoders tests, which includes a tcp endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Metzgar committed Jul 6, 2015
1 parent 21ac3da commit 26679d4
Show file tree
Hide file tree
Showing 9 changed files with 1,806 additions and 2,550 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Tests.Common;
using System.Text;
using Xunit;

public static class BinaryEncodingTests
public class BinaryEncodingTests : IClassFixture<BridgeTestFixture>
{
// 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
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), test.props))\test.props" />
<PropertyGroup>
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -36,4 +37,5 @@
</ProjectReference>
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), test.targets))\test.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Tests.Common;
using System.Text;
using Xunit;

public static class TextEncodingTests
public class TextEncodingTests : IClassFixture<BridgeTestFixture>
{
// Simple echo of a string. Same binding on both client and server. CustomBinding with TextMessageEncoding and no WindowsStreamSecurityBindingElement
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"xunit.abstractions.netcore": "1.0.0-prerelease",
"xunit.assert": "2.0.0-beta5-build2785",
"xunit.core.netcore": "1.0.1-prerelease",
"xunit.netcore.extensions": "1.0.0-prerelease-*"
"xunit.netcore.extensions": "1.0.0-prerelease-*",
"Newtonsoft.Json": "6.0.6"
},
"frameworks": {
"dnxcore50": {}
Expand Down
Loading

0 comments on commit 26679d4

Please sign in to comment.