FileDocCategorySizeDatePackage
TestDefaultTM.javaAPI DocApache Axis 1.41685Sat Apr 22 18:57:28 BST 2006test.encoding

TestDefaultTM

public class TestDefaultTM extends TestCase
Default Type Mapping tests

Fields Summary
Constructors Summary
Methods Summary
private voidcheckTypes(java.lang.String version)

        TypeMappingRegistryImpl tmr = new TypeMappingRegistryImpl();
        tmr.doRegisterFromVersion(version);
        TypeMapping tm = tmr.getDefaultTypeMapping();
        assertNull("Found mapping for soapenc:string in TM version " + version,
                   tm.getDeserializer(null, Constants.SOAP_STRING));
    
public voidtestNoSOAPENCTypes()
This test makes sure that there aren't any SOAPENC types mapped in the default type mappings for any of the valid "version" strings.

throws
Exception

        checkTypes(null);
        checkTypes("1.0");
        checkTypes("1.1");
        checkTypes("1.2");
        checkTypes("1.3");