MCPcopy Create free account
hub / github.com/baidu/openrasp / AttacherTest

Class AttacherTest

rasp-install/java/src/test/java/AttacherTest.java:8–25  ·  view source on GitHub ↗

@author: anyang @create: 2019/03/26 10:22

Source from the content-addressed store, hash-verified

6 * @create: 2019/03/26 10:22
7 */
8public class AttacherTest {
9 @Test
10 public void testDoAttach() {
11 try {
12 Attacher attacher = new Attacher("4567", "/Users/anyang/Desktop/jacoco/sum/jboss-5.0.1.GA/");
13 attacher.doAttach("install");
14 } catch (Throwable e) {
15 //
16 }
17
18 try {
19 Attacher attacher = new Attacher("24682", "/Users/anyang/Desktop/jacoco/sum/jboss-5.0.1.GA/");
20 attacher.doAttach("uninstall");
21 } catch (Throwable e) {
22 //
23 }
24 }
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected