[tomboy] [websync tests] Style fixes, slightly improved failure output
- From: Sanford Armstrong <sharm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tomboy] [websync tests] Style fixes, slightly improved failure output
- Date: Tue, 19 Oct 2010 22:25:24 +0000 (UTC)
commit 23f0d8bbeb5387f1a89a54e44670292c5916b786
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Tue Oct 19 15:20:43 2010 -0700
[websync tests] Style fixes, slightly improved failure output
.../WebSyncService/Tests/NoteConvertTests.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Tomboy/Addins/WebSyncService/Tests/NoteConvertTests.cs b/Tomboy/Addins/WebSyncService/Tests/NoteConvertTests.cs
index 5f4f49a..8f07110 100644
--- a/Tomboy/Addins/WebSyncService/Tests/NoteConvertTests.cs
+++ b/Tomboy/Addins/WebSyncService/Tests/NoteConvertTests.cs
@@ -231,7 +231,7 @@ Describe your new note here.</note-content>";
expectedInfoContents [17] = @"Describe your new note here.";
- for (int i =0; i < titles.Length; i++) {
+ for (int i = 0; i < titles.Length; i++) {
NoteData data = new NoteData ("note://tomboy/12345");
data.Title = titles [i];
data.Text = contents [i];
@@ -243,9 +243,9 @@ Describe your new note here.</note-content>";
Note note = Note.CreateExistingNote (data, tmpFileName, null);
NoteInfo info = NoteConvert.ToNoteInfo (note);
- Assert.AreEqual (titles [i], info.Title, "Title");
- Assert.AreEqual (expectedInfoContents [i], info.NoteContent, "NoteContent");
- Assert.AreEqual (0.1, info.NoteContentVersion.Value, "NoteContentVersion");
+ Assert.AreEqual (titles [i], info.Title, "Title " + i.ToString ());
+ Assert.AreEqual (expectedInfoContents [i], info.NoteContent, "NoteContent " + i.ToString ());
+ Assert.AreEqual (0.1, info.NoteContentVersion.Value, "NoteContentVersion " + i.ToString ());
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]