mirror of
https://gitee.com/openharmony/security_security_guard
synced 2024-11-23 06:30:17 +00:00
!50 【轻量级 PR】:update test/unittest/security_collector/interface_test/src/collector_interface_test.cpp.
Merge pull request !50 from 王毅/N/A
This commit is contained in:
commit
3cc21e6c9e
@ -193,7 +193,7 @@ HWTEST_F(CollectorInterfaceTest, UnSubscribe002, testing::ext::TestSize.Level1)
|
||||
new(std::nothrow) SecurityCollector::SecurityCollectorManagerCallbackService(nullptr);
|
||||
manager.eventListeners_.insert({subscriber, callback});
|
||||
int ret = manager.Unsubscribe(subscriber);
|
||||
EXPECT_EQ(ret, SecurityCollector::BAD_PARAM);
|
||||
EXPECT_EQ(ret, SecurityCollector::NO_PERMISSION);
|
||||
}
|
||||
|
||||
HWTEST_F(CollectorInterfaceTest, UnSubscribe003, testing::ext::TestSize.Level1)
|
||||
|
Loading…
Reference in New Issue
Block a user