none
Win8 ALS WHCK Test Sensor Ambient Light Data Lux Event test can't be run? this is a manual cases, what do we need to do to finish this case? thanks! RRS feed

  • Question

  • Win8 ALS WHCK Test Sensor Ambient Light Data Lux Event test;  this is a manual cases, what do we need to do to finish this case?

    test case can't complete run, case stop at last line "# Method Enter: CALSTestEvent::ReadLUX"  we don't know why?

    would you please give some instruction ? thanks!

    log info:

    3) Check sensor supports data event
    4) Verify LUX is report as type VT_R4
    5) Verify LUX level is not negative
    6) Verify LUX level can be decreased and increased
    Successfully retrieved Sensor from SensorCollection, Index: 0
    # Function Enter: CheckSensorType

    Attempting to get Type from sensor with GetType succeeded.
    Expected Type: SENSOR_TYPE_AMBIENT_LIGHT
    Found Type: SENSOR_TYPE_ACCELEROMETER_3D
    Warn: Types do not match.
            File=testsrc\driverstest\mobilepc\sensors\drivers\wlk\common\testcommon.
    cpp, Line=874
    # Function Exit: CheckSensorType

    Skipping test. The current sensor is not of type SENSOR_TYPE_AMBIENT_LIGHT.
    End: Skipped, REQUIRED_ALS_DATAREPORT_LUX_EVENT, TUID=95597316-A658-4FE5-8A62-DE
    A4EAFFE908, Repro=SensorLocationTests.exe  /test:required_als_datareport_lux_eve
    nt

    Start: REQUIRED_ALS_DATAREPORT_LUX_EVENT, TUID=95597316-A658-4FE5-8A62-DEA4EAFFE
    908
    Purpose: Test verifies that an ALS event contain LUX data.
    Validation:
    1) Check sensor is of type SENSOR_TYPE_AMBIENT_LIGHT
    2) Verify IDataReport contains SENSOR_DATA_TYPE_LIGHT_LEVEL_LUX data
    3) Check sensor supports data event
    4) Verify LUX is report as type VT_R4
    5) Verify LUX level is not negative
    6) Verify LUX level can be decreased and increased


    Successfully retrieved Sensor from SensorCollection, Index: 1
    # Function Enter: CheckSensorType

    Attempting to get Type from sensor with GetType succeeded.
    Expected Type: SENSOR_TYPE_AMBIENT_LIGHT
    Found Type: SENSOR_TYPE_AMBIENT_LIGHT
    Types match.
    # Function Exit: CheckSensorType

    Current sensor has a type of SENSOR_TYPE_AMBIENT_LIGHT.

    # Function Enter: ValidateSensorContainsDataField

    Validating Sensor Supports: SENSOR_DATA_TYPE_LIGHT_LEVEL_LUX
    Successfully called SupportsDataField
    Sensor supports: SENSOR_DATA_TYPE_LIGHT_LEVEL_LUX
    # Function Exit: ValidateSensorContainsDataField

    Current sensor supports the data field SENSOR_DATA_TYPE_LIGHT_LEVEL_LUX.

    # Method Enter: CALSTestEvent::ReadLUX

    • Moved by HLK ModeratorModerator Wednesday, October 3, 2012 7:19 PM WLK/WHCK related (From:Windows Hardware WDK and Driver Development)
    Monday, September 10, 2012 7:55 AM

Answers

  • Hello,

    Unfortunately, there is not enough information above to determine where the problem is.  If you still need assistance, please open a support case for additional assistance.

    Best regards,

    Sandy Spinrad

    Friday, September 14, 2012 6:27 AM