org.ogf.graap.wsag.it
Class AbstractAgreementNegotiationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ogf.graap.wsag.it.WsagTestCase
              extended by org.ogf.graap.wsag.it.AbstractIntegrationTest
                  extended by org.ogf.graap.wsag.it.AbstractAgreementNegotiationTest
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractAgreementNegotiationTest
extends AbstractIntegrationTest

Default unit test implementation of the WS-Agreement Negotiation port type.

Author:
hrasheed

Field Summary
 
Fields inherited from class org.ogf.graap.wsag.it.AbstractIntegrationTest
EXPECTED_FACTORIES, EXPECTED_TEMPLATES_FACTORY_1, EXPECTED_TEMPLATES_FACTORY_2
 
Constructor Summary
AbstractAgreementNegotiationTest(String name)
           
 
Method Summary
 void testAgreementNegotiation()
          Tests the negotiation of offers and counter offers.
 
Methods inherited from class org.ogf.graap.wsag.it.AbstractIntegrationTest
getAgreementFactoryClients, getLoginContext, getUrl, setUp, setUrl, tearDown
 
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
 

Constructor Detail

AbstractAgreementNegotiationTest

public AbstractAgreementNegotiationTest(String name)
Parameters:
name - the test name
Method Detail

testAgreementNegotiation

public void testAgreementNegotiation()
                              throws Exception
Tests the negotiation of offers and counter offers.

Throws:
Exception - indicates a test failure


Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.