[Pkg-cli-libs-commits] [SCM] gdata-sharp branch, master, updated. upstream/1.4.0.2-15-g93f0627

Chow Loong Jin hyperair at gmail.com
Wed Mar 18 21:24:12 UTC 2009


The following commit has been merged in the master branch:
commit 6ca34a97e81be19e967dcb86f4fa2dfefb992cb0
Author: Chow Loong Jin <hyperair at gmail.com>
Date:   Thu Mar 19 05:14:41 2009 +0800

    Patch src/unittests/gzipstreamtest.cs as well

diff --git a/debian/patches/04_cli-2.0-port.patch b/debian/patches/04_cli-2.0-port.patch
index 279a2b3..a4b43e8 100644
--- a/debian/patches/04_cli-2.0-port.patch
+++ b/debian/patches/04_cli-2.0-port.patch
@@ -1,7 +1,7 @@
 Index: gdata-sharp/src/core/gzipstream.cs
 ===================================================================
---- gdata-sharp.orig/src/core/gzipstream.cs	2009-03-19 04:52:09.000000000 +0800
-+++ gdata-sharp/src/core/gzipstream.cs	2009-03-19 04:59:06.000000000 +0800
+--- gdata-sharp.orig/src/core/gzipstream.cs	2009-03-19 05:04:46.000000000 +0800
++++ gdata-sharp/src/core/gzipstream.cs	2009-03-19 05:12:28.000000000 +0800
 @@ -4,308 +4,4 @@
  
  namespace Google.GData.Client
@@ -313,8 +313,8 @@ Index: gdata-sharp/src/core/gzipstream.cs
  }
 Index: gdata-sharp/src/core/request.cs
 ===================================================================
---- gdata-sharp.orig/src/core/request.cs	2009-03-19 04:52:09.000000000 +0800
-+++ gdata-sharp/src/core/request.cs	2009-03-19 04:59:06.000000000 +0800
+--- gdata-sharp.orig/src/core/request.cs	2009-03-19 05:04:46.000000000 +0800
++++ gdata-sharp/src/core/request.cs	2009-03-19 05:12:28.000000000 +0800
 @@ -22,6 +22,7 @@
  using System.Collections.Generic;
  using System.Globalization;
@@ -325,8 +325,8 @@ Index: gdata-sharp/src/core/request.cs
  
 Index: gdata-sharp/src/unittests/gziplivetest.cs
 ===================================================================
---- gdata-sharp.orig/src/unittests/gziplivetest.cs	2009-03-19 05:04:01.000000000 +0800
-+++ gdata-sharp/src/unittests/gziplivetest.cs	2009-03-19 05:04:42.000000000 +0800
+--- gdata-sharp.orig/src/unittests/gziplivetest.cs	2009-03-19 05:04:46.000000000 +0800
++++ gdata-sharp/src/unittests/gziplivetest.cs	2009-03-19 05:13:05.000000000 +0800
 @@ -10,6 +10,7 @@
  using Google.GData.Extensions;
  using Google.GData.Calendar;
@@ -340,7 +340,29 @@ Index: gdata-sharp/src/unittests/gziplivetest.cs
              Stream responseStream = request.GetResponseStream();
              Assert.IsTrue(responseStream != null, "Response stream should not be null.");
 -            Assert.IsTrue(responseStream is Google.GData.Client.GZipStream, "Response stream is not Google.GData.Client.GZipStream.");
-+            Assert.IsTrue(responseStream is GZipStream, "Response stream is not Google.GData.Client.GZipStream.");
++            Assert.IsTrue(responseStream is GZipStream, "Response stream is not System.IO.Compression.GZipStream.");
  
              AtomFeed feed = new AtomFeed(new Uri(calendarUri), this.calendarService);
              feed.Parse(request.GetResponseStream(), AlternativeFormat.Atom);
+Index: gdata-sharp/src/unittests/gzipstreamtest.cs
+===================================================================
+--- gdata-sharp.orig/src/unittests/gzipstreamtest.cs	2009-03-19 05:13:25.000000000 +0800
++++ gdata-sharp/src/unittests/gzipstreamtest.cs	2009-03-19 05:14:23.000000000 +0800
+@@ -3,7 +3,7 @@
+ using System.Xml;
+ using System.IO;
+ 
+-using Google.GData.Client;
++using System.IO.Compression;
+ 
+ using NUnit.Framework;
+ 
+@@ -15,7 +15,7 @@
+     [TestFixture]
+     public class GZipStreamTest : BaseTestClass
+ 	{
+-        private const string    Data = "Google.GData.Client.GZipStream";
++        private const string    Data = "System.IO.Compression..GZipStream";
+         private const string    Base64GZipData = "H4sIAEDbsEYAA3PPz0/PSdVzd0ksSdRzzslMzSvRc4/KLAguKUpNzAUAg1++Bx4AAAA=";
+ 
+         private byte[]          compressedData;

-- 
gdata-sharp



More information about the Pkg-cli-libs-commits mailing list