Commit 74a0b448 authored by Oleh Lamzin's avatar Oleh Lamzin Committed by Commit Bot

[Telemetry SWX] add vpd cache browser test

Bug: b:158658869
Change-Id: I7ecc0518bedfdea0768f6e47d50864dd9e29c73c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377982Reviewed-by: default avatarMahmoud Gawad <mgawad@google.com>
Commit-Queue: Oleh Lamzin <lamzin@google.com>
Cr-Commit-Position: refs/heads/master@{#802637}
parent 1588b35c
...@@ -190,6 +190,14 @@ void TelemetryExtensionUiBrowserTest::SetUpOnMainThread() { ...@@ -190,6 +190,14 @@ void TelemetryExtensionUiBrowserTest::SetUpOnMainThread() {
telemetry_info->block_device_result = chromeos::cros_healthd::mojom:: telemetry_info->block_device_result = chromeos::cros_healthd::mojom::
NonRemovableBlockDeviceResult::NewBlockDeviceInfo(std::move(infos)); NonRemovableBlockDeviceResult::NewBlockDeviceInfo(std::move(infos));
} }
{
auto system_info = chromeos::cros_healthd::mojom::SystemInfo::New();
system_info->product_sku_number = "sku-18";
telemetry_info->system_result =
chromeos::cros_healthd::mojom::SystemResult::NewSystemInfo(
std::move(system_info));
}
DCHECK(chromeos::cros_healthd::FakeCrosHealthdClient::Get()); DCHECK(chromeos::cros_healthd::FakeCrosHealthdClient::Get());
......
...@@ -172,6 +172,7 @@ UNTRUSTED_TEST('UntrustedRequestTelemetryInfo', async () => { ...@@ -172,6 +172,7 @@ UNTRUSTED_TEST('UntrustedRequestTelemetryInfo', async () => {
discardTimeSecondsSinceLastBoot: 77777777777777 discardTimeSecondsSinceLastBoot: 77777777777777
}] }]
}, },
vpdResult: {vpdInfo: {skuNumber: 'sku-18'}}
}); });
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment