Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-strategy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 727f553f
authored
Jul 01, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
单元测试
1 parent
390a172f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
rpc-dj-strategy/src/test/java/cn/com/glsx/dj/strategy/mqlistener/StrategyCreatedConsumerTest.java
rpc-dj-strategy/src/test/java/cn/com/glsx/dj/strategy/mqlistener/StrategyPushConsumerTest.java
rpc-dj-strategy/src/test/java/cn/com/glsx/dj/strategy/mqlistener/StrategyCreatedConsumerTest.java
0 → 100644
View file @
727f553
package
cn
.
com
.
glsx
.
dj
.
strategy
.
mqlistener
;
import
cn.com.glsx.dj.strategy.BaseServiceTest
;
import
org.junit.Test
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* @Title:
* @Description:
* @Author xiehx
* @Date 2026/6/2
**/
public
class
StrategyCreatedConsumerTest
extends
BaseServiceTest
{
@Autowired
private
StrategyCreatedConsumer
strategyCreatedConsumer
;
@Test
public
void
testProcessMessage
()
{
strategyCreatedConsumer
.
processMessage
(
null
);
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-strategy/src/test/java/cn/com/glsx/dj/strategy/mqlistener/StrategyPushConsumerTest.java
View file @
727f553
package
cn
.
com
.
glsx
.
dj
.
strategy
.
mqlistener
;
package
cn
.
com
.
glsx
.
dj
.
strategy
.
mqlistener
;
import
cn.com.glsx.dj.strategy.BaseServiceTest
;
import
cn.com.glsx.dj.strategy.BaseServiceTest
;
import
org.junit.Test
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
/**
...
@@ -14,6 +15,8 @@ public class StrategyPushConsumerTest extends BaseServiceTest {
...
@@ -14,6 +15,8 @@ public class StrategyPushConsumerTest extends BaseServiceTest {
@Autowired
@Autowired
private
StrategyPushConsumer
strategyPushConsumer
;
private
StrategyPushConsumer
strategyPushConsumer
;
@Test
public
void
testProcessMessage
()
{
public
void
testProcessMessage
()
{
strategyPushConsumer
.
processMessage
(
null
);
}
}
}
}
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment