[xingyu.guo] feat: 完善任务管理相关api
This commit is contained in:
+46
@@ -0,0 +1,46 @@
|
||||
package com.guo.learningprogresstracker.controller;
|
||||
|
||||
import cn.dev33.satoken.stp.StpUtil;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class StudySessionControllerTest {
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
StpUtil.login("测试用户-创建会话","test_device");
|
||||
}
|
||||
/**
|
||||
* 测试开始一个新学习会话
|
||||
*/
|
||||
@Test
|
||||
public void StartSession(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 暂停一个学习会话
|
||||
*/
|
||||
@Test
|
||||
public void StopSession(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 继续学习会话
|
||||
*/
|
||||
@Test
|
||||
public void continueSession(){
|
||||
|
||||
}
|
||||
/**
|
||||
* 结束一个学习会话
|
||||
*/
|
||||
@Test
|
||||
public void OverSession(){
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user