perf:【IoT 物联网】场景联动优化 review 提到的逻辑
This commit is contained in:
@@ -172,19 +172,6 @@ public class IotSceneRuleTriggerMatcherTest extends BaseMockitoUnitTest {
|
||||
assertFalse(matched, "无效的触发器类型应该不匹配");
|
||||
}
|
||||
|
||||
@Test
|
||||
void testMatcherManagerStatistics() {
|
||||
// 1. 执行测试
|
||||
var statistics = matcherManager.getMatcherStatistics();
|
||||
|
||||
// 2. 验证结果
|
||||
assertNotNull(statistics);
|
||||
assertEquals(5, statistics.get("totalMatchers"));
|
||||
assertEquals(5, statistics.get("enabledMatchers"));
|
||||
assertNotNull(statistics.get("supportedTriggerTypes"));
|
||||
assertNotNull(statistics.get("matcherDetails"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void testGetSupportedTriggerTypes() {
|
||||
// 1. 执行测试
|
||||
|
||||
Reference in New Issue
Block a user