FileDocCategorySizeDatePackage
TestWeather_Service.javaAPI DocExample732Tue Oct 09 11:03:40 BST 2001com.ecerami.test.wsdl

TestWeather_Service

public class TestWeather_Service extends TestCase

Fields Summary
Constructors Summary
public TestWeather_Service(String name)

         super(name);
     
Methods Summary
public voidtestWeatherRetrieval()
Tests Weather Retrieval Via GLUE Interface

      Invoke_Weather invoker = new Invoke_Weather();
      WeatherSummary summary = invoker.getWeatherSummary("KJFK");
      //  Cannot test actual weather data, as this changes.
      //  Hence, test location field.
      assertEquals ("New York, Kennedy International Airport, NY, United States",
        summary.location);