mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
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:
parent
b6bea0fb39
commit
e4372a30f1
15 changed files with 92 additions and 95 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue