Package org.apache.axiom.soap.impl.dom

Source Code of org.apache.axiom.soap.impl.dom.SOAPImplementationTest

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.axiom.soap.impl.dom;

import junit.framework.TestCase;
import junit.framework.TestSuite;

import org.apache.axiom.om.impl.dom.factory.OMDOMMetaFactory;
import org.apache.axiom.ts.soap.SOAPTestSuiteBuilder;
import org.apache.axiom.ts.soap.body.TestHasFaultAfterReplace;
import org.apache.axiom.ts.soap.factory.TestGetDefaultFaultEnvelope;
import org.apache.axiom.ts.soap.faultdetail.TestWSCommons202;
import org.apache.axiom.ts.soap.faulttext.TestSetLang;
import org.apache.axiom.ts.soap12.fault.TestMoreChildrenAddition;
import org.apache.axiom.ts.soap12.faultcode.TestSetValueFromQNameWithExistingValue;

public class SOAPImplementationTest extends TestCase {
    public static TestSuite suite() {
        SOAPTestSuiteBuilder builder = new SOAPTestSuiteBuilder(new OMDOMMetaFactory(), false, false);
        builder.exclude(TestWSCommons202.class);
       
        // TODO: getDefaultFaultEnvelope is broken
        builder.exclude(TestGetDefaultFaultEnvelope.class, "(spec=soap11)");
        builder.exclude(TestHasFaultAfterReplace.class, "(spec=soap11)");
       
        // TODO: not sure if this is an issue in DOOM or if the test case is wrong
        builder.exclude(TestMoreChildrenAddition.class);
       
        // SOAPFaultText is currently unsupported in DOOM
        builder.exclude(TestSetLang.class);
       
        // TODO: a couple of prerequisites for these tests are not implemented
        builder.exclude(org.apache.axiom.ts.soap11.faultcode.TestSetValueFromQName.class);
        builder.exclude(org.apache.axiom.ts.soap12.faultcode.TestSetValueFromQName.class);
        builder.exclude(TestSetValueFromQNameWithExistingValue.class);
       
        return builder.build();
    }
}
TOP

Related Classes of org.apache.axiom.soap.impl.dom.SOAPImplementationTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.