String[] xx = {"a b c", "d e f", "g h i"};
String[] yy = {"g h i", "a b c", "d e f"};
Holder<StringEnum> z = new Holder<StringEnum>();
for (int i = 0; i < 3; i++) {
StringEnum x = StringEnum.fromValue(xx[i]);
StringEnum yOrig = StringEnum.fromValue(yy[i]);
Holder<StringEnum> y = new Holder<StringEnum>(yOrig);
StringEnum ret;
if (testDocLiteral) {
ret = docClient.testStringEnum(x, y, z);
} else if (testXMLBinding) {
ret = xmlClient.testStringEnum(x, y, z);
} else {
ret = rpcClient.testStringEnum(x, y, z);
}
if (!perfTestOnly) {
assertEquals("testStringEnum(): Incorrect value for inout param",
x.value(), y.value.value());
assertEquals("testStringEnum(): Incorrect value for out param",
yOrig.value(), z.value.value());
assertEquals("testStringEnum(): Incorrect return value",
x.value(), ret.value());
}
}
}