[xingyu.guo] feat: 完善任务管理相关api

This commit is contained in:
guo
2025-06-28 21:09:17 +08:00
parent 765e220b30
commit 0a65204c35
5 changed files with 57 additions and 1 deletions
@@ -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(){
}
}