mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-12-4-23'
This commit is contained in:
commit
1ebcfd58bc
2 changed files with 6 additions and 4 deletions
|
@ -80,11 +80,12 @@ public class EncodedStringsPlugin extends ProgramPlugin {
|
|||
|
||||
private void registerOptions() {
|
||||
ToolOptions options = tool.getOptions(STRINGS_OPTION_NAME);
|
||||
options.registerOption(CHARSET_OPTIONNAME, CHARSET_DEFAULT_VALUE, null,
|
||||
options.registerOption(CHARSET_OPTIONNAME, CHARSET_DEFAULT_VALUE, HELP_LOCATION,
|
||||
"Name of default charset.");
|
||||
options.registerOption(STRINGMODEL_FILENAME_OPTIONNAME, STRINGMODEL_FILENAME_DEFAULT, null,
|
||||
options.registerOption(STRINGMODEL_FILENAME_OPTIONNAME, STRINGMODEL_FILENAME_DEFAULT,
|
||||
HELP_LOCATION,
|
||||
"Name of default string model file.");
|
||||
options.registerOption(TRANSLATE_SERVICE_OPTIONNAME, "", null,
|
||||
options.registerOption(TRANSLATE_SERVICE_OPTIONNAME, "", HELP_LOCATION,
|
||||
"Name of default translation service.");
|
||||
}
|
||||
|
||||
|
|
|
@ -1012,7 +1012,8 @@ public class CodeBrowserOptionsTest extends AbstractGhidraHeadedIntegrationTest
|
|||
|
||||
// it has a help location; is it valid?
|
||||
if (hl != null && !isValidHelpLocation(hl)) {
|
||||
missing.add(name + "." + name);
|
||||
isValidHelpLocation(hl);
|
||||
missing.add(options.getName() + "." + name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue