Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
中汽研标准应用数据库
car-database-api
Commits
fe9ecee4
Commit
fe9ecee4
authored
Sep 12, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
e8d0e9f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
ReviewSceneChangeTaskTest.java
...in/src/test/java/com/ruoyi/ReviewSceneChangeTaskTest.java
+5
-3
No files found.
ruoyi-admin/src/test/java/com/ruoyi/ReviewSceneChangeTaskTest.java
View file @
fe9ecee4
...
@@ -7,6 +7,8 @@ import org.junit.jupiter.api.Test;
...
@@ -7,6 +7,8 @@ import org.junit.jupiter.api.Test;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.test.context.SpringBootTest
;
import
org.springframework.boot.test.context.SpringBootTest
;
import
java.io.IOException
;
@SpringBootTest
@SpringBootTest
public
class
ReviewSceneChangeTaskTest
{
public
class
ReviewSceneChangeTaskTest
{
...
@@ -17,7 +19,7 @@ public class ReviewSceneChangeTaskTest {
...
@@ -17,7 +19,7 @@ public class ReviewSceneChangeTaskTest {
* 创建一个新增场景的任务
* 创建一个新增场景的任务
*/
*/
@Test
@Test
public
void
createTest_add
()
{
public
void
createTest_add
()
throws
IOException
{
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
()
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
()
.
setTaskNo
(
SnowflakeUtil
.
generate
().
toString
())
.
setTaskNo
(
SnowflakeUtil
.
generate
().
toString
())
...
@@ -40,7 +42,7 @@ public class ReviewSceneChangeTaskTest {
...
@@ -40,7 +42,7 @@ public class ReviewSceneChangeTaskTest {
* 创建一个删除场景的任务
* 创建一个删除场景的任务
*/
*/
@Test
@Test
public
void
createTest_delete
()
{
public
void
createTest_delete
()
throws
IOException
{
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
()
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
()
.
setTaskNo
(
SnowflakeUtil
.
generate
().
toString
())
.
setTaskNo
(
SnowflakeUtil
.
generate
().
toString
())
...
@@ -64,7 +66,7 @@ public class ReviewSceneChangeTaskTest {
...
@@ -64,7 +66,7 @@ public class ReviewSceneChangeTaskTest {
* 创建一个修改场景的任务
* 创建一个修改场景的任务
*/
*/
@Test
@Test
public
void
createTest_update
()
{
public
void
createTest_update
()
throws
IOException
{
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
()
ReviewSceneChangeTask
reviewSceneChangeTask
=
new
ReviewSceneChangeTask
()
.
setTaskNo
(
SnowflakeUtil
.
generate
().
toString
())
.
setTaskNo
(
SnowflakeUtil
.
generate
().
toString
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment