Revision: bcd67861bfc1
Author: azizatif
Date: Fri Apr 29 13:03:50 2011
Log: Added exporter test for type with non-default ctor
http://code.google.com/p/jayrock/source/detail?r=bcd67861bfc1
Revision: eed5aa0c5a4b
Author: azizatif
Date: Fri Apr 29 13:07:31 2011
Log: Merge + test fix for issue #9
http://code.google.com/p/jayrock/source/detail?r=eed5aa0c5a4b
Revision: 62dd959296fb
Author: azizatif
Date: Fri Apr 29 13:09:45 2011
Log: Merge, concluding issue #9: Export shouldn't require public
no-args co...
http://code.google.com/p/jayrock/source/detail?r=62dd959296fb
==============================================================================
Revision: bcd67861bfc1
Author: azizatif
Date: Fri Apr 29 13:03:50 2011
Log: Added exporter test for type with non-default ctor
http://code.google.com/p/jayrock/source/detail?r=bcd67861bfc1
Modified:
/tests/Jayrock/Json/Conversion/TestExportContext.cs
=======================================
--- /tests/Jayrock/Json/Conversion/TestExportContext.cs Fri Apr 15 16:09:54
2011
+++ /tests/Jayrock/Json/Conversion/TestExportContext.cs Fri Apr 29 13:03:50
2011
@@ -77,6 +77,7 @@
AssertInStock(typeof(StringExporter), typeof(Uri));
AssertInStock(typeof(JsonNumberExporter), typeof(JsonNumber));
AssertInStock(typeof(JsonBufferExporter), typeof(JsonBuffer));
+ AssertInStock(typeof(StringExporter),
typeof(ThingWithConstructor));
#if !NET_1_0 && !NET_1_1
@@ -188,5 +189,10 @@
public int Field1;
public int Field2;
}
+
+ public class ThingWithConstructor
+ {
+ public ThingWithConstructor(object arg) { }
+ }
}
}
==============================================================================
Revision: eed5aa0c5a4b
Author: azizatif
Date: Fri Apr 29 13:07:31 2011
Log: Merge + test fix for issue #9
http://code.google.com/p/jayrock/source/detail?r=eed5aa0c5a4b
Modified:
/tests/Jayrock/Json/Conversion/TestExportContext.cs
=======================================
--- /tests/Jayrock/Json/Conversion/TestExportContext.cs Fri Apr 15 16:09:54
2011
+++ /tests/Jayrock/Json/Conversion/TestExportContext.cs Fri Apr 29 13:07:31
2011
@@ -77,6 +77,7 @@
AssertInStock(typeof(StringExporter), typeof(Uri));
AssertInStock(typeof(JsonNumberExporter), typeof(JsonNumber));
AssertInStock(typeof(JsonBufferExporter), typeof(JsonBuffer));
+ AssertInStock(typeof(ComponentExporter),
typeof(ThingWithConstructor));
#if !NET_1_0 && !NET_1_1
@@ -188,5 +189,10 @@
public int Field1;
public int Field2;
}
+
+ public class ThingWithConstructor
+ {
+ public ThingWithConstructor(object arg) { }
+ }
}
}
==============================================================================
Revision: 62dd959296fb
Author: azizatif
Date: Fri Apr 29 13:09:45 2011
Log: Merge, concluding issue #9: Export shouldn't require public
no-args constructor
http://code.google.com/p/jayrock/source/detail?r=62dd959296fb