ToolUtils.createEntityIdFromUserInputs("['', '', '', null, null]", mFormattedLayout));
}
@Test
public void testASCIIChars() throws Exception {
final EntityIdFactory factory =
EntityIdFactory.getFactory((RowKeyFormat2) mFormattedLayout.getDesc().getKeysFormat());
for (byte b = 32; b < 127; b++) {
for (byte b2 = 32; b2 < 127; b2++) {
final EntityId eid = factory.getEntityId(String.format(
"dumm%sy", new String(new byte[]{b, b2}, "Utf-8")), "str1", "str2", 5, 10L);
assertEquals(eid,
ToolUtils.createEntityIdFromUserInputs(eid.toShellString(), mFormattedLayout));
}