插件开发工具库,推荐依赖该工具库。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
533 B

package com.fanruan.api;
import com.fanruan.api.env.EnvKit;
import com.fanruan.api.env.shell.ModuleShell;
import org.junit.After;
import org.junit.Before;
/**
* @author richie
* @version 10.0
* Created by richie on 2019-08-09
*/
public class Prepare {
private ModuleShell module;
@Before
public void start() {
module = EnvKit.createLocalStartModule("");
module.start();
}
@After
public void stop() {
if (module != null) {
module.stop();
}
}
}