Skip to content

Ghidra is a software reverse engineering (SRE) framework

Test fixes

dragonmacher08004a3376bb
diff --git a/Ghidra/Features/Base/src/test/java/ghidra/framework/options/OptionsTest.java b/Ghidra/Features/Base/src/test/java/ghidra/framework/options/OptionsTest.java
index 276adad85d..75b9f4eb7a 100644
--- a/Ghidra/Features/Base/src/test/java/ghidra/framework/options/OptionsTest.java
+++ b/Ghidra/Features/Base/src/test/java/ghidra/framework/options/OptionsTest.java
@@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -665,7 +665,7 @@ public class OptionsTest extends AbstractGuiTest {
int value;
@SuppressWarnings("unused")
- MyCustomOption() {
+ public MyCustomOption() {
// used by reflection
}
@@ -695,6 +695,11 @@ public class OptionsTest extends AbstractGuiTest {
public int hashCode() {
return 0;
}
+
+ @Override
+ public String toString() {
+ return "MyCustomOption[value=%s]".formatted(value);
+ }
}
static class MyOptionsEditor implements OptionsEditor {