MCPcopy
hub / github.com/Col-E/Recaf / test

Method test

src/test/java/me/coley/recaf/HeadlessTest.java:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 */
25public class HeadlessTest extends Base {
26 @Test
27 public void test() throws Exception {
28 HeadlessController controller = new HeadlessController(null, null);
29 controller.setup();
30 invokeRun(controller, "help");
31 invokeRun(controller, "loadworkspace " + getClasspathFile("calc.jar").normalize().toAbsolutePath());
32 assertEquals("calc.jar", controller.getWorkspace().getPrimary().getShortName().toString());
33 }
34
35 @Test
36 public void remapManifestTest() throws Exception {

Callers 15

listMethod · 0.80
matchMethod · 0.80
getNodeAtMethod · 0.80
handleKeyReleasedMethod · 0.80
handleKeyReleasedMethod · 0.80
FilterableTreeItemMethod · 0.80
addEditorMethod · 0.80
gbFunction · 0.80
jquery.min.jsFile · 0.80
xFunction · 0.80
PFunction · 0.80
pbFunction · 0.80

Calls 8

setupMethod · 0.95
invokeRunMethod · 0.95
getClasspathFileMethod · 0.80
getPrimaryMethod · 0.80
normalizeMethod · 0.45
toStringMethod · 0.45
getShortNameMethod · 0.45
getWorkspaceMethod · 0.45

Tested by

no test coverage detected