mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-27 09:01:45 +00:00
update services/distributeddataservice/service/test/object_asset_loader_test.cpp.
Signed-off-by: 郭琦11 <guoqi53@huawei.com>
This commit is contained in:
parent
7fb23a8d2a
commit
0766a1a3e1
@ -191,7 +191,7 @@ HWTEST_F(ObjectAssetLoaderTest, UpdateDownloaded002, TestSize.Level0)
|
||||
{
|
||||
auto assetLoader = ObjectAssetLoader::GetInstance();
|
||||
ASSERT_NE(assetLoader, nullptr);
|
||||
while(!assetLoader->assetQueue_.empty()) {
|
||||
while (!assetLoader->assetQueue_.empty()) {
|
||||
assetLoader->assetQueue_.pop();
|
||||
}
|
||||
for (int i = 0; i <= assetLoader->LAST_DOWNLOAD_ASSET_SIZE; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user