}
// org.objectweb.type_test.types1.FixedArray
public void testFixedArray() throws Exception {
FixedArray x = new FixedArray();
x.getItem().addAll(Arrays.asList(Integer.MIN_VALUE, 0, Integer.MAX_VALUE));
FixedArray yOrig = new FixedArray();
yOrig.getItem().addAll(Arrays.asList(-1, 0, 1));
Holder<FixedArray> y = new Holder<FixedArray>(yOrig);
Holder<FixedArray> z = new Holder<FixedArray>();
FixedArray ret;
if (testDocLiteral) {
ret = docClient.testFixedArray(x, y, z);
} else {
ret = rpcClient.testFixedArray(x, y, z);
}
if (!perfTestOnly) {
for (int i = 0; i < 3; i++) {
assertEquals("testFixedArray(): Incorrect value for inout param",
x.getItem().get(i), y.value.getItem().get(i));
assertEquals("testFixedArray(): Incorrect value for out param",
yOrig.getItem().get(i), z.value.getItem().get(i));
assertEquals("testFixedArray(): Incorrect return value",
x.getItem().get(i), ret.getItem().get(i));
}
}
}