• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Integrate QSes into CI: JBESB-837
    • -79
    • +0
    ./src/org/jboss/soa/esb/MyAction.java
    • -38
    • +0
    ./src/org/jboss/soa/esb/StatsMBean.java
  1. … 98 more files in changeset.
bug:SOA-1

Commit transform quickstart tests.

    • -0
    • +2
    ./src/resources/transformedmessageCSV2XML.log
    • -0
    • +22
    ./src/resources/transformedmessageDateManipulation.log
    • -0
    • +5
    ./src/resources/transformedmessageEDI2XMLGroovyXSL.log
    • -0
    • +19
    ./src/resources/transformedmessageXML2POJO.log
    • -0
    • +18
    ./src/resources/transformedmessageXML2Simple.log
quickstarts/tests/src/org/jboss/soa/esb/quickstart/test/HelloWorldSQLActionTest.java

Added validation - but commented it out for now

// Commented out 20070824 - ldimaggi - the log file is not

// being written - not clear why - perhaps due to

// ESB supports DB as a transport - That type of transport does

// not support MySQL

quickstarts/tests/build.xml

Removed more_action quickstart per http://jira.jboss.com/jira/browse/JBESB-880

Needed for HelloWorldSQLActionTest.java

tests/build.xml - Added createdb and dropdb targets to support HelloWorldSQLAction

test. The test cannot be run unless the target DB is first created. Note that the

test cannot even be deployed unless the DB is first created. (This means that the

test cannot create the DB after it is deployed.)

tests/src/org/jboss/soa/esb/quickstart/test/HelloWorldSQLActionTest.java - Updated

to actually create the DB records to cause the test to run.

HelloWorldFileActionTest.java - Updated to include test validation as defined in Helpers.java

Helpers.java - added routines to support HelloWorldFileActionTest.java - put these in the Helper class in case they are useful to other (as yet unwritten) tests

Putting the right test class in the "Test suite()"
Updated to include validations in Helpers.java

Corrected reference to event file - cut and paste error

Updated to reference validation routines/event file defined in Helpers.java

JBESB-688 removing jbpm_simple1
  1. … 21 more files in changeset.
Updated to match validation in Helpers.java

Updated to handle situations where more than one instance of a message is written to the message file. The test has to verify that the event file is pr

esent, and that it contains the correct number of messages.

Updated to no longer include sleep()'s to wait for message to be queued - now uses Helpers.checkForFile()

Removed the original (and now commented out) sleep()

test/Helpers.java

Added routine to repeated look for event file - so we can remove sleep's from tests per Kurt's code review

test/HelloWorldTest.java

Changed to make use of the new routine in Helpers.java

JBESB-613 Adding QSs unittests to the CI build
JBESB-613 Adding QSs unittests to the CI build
  1. … 60 more files in changeset.
Enhanced to validate test results - need to figure out a way to deal with messages that contain XML - as org.jboss.soa.esb.actions.SystemPrintln action results in this error: Content is not allowed in trailing section.

Replaced use of /opt with /tmp for event text files.

Modified to delete the event text file at the end of the test.

Modified to check for presence of output message in all 3 output queues - and to delete the event text file at the end of the test. Requires a change to rosetta/src/org/jboss/soa/esb/actions/SystemPrintln.java to always open event text file for appending.

Updated to include Junit assert for test validation.

Helpers.java - helper class for test case asserts - reads the message file created via

<action name="action2"

class="org.jboss.soa.esb.actions.SystemPrintln" />

into a Hashtable

HelloWorld.java - modified to use the helper class.

    • -0
    • +56
    ./src/org/jboss/soa/esb/quickstart/test/Helpers.java
Updated to add wiretap, recipient_list, dynamic_router tests.

Initial checkin for these tests

Initial checkin - test for wiretap quickstart

Fixup tests
  1. … 1 more file in changeset.
Only copy the quickstarts.properties over if one doesn't exist.

Adding quickstart tests.

    • -0
    • +4
    ./quickstarts.properties
    • -0
    • +79
    ./src/org/jboss/soa/esb/MyAction.java
    • -0
    • +46
    ./src/org/jboss/soa/esb/Stats.java
    • -0
    • +38
    ./src/org/jboss/soa/esb/StatsMBean.java
    • -0
    • +45
    ./src/org/jboss/soa/esb/quickstart/test/BPMOrchestrationTest.java
  1. … 19 more files in changeset.