Search in sources :

Example 1 with MatrixTestSuiteBuilder

use of org.apache.axiom.testutils.suite.MatrixTestSuiteBuilder in project webservices-axiom by apache.

the class StreamSourceToOMResultTest method suite.

public static TestSuite suite() {
    MatrixTestSuiteBuilder builder = new MatrixTestSuiteBuilder() {

        @Override
        protected void addTests() {
            for (int i = 0; i < axiomImplementations.length; i++) {
                for (Iterator it = Multiton.getInstances(XMLSample.class).iterator(); it.hasNext(); ) {
                    addTest(new StreamSourceToOMResultTest(axiomImplementations[i], (XMLSample) it.next()));
                }
            }
        }
    };
    builder.exclude("(|(file=sax-attribute-namespace-bug.xml)(file=large.xml))");
    return builder.build();
}
Also used : XMLSample(org.apache.axiom.ts.xml.XMLSample) Iterator(java.util.Iterator) MatrixTestSuiteBuilder(org.apache.axiom.testutils.suite.MatrixTestSuiteBuilder)

Aggregations

Iterator (java.util.Iterator)1 MatrixTestSuiteBuilder (org.apache.axiom.testutils.suite.MatrixTestSuiteBuilder)1 XMLSample (org.apache.axiom.ts.xml.XMLSample)1