Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
Overview
Overview
Details
Activity
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
yaru
fgqyxxlr
Commits
6fb64942
Commit
6fb64942
authored
Jul 22, 2018
by
Leonhardt92
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交测试用例
parent
95c103fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
106 additions
and
0 deletions
+106
-0
src/test/java/com/ruoyi/project/system/dept/service/DeptServiceImplTest.java
+106
-0
No files found.
src/test/java/com/ruoyi/project/system/dept/service/DeptServiceImplTest.java
0 → 100644
View file @
6fb64942
package
com
.
ruoyi
.
project
.
system
.
dept
.
service
;
import
org.junit.After
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.boot.test.context.SpringBootTest
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
/**
* DeptServiceImpl Tester.
*
* @author Leonhardt
* @version 1.0
* @since 07/22/2018
*/
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
@SpringBootTest
public
class
DeptServiceImplTest
{
@Autowired
private
IDeptService
deptService
;
@Before
public
void
before
()
throws
Exception
{
}
@After
public
void
after
()
throws
Exception
{
}
/**
* Method: selectDeptList(Dept dept)
*/
@Test
public
void
testSelectDeptList
()
throws
Exception
{
//TODO: Test goes here...
}
/**
* Method: selectDeptAll()
*/
@Test
public
void
testSelectDeptAll
()
throws
Exception
{
//TODO: Test goes here...
}
/**
* Method: selectDeptTree()
*/
@Test
public
void
testSelectDeptTree
()
throws
Exception
{
//TODO: Test goes here...
}
/**
* Method: selectDeptCount(Long parentId)
*/
@Test
public
void
testSelectDeptCount
()
throws
Exception
{
//TODO: Test goes here...
}
/**
* Method: checkDeptExistUser(Long deptId)
*/
@Test
public
void
testCheckDeptExistUser
()
throws
Exception
{
//TODO: Test goes here...
}
/**
* Method: deleteDeptById(Long deptId)
*/
@Test
public
void
testDeleteDeptById
()
throws
Exception
{
//TODO: Test goes here...
}
/**
* Method: saveDept(Dept dept)
*/
@Test
public
void
testSaveDept
()
throws
Exception
{
//TODO: Test goes here...
}
/**
* Method: selectDeptById(Long deptId)
*/
@Test
public
void
testSelectDeptById
()
throws
Exception
{
//TODO: Test goes here...
}
/**
* Method: checkDeptNameUnique(Dept dept)
*/
@Test
public
void
testCheckDeptNameUnique
()
throws
Exception
{
//TODO: Test goes here...
}
}
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