Skip to content

Commit

Permalink
fourth improve
Browse files Browse the repository at this point in the history
  • Loading branch information
zzxxiansheng committed Feb 1, 2024
1 parent 22b8528 commit edb4005
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
6 changes: 6 additions & 0 deletions eventmesh-dashboard-console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@
<artifactId>spring-aspects</artifactId>
<version>5.1.2.RELEASE</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>


</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
import org.apache.eventmesh.dashboard.console.EventmeshConsoleApplication;
import org.apache.eventmesh.dashboard.console.entity.GroupMemberEntity;
import org.apache.eventmesh.dashboard.console.entity.TopicEntity;
import org.apache.eventmesh.dashboard.console.service.GroupMemberService;
import org.apache.eventmesh.dashboard.console.service.GroupService;
import org.apache.eventmesh.dashboard.console.service.TopicService;
import org.apache.eventmesh.dashboard.console.service.group.GroupService;
import org.apache.eventmesh.dashboard.console.service.groupmember.GroupMemberService;
import org.apache.eventmesh.dashboard.console.service.topic.TopicService;


import java.sql.Timestamp;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class TestGroupDao {

@Autowired
private OprGroupMapper groupDao;

public List<GroupEntity> insertGroupData(String name) {
List<GroupEntity> groupEntities = new ArrayList<>();
for (int i = 0; i < 10; i++) {
Expand Down Expand Up @@ -95,7 +95,7 @@ public void test_selectGroupByClusterId() {

@Test
public void test_selectGroupByDynamic() {
List<GroupEntity> groupEntities = this.insertGroupData("selectByDynamic");
Assert.assertEquals(groupEntities, this.getRemovedTimeList("Dynamic"));
List<GroupEntity> groupEntities = this.insertGroupData("selectByDynamic1");
Assert.assertEquals(groupEntities, this.getRemovedTimeList("Dynamic1"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.apache.eventmesh.dashboard.console.EventmeshConsoleApplication;
import org.apache.eventmesh.dashboard.console.entity.TopicEntity;
import org.apache.eventmesh.dashboard.console.mapper.TopicDao;
import org.apache.eventmesh.dashboard.console.mapper.topic.TopicMapper;

import java.sql.Timestamp;

Expand All @@ -17,7 +17,7 @@
public class testTopicDao {

@Autowired
private TopicDao topicDao;
private TopicMapper topicDao;
@Test
public void testSelectTopicByClusterId(){
TopicEntity topicEntity = new TopicEntity();
Expand Down

0 comments on commit edb4005

Please sign in to comment.