Files
mono/mcs/class/System.Web.Services/Test/standalone/client/external/BankCodeEJBHomeTest.cs
T
Lluis Sanchez 6bf582e92d * WebServiceTest.cs, client/external/BankCodeEJBHomeTest.cs,
client/external/GlobalWeatherTest.cs, client/external/HPcatalogTest.cs,
	  client/external/IODCODESPOSTAUXTest.cs,
	  client/external/TemperatureServiceTest.cs,
	  client/localhost/DataServiceTest.cs,
	  client/localhost/DuplicateArrayTestTest.cs,
	  client/localhost/IncludeTestTest.cs,
	  client/localhost/TestBinding4Test.cs: Use new nunit 2.2 api.

	* server/ConvDocLitWra.asmx, server/ConvDocEncWra.asmx,
	  server/ConvDocLitBar.asmx, server/ConvDocLitWra.asmx,
	  server/ConvRpc.asmx,

	* wstest.cs: Added support for generating tests cases from a template.
	  Useful to test the same case in all formats and protocols.

	* proxies.net.xml.gz, wsdlfiles.tar.gz: Updated.

	* client/localhost/ConvDocEncBarTest.cs,
	  client/localhost/ConvDocLitBarTest.cs,
	  client/localhost/ConvDocLitWraTest.cs,
	  client/localhost/ConvRpcTest.cs,
	  client/localhost/ConvDocEncBar.asmx:
	  Improved tests. Use new nunit 2.2 api.

	* Conv.cs.template: template for ConverterService client tests.

	* Conv.asmx.template: template for ConverterService services.

	* templates.xml: Configuration file for generating the tests.

svn path=/trunk/mcs/; revision=30621
2004-07-01 14:04:31 +00:00

26 lines
587 B
C#

// Web service test for WSDL document:
// http://appserver.pepperzak.net/bankcode/BankCodeEJBHome/wsdl.jsp
using System;
using NUnit.Framework;
using BankCodeEJBHomeTests.Soap;
namespace External.BankCodeEJBHomeTests
{
[TestFixture]
public class BankCodeEJBHomeTest: WebServiceTest
{
[Test]
public void TestService ()
{
// BEA Weblogic / RPC
BankCode bc = new BankCode ();
Assert.AreEqual ("10020000 ", bc.getCodeByName ("Berlin"), "#1");
string s = bc.getNameByCode ("10020000 ");
Assert.AreEqual ("10020000 ", bc.getCodeByName (s), "#2");
}
}
}