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