aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src/ProtocolBuffers.Test/Compatibility/TestResources.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/src/ProtocolBuffers.Test/Compatibility/TestResources.cs')
-rw-r--r--csharp/src/ProtocolBuffers.Test/Compatibility/TestResources.cs38
1 files changed, 0 insertions, 38 deletions
diff --git a/csharp/src/ProtocolBuffers.Test/Compatibility/TestResources.cs b/csharp/src/ProtocolBuffers.Test/Compatibility/TestResources.cs
deleted file mode 100644
index 2282d61f..00000000
--- a/csharp/src/ProtocolBuffers.Test/Compatibility/TestResources.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System.IO;
-using NUnit.Framework;
-
-namespace Google.ProtocolBuffers.Compatibility
-{
- static class TestResources
- {
- public static byte[] google_message1
- {
- get
- {
- Stream resource = typeof(TestResources).Assembly.GetManifestResourceStream(
- typeof(TestResources).Namespace + ".google_message1.dat");
-
- Assert.NotNull(resource);
-
- byte[] bytes = new byte[resource.Length];
- int amtRead = resource.Read(bytes, 0, bytes.Length);
- Assert.AreEqual(bytes.Length, amtRead);
- return bytes;
- }
- }
- public static byte[] google_message2
- {
- get
- {
- Stream resource = typeof(TestResources).Assembly.GetManifestResourceStream(
- typeof(TestResources).Namespace + ".google_message2.dat");
-
- Assert.NotNull(resource);
- byte[] bytes = new byte[resource.Length];
- int amtRead = resource.Read(bytes, 0, bytes.Length);
- Assert.AreEqual(bytes.Length, amtRead);
- return bytes;
- }
- }
- }
-}