Search in sources :

Example 1 with JadxWrapper

use of jadx.gui.JadxWrapper in project jadx by skylot.

the class JSourcesTest method init.

@Before
public void init() {
    JRoot root = mock(JRoot.class);
    when(root.isFlatPackages()).thenReturn(false);
    JadxWrapper wrapper = mock(JadxWrapper.class);
    sources = new JSources(root, wrapper);
    decompiler = new JadxDecompiler(mock(IJadxArgs.class));
}
Also used : JadxWrapper(jadx.gui.JadxWrapper) JadxDecompiler(jadx.api.JadxDecompiler) Before(org.junit.Before)

Aggregations

JadxDecompiler (jadx.api.JadxDecompiler)1 JadxWrapper (jadx.gui.JadxWrapper)1 Before (org.junit.Before)1