GT-2846, 2847 - Decompiler - test fixes

This commit is contained in:
dragonmacher 2019-05-08 11:34:53 -04:00
parent e44b35e3a9
commit 1287e4c807
3 changed files with 4 additions and 8 deletions

View file

@ -91,6 +91,10 @@ public class ProgramBigListingModel implements ListingModel, FormatModelListener
showNonExternalFunctionPointerFormat = (Boolean) newValue; showNonExternalFunctionPointerFormat = (Boolean) newValue;
formatModelChanged(null); formatModelChanged(null);
} }
// There are quite a few options that affect the display of the the layouts. Flush
// the cache on any change, as it is simpler than tracking individual options.
layoutCache.clear();
} }
@Override @Override

View file

@ -56,10 +56,6 @@ public class OperandFieldFactoryTest extends AbstractGhidraHeadedIntegrationTest
private Options fieldOptions; private Options fieldOptions;
private Program program; private Program program;
public OperandFieldFactoryTest() {
super();
}
@Before @Before
public void setUp() throws Exception { public void setUp() throws Exception {

View file

@ -41,10 +41,6 @@ public class PostCommentFieldFactoryTest extends AbstractGhidraHeadedIntegration
private Options fieldOptions; private Options fieldOptions;
private Program program; private Program program;
public PostCommentFieldFactoryTest() {
super();
}
@Before @Before
public void setUp() throws Exception { public void setUp() throws Exception {