String[] yy = {"GREEN", "BLUE", "RED"};
Holder<ColourEnum> z = new Holder<ColourEnum>();
for (int i = 0; i < 3; i++) {
ColourEnum x = ColourEnum.fromValue(xx[i]);
ColourEnum yOrig = ColourEnum.fromValue(yy[i]);
Holder<ColourEnum> y = new Holder<ColourEnum>(yOrig);
ColourEnum ret;
if (testDocLiteral) {
ret = docClient.testColourEnum(x, y, z);
} else if (testXMLBinding) {
ret = xmlClient.testColourEnum(x, y, z);
} else {
ret = rpcClient.testColourEnum(x, y, z);
}
if (!perfTestOnly) {
assertEquals("testColourEnum(): Incorrect value for inout param", x.value(), y.value.value());
assertEquals("testColourEnum(): Incorrect value for out param", yOrig.value(), z.value
.value());
assertEquals("testColourEnum(): Incorrect return value", x.value(), ret.value());
}
}
}