From ecf82e443c22b7d809a635258290f461fde80859 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 11 Aug 2010 19:38:09 +0200 Subject: [PATCH] Remove Dummy Test --- .../MongoDB.Tests/IntegrationTests/TestB.cs | 34 ------------------- source/MongoDB.Tests/MongoDB.Tests.csproj | 1 - 2 files changed, 35 deletions(-) delete mode 100644 source/MongoDB.Tests/IntegrationTests/TestB.cs diff --git a/source/MongoDB.Tests/IntegrationTests/TestB.cs b/source/MongoDB.Tests/IntegrationTests/TestB.cs deleted file mode 100644 index dc489486..00000000 --- a/source/MongoDB.Tests/IntegrationTests/TestB.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.IO; -using System.Net.Sockets; -using System.Text; -using NUnit.Framework; - -namespace MongoDB.IntegrationTests -{ - [TestFixture] - public class TestB - { - [Test] - public void TestCase() - { - var client = new TcpClient(); - client.Connect("localhost", 27017); - var buff = new BufferedStream(client.GetStream()); - var writer = new BinaryWriter(buff); - - var encoding = new UTF8Encoding(); - var msg = encoding.GetBytes("Hello MongoDB!"); - - writer.Write(16 + msg.Length + 1); - writer.Write(1); - writer.Write(1); - writer.Write(1000); - writer.Write(msg); - writer.Write((byte)0); - - writer.Flush(); - writer.Close(); - client.Close(); - } - } -} \ No newline at end of file diff --git a/source/MongoDB.Tests/MongoDB.Tests.csproj b/source/MongoDB.Tests/MongoDB.Tests.csproj index 8d8bf0ff..49d0a5db 100644 --- a/source/MongoDB.Tests/MongoDB.Tests.csproj +++ b/source/MongoDB.Tests/MongoDB.Tests.csproj @@ -142,7 +142,6 @@ -