Test fixes

This commit is contained in:
dragonmacher 2024-08-27 09:31:53 -04:00
parent d293326909
commit 08004a3376

View File

@ -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 {