Add usage information tests to device files unit tests
[ Merge of http://go/wvgerrit/24445 ] Test: Verified by wv unit and integration tests b/36048120 Change-Id: I9d067e79654331e8e58df5dce5411fbadc73e575
This commit is contained in:
@@ -737,6 +737,11 @@ bool DeviceFiles::ListUsageInfoFiles(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (usage_info_file_names == NULL) {
|
||||||
|
LOGW("DeviceFiles::ListUsageInfoFiles: usage_info_file_names not provided");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Get list of filenames
|
// Get list of filenames
|
||||||
std::vector<std::string> filenames;
|
std::vector<std::string> filenames;
|
||||||
if (!ListFiles(&filenames)) {
|
if (!ListFiles(&filenames)) {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user