Ghidra is a software reverse engineering (SRE) framework
fixing test problems
adamopolous047404c80da5
diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/codebrowser/CodeBrowserOptionsTest.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/codebrowser/CodeBrowserOptionsTest.javaindex b720966d08..b0f74fed16 100644--- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/codebrowser/CodeBrowserOptionsTest.java+++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/codebrowser/CodeBrowserOptionsTest.java@@ -184,6 +184,7 @@ public class CodeBrowserOptionsTest extends AbstractGhidraHeadedIntegrationTestassertEquals("Function Signature Field", groups[idx++]);assertEquals("Labels Field", groups[idx++]);assertEquals("Mnemonic Field", groups[idx++]);+ assertEquals("Mouse", groups[idx++]);assertEquals("Operands Field", groups[idx++]);assertEquals("Pcode Field", groups[idx++]);assertEquals("Plate Comment", groups[idx++]);diff --git a/Ghidra/Test/IntegrationTest/src/test/java/ghidra/program/model/lang/RegisterValueContextTest.java b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/model/lang/RegisterValueContextTest.javasimilarity index 100%rename from Ghidra/Test/IntegrationTest/src/test/java/ghidra/program/model/lang/RegisterValueContextTest.javarename to Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/model/lang/RegisterValueContextTest.javadiff --git a/Ghidra/Test/IntegrationTest/src/test/java/ghidra/program/model/lang/RegisterValueTest.java b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/model/lang/RegisterValueTest.javasimilarity index 100%rename from Ghidra/Test/IntegrationTest/src/test/java/ghidra/program/model/lang/RegisterValueTest.javarename to Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/program/model/lang/RegisterValueTest.javadiff --git a/gradle/javaTestProject.gradle b/gradle/javaTestProject.gradleindex 63fda637ab..3672f49076 100644--- a/gradle/javaTestProject.gradle+++ b/gradle/javaTestProject.gradle@@ -29,8 +29,11 @@ test { t ->// the class searching environment. This can have a negative impact// on test results due to the inconsistent Application environment// which may exist when all tests are run versus a single test.- // Based on this limitation we should only use the Integration base- // test classes within integrationTest regions (e.g., test.slow).+ //+ // Based on this limitation, do not place tests that depend on integration+ // base classes (eg: AbstractGhidraHeadlessIntegrationTest) in 'test'; they+ // must go in 'test.slow'.+doFirst {startTestTimer(t)