mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-19 16:40:38 -09:00
GP-1981 - Updated help to allow authors to use theme image ids; updated
help to only allow modules that live on the classpath. Dpdating themd documentation. Fixing gradle help build
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 444 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 KiB |
@@ -2082,8 +2082,7 @@ public abstract class AbstractFunctionGraphTest extends AbstractGhidraHeadedInte
|
||||
|
||||
protected void verifyColor(FGVertex vertex, Color expectedColor) {
|
||||
Color currentBackgroundColor = vertex.getBackgroundColor();
|
||||
assertEquals("Color of vertex is not as expected - vertex: " + vertex, expectedColor,
|
||||
currentBackgroundColor);
|
||||
assertColorsEqual(expectedColor, currentBackgroundColor);
|
||||
}
|
||||
|
||||
protected void verifyDefaultColor(FGVertex... vertices) {
|
||||
|
||||
@@ -627,7 +627,7 @@ public class FunctionGraphPlugin1Test extends AbstractFunctionGraphTest {
|
||||
chooseColor(focusedVertex, testColor);
|
||||
|
||||
Color newVertexBackgroundColor = focusedVertex.getUserDefinedColor();
|
||||
assertEquals("Background color not set", testColor, newVertexBackgroundColor);
|
||||
assertColorsEqual(testColor, newVertexBackgroundColor);
|
||||
|
||||
DockingAction clearColorAction = getClearColorAction(focusedVertex);
|
||||
performAction(clearColorAction, graphProvider, true);
|
||||
|
||||
@@ -285,7 +285,7 @@ public class FunctionGraphPlugin2Test extends AbstractFunctionGraphTest {
|
||||
|
||||
// make sure the service is also cognizant of the color change
|
||||
appliedBackgroundColor = colorizingService.getBackgroundColor(vertex.getVertexAddress());
|
||||
assertEquals(testColor, appliedBackgroundColor);
|
||||
assertColorsEqual(testColor, appliedBackgroundColor);
|
||||
|
||||
Color vBg = vertex.getBackgroundColor();
|
||||
assertEquals(appliedBackgroundColor, vBg);
|
||||
@@ -333,8 +333,8 @@ public class FunctionGraphPlugin2Test extends AbstractFunctionGraphTest {
|
||||
|
||||
Color newBackgroundColor =
|
||||
colorizingService.getBackgroundColor(focusedVertex.getVertexAddress());
|
||||
assertEquals("'Set Most Recent Color' action did not apply that color to the color service",
|
||||
mostRecentColor, newBackgroundColor);
|
||||
// "'Set Most Recent Color' action did not apply that color to the color service"
|
||||
assertColorsEqual(mostRecentColor, newBackgroundColor);
|
||||
}
|
||||
|
||||
// TODO: see SCR 9208 - we don't currently support this, although we could
|
||||
|
||||
Reference in New Issue
Block a user