You've already forked linux-packaging-mono
Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
parent
0e2d47d1c8
commit
0510252385
@@ -18,6 +18,8 @@ using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
using System.Collections;
|
||||
|
||||
using MonoTests.Helpers;
|
||||
|
||||
namespace MonoTests.System.Web.Services.Description
|
||||
{
|
||||
[TestFixture]
|
||||
@@ -52,14 +54,14 @@ namespace MonoTests.System.Web.Services.Description
|
||||
public void ReadAndRetrievalUrl ()
|
||||
{
|
||||
Assert.AreEqual (String.Empty, new ServiceDescription ().RetrievalUrl, "#1");
|
||||
ServiceDescription sd = ServiceDescription.Read ("Test/System.Web.Services.Description/test2.wsdl");
|
||||
ServiceDescription sd = ServiceDescription.Read (TestResourceHelper.GetFullPathOfResource ("Test/System.Web.Services.Description/test2.wsdl"));
|
||||
Assert.AreEqual (String.Empty, sd.RetrievalUrl, "#2");
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Namespaces ()
|
||||
{
|
||||
FileStream fs = new FileStream ("Test/System.Web.Services.Description/test.wsdl", FileMode.Open, FileAccess.Read);
|
||||
FileStream fs = new FileStream (TestResourceHelper.GetFullPathOfResource ("Test/System.Web.Services.Description/test.wsdl"), FileMode.Open, FileAccess.Read);
|
||||
XmlTextReader xtr = new XmlTextReader (fs);
|
||||
|
||||
ServiceDescription sd = ServiceDescription.Read (xtr);
|
||||
@@ -84,7 +86,7 @@ namespace MonoTests.System.Web.Services.Description
|
||||
[Test]
|
||||
public void ExtensibleAttributes ()
|
||||
{
|
||||
FileStream fs = new FileStream ("Test/System.Web.Services.Description/test.wsdl", FileMode.Open, FileAccess.Read);
|
||||
FileStream fs = new FileStream (TestResourceHelper.GetFullPathOfResource ("Test/System.Web.Services.Description/test.wsdl"), FileMode.Open, FileAccess.Read);
|
||||
XmlTextReader xtr = new XmlTextReader(fs);
|
||||
|
||||
ServiceDescription sd = ServiceDescription.Read(xtr);
|
||||
@@ -105,7 +107,7 @@ namespace MonoTests.System.Web.Services.Description
|
||||
[Test]
|
||||
public void Extensions ()
|
||||
{
|
||||
FileStream fs = new FileStream("Test/System.Web.Services.Description/test.wsdl", FileMode.Open, FileAccess.Read);
|
||||
FileStream fs = new FileStream(TestResourceHelper.GetFullPathOfResource ("Test/System.Web.Services.Description/test.wsdl"), FileMode.Open, FileAccess.Read);
|
||||
XmlTextReader xtr = new XmlTextReader(fs);
|
||||
|
||||
ServiceDescription sd = ServiceDescription.Read(xtr);
|
||||
|
Reference in New Issue
Block a user