1 package org.codehaus.ivory.list; 2 3 import org.codehaus.ivory.plexus.IvoryTestCase; 4 5 /*** 6 * Tests the DefaultAxisService. 7 * 8 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a> 9 * @since Mar 9, 2003 10 */ 11 public class ListServiceTest extends IvoryTestCase 12 { 13 public ListServiceTest(String name) 14 { 15 super(name); 16 } 17 18 public void testListSerialization() throws Exception 19 { 20 assertValidWSDL( "List", "getDevelopers" ); 21 22 String wsdl = getWSDL( "List" ); 23 assertStringNotInBody( "wsdl", "secretMethod" ); 24 /* 25 WebResponse response = 26 newClient().getResponse("http://localhost/services/List?method=getDevelopers"); 27 28 assertIsXml( response.getText() ); 29 assertStringInBody( response, "Dan Diephouse" ); 30 assertStringInBody( response, "Jason van Zyl" ); 31 */ 32 } 33 } 34

This page was automatically generated by Maven