Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Services.Tests/Web/Services
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv14240
Modified Files:
WebServiceProxyFactoryTests.cs
Log Message:
Added extra test to WebServiceProxyFactory.
Index: WebServiceProxyFactoryTests.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Services.Tests/Web/Services/WebServiceProxyFactoryTests.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** WebServiceProxyFactoryTests.cs 8 Aug 2007 17:49:26 -0000 1.5
--- WebServiceProxyFactoryTests.cs 7 Dec 2007 14:14:08 -0000 1.6
***************
*** 37,40 ****
--- 37,41 ----
using Spring.Context;
using Spring.Context.Support;
+ using Spring.Util;
#endregion
***************
*** 96,99 ****
--- 97,103 ----
Assert.AreEqual("http://www.springframwework.net", sdma.ResponseNamespace);
Assert.AreEqual(SoapBindingUse.Literal, sdma.Use);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 129,132 ****
--- 133,139 ----
Assert.AreEqual(null, sdma.ResponseNamespace);
Assert.AreEqual(SoapBindingUse.Literal, sdma.Use);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 162,165 ****
--- 169,175 ----
Assert.AreEqual("http://www.springframwework.net", sdma.ResponseNamespace);
Assert.AreEqual(SoapBindingUse.Literal, sdma.Use);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 202,205 ****
--- 212,218 ----
XmlElementAttribute xea = (XmlElementAttribute)xeAttrs[0];
Assert.AreEqual("out", xea.ElementName);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 240,243 ****
--- 253,259 ----
XmlElementAttribute xea = (XmlElementAttribute)xeAttrs[0];
Assert.AreEqual("out", xea.ElementName);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 279,282 ****
--- 295,301 ----
Assert.AreEqual("http://www.springframwework.net", srma.ResponseNamespace);
Assert.AreEqual(SoapBindingUse.Literal, srma.Use);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 311,314 ****
--- 330,336 ----
Assert.AreEqual(null, srma.ResponseNamespace);
Assert.AreEqual(SoapBindingUse.Literal, srma.Use);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 343,346 ****
--- 365,371 ----
Assert.AreEqual("http://www.springframwework.net", srma.ResponseNamespace);
Assert.AreEqual(SoapBindingUse.Literal, srma.Use);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
#endif
***************
*** 360,363 ****
--- 385,391 ----
Assert.IsTrue(proxy is IHelloWorld);
Assert.IsTrue(proxy is SoapHttpClientProtocol);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 379,382 ****
--- 407,413 ----
Assert.AreEqual("http://www.springframework.org/", shcp.Url);
Assert.AreEqual(10000, shcp.Timeout);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 398,401 ****
--- 429,435 ----
Assert.AreEqual("http://www.springframework.org/", shcp.Url);
Assert.AreEqual(10000, shcp.Timeout);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
***************
*** 417,420 ****
--- 451,457 ----
Assert.IsTrue(proxy is INestedSchema);
Assert.IsTrue(proxy is SoapHttpClientProtocol);
+
+ // Try to instantiate the proxy type
+ ObjectUtils.InstantiateType(proxyType);
}
|