X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Security%2FTest%2FSystem.Security.Cryptography.Xml%2FXmlDsigBase64TransformTest.cs;h=f553a44d92036c83bf1cc497ab8d2777bed7a49f;hb=0a59629d4a030598e5b4a2a033436213580e355f;hp=2238f0b598533ca7ee36e70b2ca3c0cff9245b70;hpb=dbf19eb41dbd299c4c33d4de35ffe3cf6c669832;p=mono.git diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigBase64TransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigBase64TransformTest.cs index 2238f0b5985..f553a44d920 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigBase64TransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigBase64TransformTest.cs @@ -74,6 +74,24 @@ namespace MonoTests.System.Security.Cryptography.Xml { 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 () {