From e8953abe12a0256fb06852138511bbf63d713644 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Sat, 21 Oct 2023 17:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E9=A1=B9=E7=9B=AE=20=E8=B5=B7?= =?UTF-8?q?=E6=89=8B=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/git_toolbox_prj.xml | 15 +++++++++++++++ pom.xml | 18 ++++++++++++++++++ .../sevenzip/ApplicationTest.java | 11 +++++++++++ .../sevenzip/SimpleTest.java | 17 +++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 .idea/git_toolbox_prj.xml create mode 100644 src/test/java/cn.skcks.jnr.sevenzip/sevenzip/ApplicationTest.java create mode 100644 src/test/java/cn.skcks.jnr.sevenzip/sevenzip/SimpleTest.java 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("测试"); + } +}