use of joynr.interlanguagetest.TestInterfaceSync.OverloadedMethodWithSelectorOverloadedMethodWithSelector1Returned in project joynr by bmwcarit.
the class IltConsumerSyncMethodTest method callOverloadedMethodWithSelector_3.
@Test
public void callOverloadedMethodWithSelector_3() {
LOG.info(name.getMethodName() + "");
try {
OverloadedMethodWithSelectorOverloadedMethodWithSelector1Returned result;
ExtendedExtendedEnumeration[] enumArrayArg = IltUtil.createExtendedExtendedEnumerationArray();
Long int64arg = 1L;
BaseStruct baseStructArg = IltUtil.createBaseStruct();
Boolean booleanArg = false;
result = testInterfaceProxy.overloadedMethodWithSelector(enumArrayArg, int64arg, baseStructArg, booleanArg);
if (result == null) {
fail(name.getMethodName() + " - FAILED - got no result");
return;
}
if (result.doubleOut != 1.1d || !IltUtil.checkExtendedBaseStruct(result.extendedBaseStructOut) || !IltUtil.checkStringArray(result.stringArrayOut)) {
fail(name.getMethodName() + " - FAILED - got invalid result");
return;
}
} catch (Exception e) {
fail(name.getMethodName() + " - FAILED - caught unexpected exception: " + e.getMessage());
return;
}
LOG.info(name.getMethodName() + " - OK");
}
use of joynr.interlanguagetest.TestInterfaceSync.OverloadedMethodWithSelectorOverloadedMethodWithSelector1Returned in project joynr by bmwcarit.
the class IltConsumerSyncMethodTest method callOverloadedMethodWithSelector_3.
@Test
public void callOverloadedMethodWithSelector_3() {
LOG.info(name.getMethodName() + "");
try {
OverloadedMethodWithSelectorOverloadedMethodWithSelector1Returned result;
ExtendedExtendedEnumeration[] enumArrayArg = IltUtil.createExtendedExtendedEnumerationArray();
Long int64arg = 1L;
BaseStruct baseStructArg = IltUtil.createBaseStruct();
Boolean booleanArg = false;
result = testInterfaceProxy.overloadedMethodWithSelector(enumArrayArg, int64arg, baseStructArg, booleanArg);
if (result == null) {
fail(name.getMethodName() + " - FAILED - got no result");
return;
}
if (!IltUtil.cmpDouble(result.doubleOut, 1.1d) || !IltUtil.checkExtendedBaseStruct(result.extendedBaseStructOut) || !IltUtil.checkStringArray(result.stringArrayOut)) {
fail(name.getMethodName() + " - FAILED - got invalid result");
return;
}
} catch (Exception e) {
fail(name.getMethodName() + " - FAILED - caught unexpected exception: " + e.getMessage());
return;
}
LOG.info(name.getMethodName() + " - OK");
}
Aggregations