~ubuntu-branches/ubuntu/lucid/tomboy/lucid-proposed

« back to all changes in this revision

Viewing changes to Tomboy/Addins/WebSyncService/Tests/NoteConvertTests.cs

  • Committer: Ken VanDine
  • Date: 2010-10-26 15:23:44 UTC
  • mfrom: (1.3.14 upstream)
  • Revision ID: ken.vandine@canonical.com-20101026152344-mudczoehgwjp9wun
Tags: 1.2.2-0ubuntu1
releasing version 1.2.2-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
                public void ToNoteInfoTest ()
79
79
                {
80
80
                        // Note content stress tests
81
 
                        string [] titles = new string [15];
82
 
                        string [] contents = new string [15];
83
 
                        string [] expectedInfoContents = new string [15];
 
81
                        string [] titles = new string [18];
 
82
                        string [] contents = new string [18];
 
83
                        string [] expectedInfoContents = new string [18];
84
84
                        
85
85
                        titles [0] = "(Untitled 238)";
86
86
                        contents [0] = @"<note-content version=""0.1"">
211
211
 
212
212
Describe your new note here.</note-content>";
213
213
                        expectedInfoContents [14] = @"Describe your new note here.";
 
214
 
 
215
                        titles [15] = "New Note 331";
 
216
                        contents [15] = @"<note-content xmlns:link=""http://beatniksoftware.com/tomboy/link"" xmlns:size=""http://beatniksoftware.com/tomboy/size"" version=""0.1"">New Note 331
 
217
 
 
218
Describe your new note here.</note-content>";
 
219
                        expectedInfoContents [15] = @"Describe your new note here.";
 
220
 
 
221
                        titles [16] = "New Note 331";
 
222
                        contents [16] = @"<note-content xmlns:link=""http://beatniksoftware.com/tomboy/link"" version=""0.1"" xmlns:size=""http://beatniksoftware.com/tomboy/size"">New Note 331
 
223
 
 
224
Describe your new note here.</note-content>";
 
225
                        expectedInfoContents [16] = @"Describe your new note here.";
 
226
 
 
227
                        titles [17] = "New Note 331";
 
228
                        contents [17] = @"<note-content version=""0.1"" xmlns:size=""http://beatniksoftware.com/tomboy/size"">New Note 331
 
229
 
 
230
Describe your new note here.</note-content>";
 
231
                        expectedInfoContents [17] = @"Describe your new note here.";
214
232
                        
215
233
 
216
234
                        for (int i =0; i < titles.Length; i++) {