设备基础覆盖率测试监视和报告输入或离开指定设备的驱动程序堆栈的各种 I/O 请求数据包(IRP)。 覆盖范围测试中的数据可帮助识别驱动程序测试和验证期间的覆盖范围弱点。
Coverage tests
| Test | Description |
|---|---|
清除 IRP 覆盖数据 |
清除 IRP 覆盖范围数据。 Test binary: DriverCoverageClearCoverageData.dll Test method: ClearCoverageData Parameters: None |
禁用 IRP 覆盖率数据收集 |
Disables the IRP coverage data collection for device specified by the DQ parameter. Test binary: DriverCoverageDisableSupport.dll Test method: DisableCoverageDataCollection Parameters: DQ - see Device Fundamentals Test Parameters |
显示收集的 IRP 覆盖范围数据。 |
显示为所有设备收集到此点的 IRP 覆盖率数据。 Test binary: DriverCoverageDisplayCoverage.dll Test method: DisplayCoverageData Parameters: None |
显示已启用 IRP 覆盖范围的设备 |
显示当前为其启用了 IRP 覆盖率数据收集的设备。 Test binary: DriverCoverageDisplayEnabledDevices.dll Test method: DisplayEnabledDevices Parameters: None |
启用 IRP 覆盖率数据收集 |
Enables IRP coverage data collection for the device specified by the DQ parameter. Test binary: DriverCoverageEnableSupport.dll Test method: EnableCoverageDataCollection Parameters: None DQ - see Device Fundamentals Test Parameters |
关于覆盖率测试
设备基础知识覆盖率测试基于驱动程序覆盖率工具包,该工具包以前在 WDK 中作为独立工具提供。