+2008-05-25 Sebastien Pouliot <sebastien@ximian.com>
+
+ * XmlDsigBase64TransformTest.cs: Add test case for InputTypes
+ * XmlDsigExcC14NTransformTest.cs: Add test case for InputTypes
+
2007-03-22 Atsushi Enomoto <atsushi@ximian.com>
* XmlDsigC14NTransformTest.cs : added test for xmlns attribute
Assert ("Output Stream", ostream);
}
+ [Test]
+ public void Types ()
+ {
+ Type [] input = transform.InputTypes;
+ input [0] = null;
+ input [1] = null;
+ input [2] = null;
+ // property does not return a clone
+ foreach (Type t in transform.InputTypes) {
+ AssertNull (t);
+ }
+ // it's not a static array
+ XmlDsigBase64Transform t2 = new XmlDsigBase64Transform ();
+ foreach (Type t in t2.InputTypes) {
+ AssertNotNull (t);
+ }
+ }
+
[Test]
public void GetInnerXml ()
{
Assert ("Output Stream", ostream);
}
+ [Test]
+ public void Types ()
+ {
+ Type [] input = transform.InputTypes;
+ input [0] = null;
+ input [1] = null;
+ input [2] = null;
+ // property does not return a clone
+ foreach (Type t in transform.InputTypes) {
+ AssertNull (t);
+ }
+ // it's not a static array
+ XmlDsigExcC14NTransform t2 = new XmlDsigExcC14NTransform ();
+ foreach (Type t in t2.InputTypes) {
+ AssertNotNull (t);
+ }
+ }
+
[Test]
public void GetInnerXml ()
{