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 ()
{
}
[Test]
- [Ignore ("LAMESPEC or BUG but this returns nothing with MS implementation ???")]
public void LoadInputAsXmlNodeList ()
{
XmlDocument doc = GetDoc ();
transform.LoadInput (doc.ChildNodes);
Stream s = (Stream) transform.GetOutput ();
string output = Stream2String (s);
- AssertEquals ("XmlChildNodes", String.Empty, output); // ???
+ // Note that ChildNodes does not contain the text node.
+ AssertEquals ("XmlChildNodes", String.Empty, output);
}
[Test]