diff --git a/.idea/git_toolbox_prj.xml b/.idea/git_toolbox_prj.xml new file mode 100644 index 0000000..02b915b --- /dev/null +++ b/.idea/git_toolbox_prj.xml @@ -0,0 +1,15 @@ + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 5e4bfae..af2163c 100644 --- a/pom.xml +++ b/pom.xml @@ -31,11 +31,29 @@ + + com.github.jnr + jnr-ffi + 2.2.15 + + org.springframework.boot spring-boot-starter + + org.springframework.boot + spring-boot-starter-test + test + + + + org.junit.jupiter + junit-jupiter-api + test + + org.mapstruct diff --git a/src/test/java/cn.skcks.jnr.sevenzip/sevenzip/ApplicationTest.java b/src/test/java/cn.skcks.jnr.sevenzip/sevenzip/ApplicationTest.java new file mode 100644 index 0000000..52e2e79 --- /dev/null +++ b/src/test/java/cn.skcks.jnr.sevenzip/sevenzip/ApplicationTest.java @@ -0,0 +1,11 @@ +package cn.skcks.jnr.sevenzip.sevenzip; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ApplicationTest { + public static void main(String[] args) { + SpringApplication.run(ApplicationTest.class, args); + } +} diff --git a/src/test/java/cn.skcks.jnr.sevenzip/sevenzip/SimpleTest.java b/src/test/java/cn.skcks.jnr.sevenzip/sevenzip/SimpleTest.java new file mode 100644 index 0000000..68d211a --- /dev/null +++ b/src/test/java/cn.skcks.jnr.sevenzip/sevenzip/SimpleTest.java @@ -0,0 +1,17 @@ +package cn.skcks.jnr.sevenzip.sevenzip; + +import lombok.extern.slf4j.Slf4j; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit.jupiter.SpringExtension; + +@Slf4j +@ExtendWith(SpringExtension.class) +@SpringBootTest(classes = ApplicationTest.class) +public class SimpleTest { + @Test + void context(){ + log.info("测试"); + } +}