Author: fmantek
Date: Thu May 24 01:01:29 2007
New Revision: 175

Modified:
   trunk/clients/cs/src/gspreadsheet/listentry.cs
   trunk/clients/cs/src/gspreadsheet/worksheetentry.cs
   trunk/clients/cs/src/unittests/appslivetests.cs

Log:
additional spreadsheet bugfixes.

Changed a unittest to not use assert.isempty

Modified: trunk/clients/cs/src/gspreadsheet/listentry.cs
==============================================================================
--- trunk/clients/cs/src/gspreadsheet/listentry.cs      (original)
+++ trunk/clients/cs/src/gspreadsheet/listentry.cs      Thu May 24 01:01:29 2007
@@ -305,6 +305,7 @@
             if (String.Compare(e.ExtensionElement.NamespaceURI, 
GDataSpreadsheetsNameTable.NSGSpreadsheetsExtended, true) == 0)
             {
                 Elements.Add(Custom.ParseCustom(e.ExtensionElement, parser));
+                e.DiscardEntry = true;
             }
         }
     }

Modified: trunk/clients/cs/src/gspreadsheet/worksheetentry.cs
==============================================================================
--- trunk/clients/cs/src/gspreadsheet/worksheetentry.cs (original)
+++ trunk/clients/cs/src/gspreadsheet/worksheetentry.cs Thu May 24 01:01:29 2007
@@ -94,10 +94,12 @@
                 if (worksheetNode.LocalName == 
GDataSpreadsheetsNameTable.XmlColCountElement)
                 {
                     ColCount = ColCountElement.ParseColCount(worksheetNode);
+                    e.DiscardEntry = true;
                 }
                 else if (worksheetNode.LocalName == 
GDataSpreadsheetsNameTable.XmlRowCountElement)
                 {
                     RowCount = RowCountElement.ParseRowCount(worksheetNode);
+                    e.DiscardEntry = true;
                 }
             }
         }

Modified: trunk/clients/cs/src/unittests/appslivetests.cs
==============================================================================
--- trunk/clients/cs/src/unittests/appslivetests.cs     (original)
+++ trunk/clients/cs/src/unittests/appslivetests.cs     Thu May 24 01:01:29 2007
@@ -87,7 +87,7 @@
                 feed = this.service.RetrieveAllEmailLists();
             }
 
-            Assert.IsEmpty(feed.Entries, "Failed to clean email lists.");
+            Assert.AreEqual(feed.Entries.Count, 0, "Failed to clean email 
lists.");
         }
 
         public void     EmailList_CreateEmailList()

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to