StatementKeyFactory.newPrepared(sql, schema, rsh, auto),
StatementKeyFactory.newPrepared(sql, schema, rst, rsc, rsh),
StatementKeyFactory.newCallable(sql, schema, rsh),
StatementKeyFactory.newCallable(sql, schema, rst, rsc, rsh)};
for (int outer=0; outer < keys.length; outer++) {
StatementKey current = keys[outer];
for (int inner=0; inner < keys.length; inner++) {
if (outer != inner) {
if (current.equals(keys[inner])) {
fail("[" + current.toString() + "] should not equal [" +
keys[inner].toString() + "]");
}
} else {
// Should equal itself.
assertTrue(current.equals(keys[inner]));
}
}
}
}