Checking the Test Results
Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.
After a test run, you can check the results against the list of expected errors or the list of break-on errors to determine if the test passed or failed. The error type and error code of the result are compared with the errors on the list. If the error is on the list, the test passes. If the error is not on the list, the test fails.
To check test results by using C
- Call the WTTLogCheckResult function or the WTTLogCheckResultEx function.
To check test results by using C++
- Call the CWTTLogger::CheckResult method or the CWTTLogger::CheckResultEx method.
To check test results by using COM
- Call the IWTTLog::CheckResult method or the IWTTLog::CheckResultEx method.
To check test results by using .NET
- Call the WTTLogger.CheckResult method.
Build date: 9/14/2012