|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ogf.graap.wsag.doc.AbstractAgreementIntegrationSnippets
public class AbstractAgreementIntegrationSnippets
Code snippets used in documentation.
Field Summary | |
---|---|
static int |
EXPECTED_FACTORIES
number of factories configured in the framework |
static int |
EXPECTED_TEMPLATES_FACTORY_1
number of templates at factory 1 |
Constructor Summary | |
---|---|
AbstractAgreementIntegrationSnippets()
|
Method Summary | |
---|---|
static AgreementFactoryClient[] |
getAgreementFactoryClients()
Returns the factory clients for this tests. |
static LoginContext |
getLoginContext()
Returns the login context used in the unit tests. |
void |
testCreateAgreement()
Code snippet to illustrate how agreements are created with an agreement factory. |
void |
testCreateAgreementException()
Code snippet to illustrate exception handling during agreements creation. |
void |
testCreateTerminateAgreement()
Code snippet to illustrate agreements termination. |
void |
testGetTemplate()
Code snippet to illustrate how templates are retrieved from an agreement factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EXPECTED_FACTORIES
public static final int EXPECTED_TEMPLATES_FACTORY_1
Constructor Detail |
---|
public AbstractAgreementIntegrationSnippets()
Method Detail |
---|
public static LoginContext getLoginContext() throws Exception
Exception
- indicates a failure during test case executionpublic void testGetTemplate() throws Exception
Exception
- indicates a failure during test case executionpublic void testCreateAgreement() throws Exception
Exception
- indicates a failure during test case executionpublic void testCreateAgreementException() throws Exception
Exception
- indicates a failure during test case executionpublic void testCreateTerminateAgreement() throws Exception
Exception
- indicates a failure during test case executionpublic static AgreementFactoryClient[] getAgreementFactoryClients() throws Exception
Exception
- indicates an error while generating the agreement factory client list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |