-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
适配openubmc接口,增加DT测试用例 #278
Conversation
开始门禁检查,等门禁检查通过后可以合入 |
开始门禁检查,等门禁检查通过后可以合入 |
@@ -0,0 +1,105 @@ | |||
package com.datastat.ds.unit; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请加上copy right
|
||
import org.asynchttpclient.ListenableFuture; | ||
import org.asynchttpclient.Response; | ||
import org.junit.jupiter.api.BeforeEach; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import引入排序建议按照规则进行排序
1、外部引入
2、自由
3、公共引入
@@ -3,6 +3,8 @@ | |||
import static org.mockito.Mockito.mock; | |||
import static org.mockito.Mockito.when; | |||
|
|||
import java.util.Arrays; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import引入归类
when(queryDaoContext.getQueryDao("queryDao")).thenReturn(queryDao); | ||
when(queryConfContext.getQueryConfig("queryConf")).thenReturn(queryConfig); | ||
when(queryDao.queryUserOwnerType(queryConfig, user)).thenReturn(result); | ||
when(redisDao.set(key, result, 1l)).thenReturn(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reuslt 判断 11具体是什么意思呢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redis打桩,设置缓存成功(key-value-time)
No description provided.