DataFactoryUnitTest

public class DataFactoryUnitTest extends TestCase

The DataFactoryUnitTest is unit test of DataFactory.

Author:Twinsen Tsang

Fields

AS2_ADMIN_DATA_SAMPLE0

public static final String AS2_ADMIN_DATA_SAMPLE0

AS2_MESSAGE_DATA_SAMPLE0

public static final String AS2_MESSAGE_DATA_SAMPLE0

AS2_MESSAGE_DATA_STORE0

public static final String AS2_MESSAGE_DATA_STORE0

AS2_PARTNERSHIP_DATA_LOAD0

public static final String AS2_PARTNERSHIP_DATA_LOAD0

This is the fixture name for testing the reading capabilities for AS2Partnership in DataFactory.

AS2_PARTNERSHIP_DATA_STORE0

public static final String AS2_PARTNERSHIP_DATA_STORE0

This is the fixture name for testing the storing capabilities for DataFactory. This fixture does not contains any data initially.

EBMS_ADMIN_DATA_SAMPLE0

public static final String EBMS_ADMIN_DATA_SAMPLE0

EBMS_CONFIG_DATA_SAMPLE0

public static final String EBMS_CONFIG_DATA_SAMPLE0

EBMS_HISTORY_QUERY_DATA_STORE0

public static final String EBMS_HISTORY_QUERY_DATA_STORE0

EBMS_MESSAGE_DATA_SAMPLE0

public static final String EBMS_MESSAGE_DATA_SAMPLE0

EBMS_MESSAGE_DATA_STORE0

public static final String EBMS_MESSAGE_DATA_STORE0

EBMS_PARTNERSHIP_DATA_LOAD0

public static final String EBMS_PARTNERSHIP_DATA_LOAD0

This is the fixture name for testing the reading capabilities for EBMSPartnership in DataFactory.

EBMS_PARTNERSHIP_DATA_STORE0

public static final String EBMS_PARTNERSHIP_DATA_STORE0

This is the fixture name for testing the storing capabilities for DataFactory. This fixture does not contains any data initially.

logger

final Logger logger

Methods

setUp

protected void setUp()

tearDown

protected void tearDown()

testCcreateEbmsMessageHistoryQueryDataFromXML

public void testCcreateEbmsMessageHistoryQueryDataFromXML()

testCreateAS2AdminData

public void testCreateAS2AdminData()

Test whether the DataFactory able to load AS2 Administrator Data from the fixture *

testCreateAS2MessageData

public void testCreateAS2MessageData()

testCreateAS2PartnershipData

public void testCreateAS2PartnershipData()

Test whether the DataFactory able to create EBMS Partnership Data from the fixture *

testCreateEBMSAdminData

public void testCreateEBMSAdminData()

Test whether the DataFactory able to load EBMS Administrator Data from the fixture *

testCreateEBMSConfigData

public void testCreateEBMSConfigData()

testCreateEBMSPartnershipData

public void testCreateEBMSPartnershipData()

Test whether the DataFactory able to create EBMS Partnership Data from the fixture *

testStoreAS2MessageData

public void testStoreAS2MessageData()

Test whether the DataFactory able to store AS2 Message Data to the fixture *

testStoreAS2PartnershipData

public void testStoreAS2PartnershipData()

Test whether the DataFactory able to store AS2 Partnership Data to the fixture *

testStoreEBMSMessageData

public void testStoreEBMSMessageData()

Test whether the DataFactory able to store EBMS Message Data to the fixture *

testStoreEBMSPartnershipData

public void testStoreEBMSPartnershipData()

Test whether the DataFactory able to store EBMS Partnership Data to the fixture *