|
|
@@ -0,0 +1,24 @@
|
|
|
+package nju.seec.SEECdemo.service;
|
|
|
+
|
|
|
+import nju.seec.SEECdemo.SeecDemoApplication;
|
|
|
+import nju.seec.SEECdemo.logic.service.ProjectService;
|
|
|
+import nju.seec.SEECdemo.logic.vo.ProjectVO;
|
|
|
+import org.junit.Test;
|
|
|
+import org.junit.runner.RunWith;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.boot.test.context.SpringBootTest;
|
|
|
+import org.springframework.test.context.junit4.SpringRunner;
|
|
|
+
|
|
|
+@RunWith(SpringRunner.class)
|
|
|
+@SpringBootTest
|
|
|
+public class ProjectServiceImplTest {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ ProjectService projectService;
|
|
|
+
|
|
|
+ @Test
|
|
|
+ public void testCreate(){
|
|
|
+ ProjectVO projectVO = new ProjectVO();
|
|
|
+ projectVO.setName("test-group");
|
|
|
+ }
|
|
|
+}
|