mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-3615 - Added a test harness method to make it easier to change log output from a test. The test harness will reset any changes made at the end of the test.
This commit is contained in:
parent
f8ec071906
commit
bd0c491263
9 changed files with 170 additions and 105 deletions
|
@ -21,8 +21,7 @@ import static org.junit.Assert.*;
|
|||
|
||||
import java.util.*;
|
||||
|
||||
import org.apache.logging.log4j.*;
|
||||
import org.apache.logging.log4j.core.config.Configurator;
|
||||
import org.apache.logging.log4j.Level;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
|
||||
|
@ -119,11 +118,8 @@ public abstract class AbstractFunctionSignatureMarkupTest
|
|||
controller = vtTestEnv.getVTController();
|
||||
vtTestEnv.showTool();
|
||||
|
||||
Logger functionLogger = LogManager.getLogger(FunctionDB.class);
|
||||
Configurator.setLevel(functionLogger.getName(), Level.TRACE);
|
||||
|
||||
Logger variableLogger = LogManager.getLogger(VariableSymbolDB.class);
|
||||
Configurator.setLevel(variableLogger.getName(), Level.TRACE);
|
||||
setLogLevel(FunctionDB.class, Level.TRACE);
|
||||
setLogLevel(VariableSymbolDB.class, Level.TRACE);
|
||||
}
|
||||
|
||||
private void disableAutoAnalysis(Program program) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue