?? typemappingregistrytest.java
字號:
package org.codehaus.xfire.plexus.type;import org.codehaus.plexus.PlexusTestCase;import org.codehaus.xfire.aegis.type.TypeMapping;import org.codehaus.xfire.plexus.type.TypeMappingRegistry;import org.codehaus.xfire.soap.SoapConstants;/** * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a> * @since Nov 9, 2004 */public class TypeMappingRegistryTest extends PlexusTestCase{ public void testRegistry() throws Exception { TypeMappingRegistry reg = (TypeMappingRegistry) lookup( TypeMappingRegistry.ROLE ); assertNotNull(reg); TypeMapping tm = reg.getTypeMapping(SoapConstants.XSD); assertNotNull(tm); assertNotNull(tm.getType(String.class)); assertNotNull(tm.getType(Integer.class)); assertNotNull(tm.getType(int.class)); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -