[jayrock] 2 new revisions pushed by azizatif on 2011-05-03 17:48 GMT

1 view
Skip to first unread message

jay...@googlecode.com

unread,
May 3, 2011, 1:48:57 PM5/3/11
to jayrock...@googlegroups.com
2 new revisions:

Revision: 90264775df98
Author: azizatif
Date: Tue May 3 10:46:24 2011
Log: Removed impossible assert in CannotTailReadEmptySource test for
FreeJs...
http://code.google.com/p/jayrock/source/detail?r=90264775df98

Revision: 24cbca38def2
Author: azizatif
Date: Tue May 3 10:48:32 2011
Log: Added CannotTailReadOnArray test for FreeJsonMemberReadingHelper
http://code.google.com/p/jayrock/source/detail?r=24cbca38def2

==============================================================================
Revision: 90264775df98
Author: azizatif
Date: Tue May 3 10:46:24 2011
Log: Removed impossible assert in CannotTailReadEmptySource test for
FreeJsonMemberReadingHelper
http://code.google.com/p/jayrock/source/detail?r=90264775df98

Modified:
/tests/Jayrock/Json/TestFreeJsonMemberReadingHelper.cs

=======================================
--- /tests/Jayrock/Json/TestFreeJsonMemberReadingHelper.cs Sat Apr 16
03:31:20 2011
+++ /tests/Jayrock/Json/TestFreeJsonMemberReadingHelper.cs Tue May 3
10:46:24 2011
@@ -179,8 +179,7 @@
[ Test, ExpectedException(typeof(JsonException)) ]
public void CannotTailReadEmptySource()
{
- JsonReader tail = CreateHelper(string.Empty).GetTailReader();
- Assert.IsFalse(tail.Read());
+ CreateHelper(string.Empty).GetTailReader();
}

[ Test, ExpectedException(typeof(JsonException)) ]

==============================================================================
Revision: 24cbca38def2
Author: azizatif
Date: Tue May 3 10:48:32 2011
Log: Added CannotTailReadOnArray test for FreeJsonMemberReadingHelper
http://code.google.com/p/jayrock/source/detail?r=24cbca38def2

Modified:
/tests/Jayrock/Json/TestFreeJsonMemberReadingHelper.cs

=======================================
--- /tests/Jayrock/Json/TestFreeJsonMemberReadingHelper.cs Tue May 3
10:46:24 2011
+++ /tests/Jayrock/Json/TestFreeJsonMemberReadingHelper.cs Tue May 3
10:48:32 2011
@@ -183,6 +183,12 @@
}

[ Test, ExpectedException(typeof(JsonException)) ]
+ public void CannotTailReadOnArray()
+ {
+ CreateHelper("[]").GetTailReader();
+ }
+
+ [Test, ExpectedException(typeof(JsonException))]
public void CannotReadMemberOnArray()
{
CreateHelper("[]").ReadMember("foo");

Reply all
Reply to author
Forward
0 new messages