uk.ac.soton.ecs.grimoires.test.uddiv2
Class BusinessLogicTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byuk.ac.soton.ecs.grimoires.test.uddiv2.BusinessLogicTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
WebServiceTestCase

public class BusinessLogicTestCase
extends junit.framework.TestCase


Field Summary
static String AUTHINFO
           
static String GENERAL_KEYWORDS_TMODEL_KEY
           
static String GENERIC
           
protected  Inquire inquireImpl
           
protected  InquireMetadataPort inquireMetadataImpl
           
protected  InquireUddiMetadataPort inquireUDDIMetadataImpl
           
static String KEY_NAME
           
protected  Vector keyList
           
protected  Publish publishImpl
           
protected  PublishMetadataPort publishMetadataImpl
           
protected  WSDL wsdl
           
static CategoryBag WSDL_SPEC_CB
           
 
Constructor Summary
BusinessLogicTestCase(String name)
           
 
Method Summary
 void chooseTModel()
           
 int getServiceNumber()
           
protected  void setUp()
           
protected  void tearDown()
           
 void test0010SimpleBusiness()
           
 void test0020ComplexBusiness()
           
 void test0030TModel()
           
 void test0040Service()
           
 void test0041Get_ServiceDetail()
           
 void test0042FindServiceByInterface()
           
 void test0101SaveService()
           
 void test0102GetService()
           
 void test0103DeleteService()
           
 void test0111SaveServiceWithMetadata()
           
 void test0112GetServiceByMetadata()
           
 void test0121SaveService()
           
 void test0122GetService()
           
 void test0200MetadataTriples()
           
 void test0201MetadataURI()
           
 void test0300LifetimeBusiness()
           
 void test0301LifetimeBusiness()
           
 void test0400AttachMetadataToMessagePart()
           
 void test0500SaveBindingTemplate()
           
 void testGetServiceWithGeneralKeywords()
           
 void testSaveServiceWithGeneralKeywords()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTHINFO

public static String AUTHINFO

GENERIC

public static final String GENERIC
See Also:
Constant Field Values

WSDL_SPEC_CB

public static final CategoryBag WSDL_SPEC_CB

GENERAL_KEYWORDS_TMODEL_KEY

public static final String GENERAL_KEYWORDS_TMODEL_KEY
See Also:
Constant Field Values

KEY_NAME

public static final String KEY_NAME
See Also:
Constant Field Values

inquireImpl

protected Inquire inquireImpl

publishImpl

protected Publish publishImpl

wsdl

protected WSDL wsdl

publishMetadataImpl

protected PublishMetadataPort publishMetadataImpl

inquireMetadataImpl

protected InquireMetadataPort inquireMetadataImpl

inquireUDDIMetadataImpl

protected InquireUddiMetadataPort inquireUDDIMetadataImpl

keyList

protected Vector keyList
Constructor Detail

BusinessLogicTestCase

public BusinessLogicTestCase(String name)
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

test0010SimpleBusiness

public void test0010SimpleBusiness()
                            throws Exception
Throws:
Exception

test0020ComplexBusiness

public void test0020ComplexBusiness()
                             throws Exception
Throws:
Exception

test0030TModel

public void test0030TModel()
                    throws Exception
Throws:
Exception

test0040Service

public void test0040Service()
                     throws Exception
Throws:
Exception

test0041Get_ServiceDetail

public void test0041Get_ServiceDetail()
                               throws Exception
Throws:
Exception

test0042FindServiceByInterface

public void test0042FindServiceByInterface()
                                    throws Exception
Throws:
Exception

getServiceNumber

public int getServiceNumber()

test0101SaveService

public void test0101SaveService()
                         throws Exception
Throws:
Exception

test0102GetService

public void test0102GetService()
                        throws Exception
Throws:
Exception

testSaveServiceWithGeneralKeywords

public void testSaveServiceWithGeneralKeywords()
                                        throws Exception
Throws:
Exception

chooseTModel

public void chooseTModel()
                  throws Exception
Throws:
Exception

testGetServiceWithGeneralKeywords

public void testGetServiceWithGeneralKeywords()
                                       throws Exception
Throws:
Exception

test0103DeleteService

public void test0103DeleteService()
                           throws Exception
Throws:
Exception

test0111SaveServiceWithMetadata

public void test0111SaveServiceWithMetadata()
                                     throws Exception
Throws:
Exception

test0112GetServiceByMetadata

public void test0112GetServiceByMetadata()
                                  throws Exception
Throws:
Exception

test0121SaveService

public void test0121SaveService()
                         throws Exception
Throws:
Exception

test0122GetService

public void test0122GetService()
                        throws Exception
Throws:
Exception

test0200MetadataTriples

public void test0200MetadataTriples()
                             throws Exception
Throws:
Exception

test0201MetadataURI

public void test0201MetadataURI()
                         throws Exception
Throws:
Exception

test0300LifetimeBusiness

public void test0300LifetimeBusiness()
                              throws Exception
Throws:
Exception

test0301LifetimeBusiness

public void test0301LifetimeBusiness()
                              throws Exception
Throws:
Exception

test0400AttachMetadataToMessagePart

public void test0400AttachMetadataToMessagePart()
                                         throws Exception
Throws:
Exception

test0500SaveBindingTemplate

public void test0500SaveBindingTemplate()
                                 throws Exception
Throws:
Exception