org.ogf.graap.wsag.it.samples.negotiation
Class AbstractSampleNegotiatorTest

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.samples.negotiation.AbstractSampleNegotiatorTest
All Implemented Interfaces:
junit.framework.Test

public class AbstractSampleNegotiatorTest
extends AbstractIntegrationTest

Sample Negotiator to demonstrate the Agreement Negotiation.

Author:
hrasheed

Field Summary
 
Fields inherited from class org.ogf.graap.wsag.it.AbstractIntegrationTest
EXPECTED_TEMPLATES_FACTORY_1, EXPECTED_TEMPLATES_FACTORY_2
 
Constructor Summary
AbstractSampleNegotiatorTest(String name)
           
 
Method Summary
 void testSampleNegotiator()
          Tests the negotiation of offers and counter offers.
 
Methods inherited from class org.ogf.graap.wsag.it.AbstractIntegrationTest
getAgreementFactoryClient, getAgreementFactoryClients, getDefaultFactoryCount, 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

AbstractSampleNegotiatorTest

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

testSampleNegotiator

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

Throws:
Exception - indicates an error in the test case


Copyright © 2008-2012. All Rights Reserved.