use of org.omg.CORBA.TypeCode in project cxf by apache.
the class CorbaUtilsTest method testULongTypeCode.
@Test
public void testULongTypeCode() {
QName type = new QName(CorbaConstants.NU_WSDL_CORBA, "ulong", "corba");
TypeCode tc = CorbaUtils.getPrimitiveTypeCode(orb, type);
assertNotNull(tc);
assertTrue(tc.kind().value() == TCKind._tk_ulong);
assertTrue(CorbaUtils.isPrimitiveIdlType(type));
}
use of org.omg.CORBA.TypeCode in project cxf by apache.
the class CorbaUtilsTest method testDoubleTypeCode.
@Test
public void testDoubleTypeCode() {
QName type = new QName(CorbaConstants.NU_WSDL_CORBA, "double", "corba");
TypeCode tc = CorbaUtils.getPrimitiveTypeCode(orb, type);
assertNotNull(tc);
assertTrue(tc.kind().value() == TCKind._tk_double);
assertTrue(CorbaUtils.isPrimitiveIdlType(type));
}
use of org.omg.CORBA.TypeCode in project cxf by apache.
the class CorbaUtilsTest method testUShortTypeCode.
@Test
public void testUShortTypeCode() {
QName type = new QName(CorbaConstants.NU_WSDL_CORBA, "ushort", "corba");
TypeCode tc = CorbaUtils.getPrimitiveTypeCode(orb, type);
assertNotNull(tc);
assertTrue(tc.kind().value() == TCKind._tk_ushort);
assertTrue(CorbaUtils.isPrimitiveIdlType(type));
}
use of org.omg.CORBA.TypeCode in project cxf by apache.
the class CorbaUtilsTest method testLongLongTypeCode.
@Test
public void testLongLongTypeCode() {
QName type = new QName(CorbaConstants.NU_WSDL_CORBA, "longlong", "corba");
TypeCode tc = CorbaUtils.getPrimitiveTypeCode(orb, type);
assertNotNull(tc);
assertTrue(tc.kind().value() == TCKind._tk_longlong);
assertTrue(CorbaUtils.isPrimitiveIdlType(type));
}
use of org.omg.CORBA.TypeCode in project cxf by apache.
the class CorbaUtilsTest method testULongLongTypeCode.
@Test
public void testULongLongTypeCode() {
QName type = new QName(CorbaConstants.NU_WSDL_CORBA, "ulonglong", "corba");
TypeCode tc = CorbaUtils.getPrimitiveTypeCode(orb, type);
assertNotNull(tc);
assertTrue(tc.kind().value() == TCKind._tk_ulonglong);
assertTrue(CorbaUtils.isPrimitiveIdlType(type));
}
Aggregations