org.apache.ws.scout.registry.qa
Class JAXR040ServiceTest

java.lang.Object
  extended by org.apache.ws.scout.BaseTestCase
      extended by org.apache.ws.scout.registry.qa.JAXR040ServiceTest

public class JAXR040ServiceTest
extends BaseTestCase

Tests Publish, Delete (and indirectly, find) for service bindings. You can comment out the deletion portion and use Open source UDDI Browser to check your intermediate results. Based on query/publish tests written by Anil Saldhana.

Since:
Sep 27, 2005
Author:
Deepak Bhole, Anil Saldhana

Field Summary
 
Fields inherited from class org.apache.ws.scout.BaseTestCase
blm, connection, connection2, maxRows, passwd, passwd2, uddiversion, userid, userid2
 
Constructor Summary
JAXR040ServiceTest()
           
 
Method Summary
 void setUp()
          Reads scout properties, and creates a connection using these properties.
static junit.framework.Test suite()
           
 void tearDown()
          Closes down the connection to the registry.
 void testPublishFindAndDeleteService()
          Tests publishing and deleting of services.
 
Methods inherited from class org.apache.ws.scout.BaseTestCase
login, loginSecondUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXR040ServiceTest

public JAXR040ServiceTest()
Method Detail

setUp

public void setUp()
Description copied from class: BaseTestCase
Reads scout properties, and creates a connection using these properties.

Overrides:
setUp in class BaseTestCase

tearDown

public void tearDown()
Description copied from class: BaseTestCase
Closes down the connection to the registry.

Overrides:
tearDown in class BaseTestCase

testPublishFindAndDeleteService

public void testPublishFindAndDeleteService()
Tests publishing and deleting of services. Do not break this into testPublish(), testDelete(), etc. Order is important, and not all jvms can guarantee order since the JUnit framework uses getMethods() to gather test methods, and getMethods() does not guarantee order.


suite

public static junit.framework.Test suite()


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.