diff --git a/src/test/java/com/rymcu/forest/service/CommentServiceTest.java b/src/test/java/com/rymcu/forest/service/CommentServiceTest.java new file mode 100644 index 0000000..5913835 --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/CommentServiceTest.java @@ -0,0 +1,29 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class CommentServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @AfterEach + void tearDown() { + } + + @Test + void getArticleComments() { + } + + @Test + void postComment() { + } + + @Test + void findComments() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/CurrencyRuleServiceTest.java b/src/test/java/com/rymcu/forest/service/CurrencyRuleServiceTest.java new file mode 100644 index 0000000..24c97da --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/CurrencyRuleServiceTest.java @@ -0,0 +1,7 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; + +class CurrencyRuleServiceTest extends BaseServiceTest { + +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/DashboardServiceTest.java b/src/test/java/com/rymcu/forest/service/DashboardServiceTest.java new file mode 100644 index 0000000..816b248 --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/DashboardServiceTest.java @@ -0,0 +1,7 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; + +class DashboardServiceTest extends BaseServiceTest { + +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/FollowServiceTest.java b/src/test/java/com/rymcu/forest/service/FollowServiceTest.java new file mode 100644 index 0000000..72ff368 --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/FollowServiceTest.java @@ -0,0 +1,31 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.Test; + +class FollowServiceTest extends BaseServiceTest { + + @Test + void isFollow() { + } + + @Test + void follow() { + } + + @Test + void cancelFollow() { + } + + @Test + void findByFollowingId() { + } + + @Test + void findUserFollowersByUser() { + } + + @Test + void findUserFollowingsByUser() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/ForestFileServiceTest.java b/src/test/java/com/rymcu/forest/service/ForestFileServiceTest.java new file mode 100644 index 0000000..1e6296d --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/ForestFileServiceTest.java @@ -0,0 +1,20 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class ForestFileServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void getFileUrlByMd5() { + } + + @Test + void insertForestFile() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/JavaMailServiceTest.java b/src/test/java/com/rymcu/forest/service/JavaMailServiceTest.java new file mode 100644 index 0000000..b0040e3 --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/JavaMailServiceTest.java @@ -0,0 +1,19 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.Test; + +class JavaMailServiceTest extends BaseServiceTest { + + @Test + void sendEmailCode() { + } + + @Test + void sendForgetPasswordEmail() { + } + + @Test + void sendNotification() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/LoginRecordServiceTest.java b/src/test/java/com/rymcu/forest/service/LoginRecordServiceTest.java new file mode 100644 index 0000000..ddf25ed --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/LoginRecordServiceTest.java @@ -0,0 +1,20 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class LoginRecordServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void saveLoginRecord() { + } + + @Test + void findLoginRecordByIdUser() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/NotificationServiceTest.java b/src/test/java/com/rymcu/forest/service/NotificationServiceTest.java new file mode 100644 index 0000000..821a9c9 --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/NotificationServiceTest.java @@ -0,0 +1,40 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class NotificationServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void findUnreadNotifications() { + } + + @Test + void findNotifications() { + } + + @Test + void findNotification() { + } + + @Test + void save() { + } + + @Test + void readNotification() { + } + + @Test + void readAllNotification() { + } + + @Test + void deleteUnreadNotification() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/OpenDataServiceTest.java b/src/test/java/com/rymcu/forest/service/OpenDataServiceTest.java new file mode 100644 index 0000000..d04795a --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/OpenDataServiceTest.java @@ -0,0 +1,20 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class OpenDataServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void lastThirtyDaysData() { + } + + @Test + void dashboard() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/PermissionServiceTest.java b/src/test/java/com/rymcu/forest/service/PermissionServiceTest.java new file mode 100644 index 0000000..690f98c --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/PermissionServiceTest.java @@ -0,0 +1,16 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class PermissionServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void selectPermissionByUser() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/PortfolioServiceTest.java b/src/test/java/com/rymcu/forest/service/PortfolioServiceTest.java new file mode 100644 index 0000000..fe53d82 --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/PortfolioServiceTest.java @@ -0,0 +1,48 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class PortfolioServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void findUserPortfoliosByUser() { + } + + @Test + void findPortfolioDTOById() { + } + + @Test + void postPortfolio() { + } + + @Test + void findUnbindArticles() { + } + + @Test + void bindArticle() { + } + + @Test + void updateArticleSortNo() { + } + + @Test + void unbindArticle() { + } + + @Test + void deletePortfolio() { + } + + @Test + void findPortfolios() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/ProductServiceTest.java b/src/test/java/com/rymcu/forest/service/ProductServiceTest.java new file mode 100644 index 0000000..ff96b0c --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/ProductServiceTest.java @@ -0,0 +1,20 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class ProductServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void findProducts() { + } + + @Test + void findProductDTOById() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/RoleServiceTest.java b/src/test/java/com/rymcu/forest/service/RoleServiceTest.java new file mode 100644 index 0000000..23d37e9 --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/RoleServiceTest.java @@ -0,0 +1,28 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class RoleServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void selectRoleByUser() { + } + + @Test + void findByIdUser() { + } + + @Test + void updateStatus() { + } + + @Test + void saveRole() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/SpecialDayServiceTest.java b/src/test/java/com/rymcu/forest/service/SpecialDayServiceTest.java new file mode 100644 index 0000000..d2afb4b --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/SpecialDayServiceTest.java @@ -0,0 +1,11 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; + +class SpecialDayServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/SponsorServiceTest.java b/src/test/java/com/rymcu/forest/service/SponsorServiceTest.java new file mode 100644 index 0000000..eee611d --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/SponsorServiceTest.java @@ -0,0 +1,16 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class SponsorServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void sponsorship() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/TagServiceTest.java b/src/test/java/com/rymcu/forest/service/TagServiceTest.java new file mode 100644 index 0000000..e30c63e --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/TagServiceTest.java @@ -0,0 +1,28 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class TagServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void saveTagArticle() { + } + + @Test + void cleanUnusedTag() { + } + + @Test + void saveTag() { + } + + @Test + void findTagLabels() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/TopicServiceTest.java b/src/test/java/com/rymcu/forest/service/TopicServiceTest.java new file mode 100644 index 0000000..8d6a55e --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/TopicServiceTest.java @@ -0,0 +1,40 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class TopicServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void findTopicNav() { + } + + @Test + void findTopicByTopicUri() { + } + + @Test + void saveTopic() { + } + + @Test + void findUnbindTagsById() { + } + + @Test + void bindTopicTag() { + } + + @Test + void unbindTopicTag() { + } + + @Test + void findTagsByTopicUri() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/TransactionRecordServiceTest.java b/src/test/java/com/rymcu/forest/service/TransactionRecordServiceTest.java new file mode 100644 index 0000000..97500b5 --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/TransactionRecordServiceTest.java @@ -0,0 +1,32 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class TransactionRecordServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void transfer() { + } + + @Test + void findTransactionRecords() { + } + + @Test + void userTransfer() { + } + + @Test + void bankTransfer() { + } + + @Test + void newbieRewards() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/UserServiceTest.java b/src/test/java/com/rymcu/forest/service/UserServiceTest.java new file mode 100644 index 0000000..815ac54 --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/UserServiceTest.java @@ -0,0 +1,96 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class UserServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } + + @Test + void findByAccount() { + } + + @Test + void register() { + } + + @Test + void login() { + } + + @Test + void findUserDTOByAccount() { + } + + @Test + void forgetPassword() { + } + + @Test + void updateUserRole() { + } + + @Test + void updateStatus() { + } + + @Test + void findUserInfo() { + } + + @Test + void updateUserInfo() { + } + + @Test + void checkNicknameByIdUser() { + } + + @Test + void findRoleWeightsByUser() { + } + + @Test + void selectAuthor() { + } + + @Test + void updateUserExtend() { + } + + @Test + void selectUserExtendByAccount() { + } + + @Test + void updateEmail() { + } + + @Test + void updatePassword() { + } + + @Test + void findUsers() { + } + + @Test + void updateLastOnlineTimeByAccount() { + } + + @Test + void findUserExtendInfo() { + } + + @Test + void refreshToken() { + } + + @Test + void findUserPermissions() { + } +} \ No newline at end of file diff --git a/src/test/java/com/rymcu/forest/service/VisitServiceTest.java b/src/test/java/com/rymcu/forest/service/VisitServiceTest.java new file mode 100644 index 0000000..35b3acc --- /dev/null +++ b/src/test/java/com/rymcu/forest/service/VisitServiceTest.java @@ -0,0 +1,11 @@ +package com.rymcu.forest.service; + +import com.rymcu.forest.base.BaseServiceTest; +import org.junit.jupiter.api.BeforeEach; + +class VisitServiceTest extends BaseServiceTest { + + @BeforeEach + void setUp() { + } +} \ No newline at end of file