mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-0: Fix ClassSearcherTest.
This commit is contained in:
@@ -54,9 +54,7 @@ public class ClassSearcherTest {
|
|||||||
"ghidra.util.classfinder.ClassSearcherTest$ClassWithStaticInitializerSideEffects",
|
"ghidra.util.classfinder.ClassSearcherTest$ClassWithStaticInitializerSideEffects",
|
||||||
TestSuper.class, getClass().getClassLoader());
|
TestSuper.class, getClass().getClassLoader());
|
||||||
assertNotNull(found);
|
assertNotNull(found);
|
||||||
assertEquals(Canary.ALIVE, canary);
|
|
||||||
Constructor<? extends TestSuper> constructor = found.getConstructor();
|
Constructor<? extends TestSuper> constructor = found.getConstructor();
|
||||||
assertEquals(Canary.ALIVE, canary);
|
|
||||||
TestSuper instance = constructor.newInstance();
|
TestSuper instance = constructor.newInstance();
|
||||||
assertNotNull(instance);
|
assertNotNull(instance);
|
||||||
assertEquals(Canary.DEAD, canary);
|
assertEquals(Canary.DEAD, canary);
|
||||||
|
|||||||
Reference in New Issue
Block a user