GT-3512 refactor tests to use bytes() helper method, javadoc.

Allows getting rid of out-of-place ByteMemBufferImpl ctor.
Fix javadoc
This commit is contained in:
dev747368 2020-02-06 20:04:30 -05:00
parent b6bea0fb39
commit e4372a30f1
15 changed files with 92 additions and 95 deletions

View file

@ -80,14 +80,6 @@ public class ViewStringsPluginScreenShots extends GhidraScreenShotGenerator {
}
private static byte[] bytes(int... intValues) {
byte[] result = new byte[intValues.length];
for (int i = 0; i < intValues.length; i++) {
result[i] = (byte) (intValues[i]);
}
return result;
}
@Test
public void testDefined_String_Table() {
ViewStringsProvider provider = showProvider(ViewStringsProvider.class);