提交 1172abee 编写于 作者: 一子三木's avatar 一子三木

add comment

上级 69fa2835
...@@ -89,6 +89,8 @@ public class LoggerServiceTest { ...@@ -89,6 +89,8 @@ public class LoggerServiceTest {
//success //success
taskInstance.setHost("127.0.0.1"); taskInstance.setHost("127.0.0.1");
taskInstance.setLogPath("/temp/log"); taskInstance.setLogPath("/temp/log");
//if use @RunWith(PowerMockRunner.class) mock object,sonarcloud will not calculate the coverage,
// so no assert will be added here
loggerService.getLogBytes(1); loggerService.getLogBytes(1);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册