Petals-SE-Activiti 1.0.3+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History
The unit test framework contains an assertion '{{assertWsdlCompliance}}' to verify easily the compliance of your WSDL with the attendees of the mode 'service':
{code:lang=java}
import static org.ow2.petals.activitibpmn.junit.WsdlCompliance.assertWsdlCompliance; org.ow2.petals.activitibpmn.junit.Assert.assertWsdlCompliance;
import javax.xml.namespace.QName;
import org.junit.Test;
{code}

See the Javadoc for more details on parameters.

h2. Unit-testing your XSLs

The unit test framework contains an assertion '{{assertXslTransformation}}' to verify easily the result of your XSL transformations:
{color:red}*TODO*{color} {code:lang=java}
import static org.ow2.petals.activitibpmn.junit.Assert.assertXslTransformation;
import ...
import org.junit.Test;

public class XslTest {

@Test
public void newVacationRequestResponse_Nominal() throws IOException, TransformerException, SAXException {
assertXslTransformation(NEW_VACATION_RESULT_DIR + "nominal.xml", XSL_NEW_VACATION, "AZE123", null, null, false);
}

}
{code}

See the Javadoc for more details on parameters.

h2. Unit-testing your process definition