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

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

public class JAXR030AssociationsTest
extends BaseTestCase

Tests Publish, Delete (and indirectly, find) for associations. 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
JAXR030AssociationsTest()
           
 
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 testPublishFindAndDeleteAssociation()
          Tests publishing and deleting of associations.
 
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

JAXR030AssociationsTest

public JAXR030AssociationsTest()
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

testPublishFindAndDeleteAssociation

public void testPublishFindAndDeleteAssociation()
Tests publishing and deleting of associations. 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.