Ghidra is a software reverse engineering (SRE) framework
GP-0 corrected diff apply failures
James5a156112a031
diff --git a/Ghidra/Features/ProgramDiff/src/test.slow/java/ghidra/app/plugin/core/diff/DiffApplyTestAdapter.java b/Ghidra/Features/ProgramDiff/src/test.slow/java/ghidra/app/plugin/core/diff/DiffApplyTestAdapter.javaindex bac2cb2b64..ba6d813de1 100644--- a/Ghidra/Features/ProgramDiff/src/test.slow/java/ghidra/app/plugin/core/diff/DiffApplyTestAdapter.java+++ b/Ghidra/Features/ProgramDiff/src/test.slow/java/ghidra/app/plugin/core/diff/DiffApplyTestAdapter.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.@@ -204,15 +204,15 @@ public class DiffApplyTestAdapter extends DiffTestAdapter {(JComboBox<?>) findComponentByName(settingsPanel, "Code Units Diff Apply CB");refApplyCB = (JComboBox<?>) findComponentByName(settingsPanel, "References Diff Apply CB");plateCommentApplyCB =- (JComboBox<?>) findComponentByName(settingsPanel, "Plate Comments Diff Apply CB");+ (JComboBox<?>) findComponentByName(settingsPanel, "Comments, Plate Diff Apply CB");preCommentApplyCB =- (JComboBox<?>) findComponentByName(settingsPanel, "Pre Comments Diff Apply CB");+ (JComboBox<?>) findComponentByName(settingsPanel, "Comments, Pre Diff Apply CB");eolCommentApplyCB =- (JComboBox<?>) findComponentByName(settingsPanel, "Eol Comments Diff Apply CB");+ (JComboBox<?>) findComponentByName(settingsPanel, "Comments, EOL Diff Apply CB");repeatableCommentApplyCB =- (JComboBox<?>) findComponentByName(settingsPanel, "Repeatable Comments Diff Apply CB");+ (JComboBox<?>) findComponentByName(settingsPanel, "Comments, Repeatable Diff Apply CB");postCommentApplyCB =- (JComboBox<?>) findComponentByName(settingsPanel, "Post Comments Diff Apply CB");+ (JComboBox<?>) findComponentByName(settingsPanel, "Comments, Post Diff Apply CB");labelApplyCB = (JComboBox<?>) findComponentByName(settingsPanel, "Labels Diff Apply CB");functionApplyCB =(JComboBox<?>) findComponentByName(settingsPanel, "Functions Diff Apply CB");diff --git a/Ghidra/Features/ProgramDiff/src/test.slow/java/ghidra/app/plugin/core/diff/DiffTestAdapter.java b/Ghidra/Features/ProgramDiff/src/test.slow/java/ghidra/app/plugin/core/diff/DiffTestAdapter.javaindex 99c669683c..d6ac84ce36 100644--- a/Ghidra/Features/ProgramDiff/src/test.slow/java/ghidra/app/plugin/core/diff/DiffTestAdapter.java+++ b/Ghidra/Features/ProgramDiff/src/test.slow/java/ghidra/app/plugin/core/diff/DiffTestAdapter.java@@ -103,6 +103,7 @@ public class DiffTestAdapter extends AbstractGhidraHeadedIntegrationTest {JCheckBox functionCB;JCheckBox bookmarkCB;JCheckBox propertiesCB;+ JCheckBox sourceMapCB;JCheckBox limitToSelectionCB;JTextArea limitText;@@ -1072,6 +1073,7 @@ public class DiffTestAdapter extends AbstractGhidraHeadedIntegrationTest {functionCB = (JCheckBox) findComponentByName(win, "FunctionsDiffCB");bookmarkCB = (JCheckBox) findComponentByName(win, "BookmarksDiffCB");propertiesCB = (JCheckBox) findComponentByName(win, "PropertiesDiffCB");+ sourceMapCB = (JCheckBox) findComponentByName(win, "SourceMapDiffCB");limitToSelectionCB = (JCheckBox) findComponentByName(win, "LimitToSelectionDiffCB");limitText = (JTextArea) findComponentByName(win, "AddressTextArea");@@ -1079,7 +1081,7 @@ public class DiffTestAdapter extends AbstractGhidraHeadedIntegrationTest {void setAllTypes(boolean select) {setCheckBoxes(select, new JCheckBox[] { programContextCB, byteCB, codeUnitCB, refCB,- commentCB, labelCB, functionCB, bookmarkCB, propertiesCB });+ commentCB, labelCB, functionCB, bookmarkCB, propertiesCB, sourceMapCB });}void topOfFile(final FieldPanel fp) {