diff options
| author | zhanghongqing <[email protected]> | 2022-08-09 16:54:16 +0800 |
|---|---|---|
| committer | zhanghongqing <[email protected]> | 2022-08-09 16:54:16 +0800 |
| commit | b3fa11d4b1b5a68d7b04fde5eb6cfbda557927eb (patch) | |
| tree | a49d344e49fc427fbf4cf00aa4963c4d04cd98a4 /src/test/java/com/mesasoft/cn/SketchApplicationTest.java | |
| parent | d8a2be0d094ac9ba2d47c81ebf03b3fe6e34a078 (diff) | |
Diffstat (limited to 'src/test/java/com/mesasoft/cn/SketchApplicationTest.java')
| -rw-r--r-- | src/test/java/com/mesasoft/cn/SketchApplicationTest.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/test/java/com/mesasoft/cn/SketchApplicationTest.java b/src/test/java/com/mesasoft/cn/SketchApplicationTest.java new file mode 100644 index 0000000..25e262b --- /dev/null +++ b/src/test/java/com/mesasoft/cn/SketchApplicationTest.java @@ -0,0 +1,27 @@ +package com.mesasoft.cn; + +import com.zhazhapan.config.JsonParser; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +import java.io.IOException; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class SketchApplicationTest { + + public static void setSettings() { + try { + SketchApplication.settings = new JsonParser(SketchApplicationTest.class.getResource("/config.json")); + } catch (IOException e) { + e.printStackTrace(); + } + } + + @Test + public void contextLoads() { + } + +} |
