List of Factory Tests (pytests) =============================== This document describes all tests available throughout the factory code. .. Include a hidden toctree so Sphinx won't complain about missing documents. We'll generate all the links ourselves in generate_rst.py. .. toctree:: :hidden: :glob: * Notes ----- The components here are AVL components. See this :doc:`link<../hwid/index>` for the mapping of HWID component and AVL components. Tests for `Accelerometer/IMU `_ ---------------------------------------------------------------------------------------------------------------------------- .. list-table:: :widths: 30 70 :header-rows: 1 :align: left * - pytest name - description * - :doc:`accelerometers ` - A factory test for reading accelerometers * - :doc:`accelerometers_calibration ` - A factory test for accelerometers calibration. * - :doc:`accelerometers_lid_angle ` - This is a lid angle test based on accelerometers. * - :doc:`gyroscope ` - A factory test for gyroscopes. * - :doc:`gyroscope_angle ` - A factory test for gyroscopes. * - :doc:`gyroscope_calibration ` - A factory test for gyroscopes calibration. * - :doc:`spatial_sensor_calibration ` - Perform calibration on spatial sensors * - :doc:`tablet_mode ` - Tests that certain conditions are met when in tablet mode. * - :doc:`tablet_rotation ` - Tests screen rotation through ChromeOS and accelerometer data. Tests for `Ambient Light Sensor `_ -------------------------------------------------------------------------------------------------------------------------------- .. list-table:: :widths: 30 70 :header-rows: 1 :align: left * - pytest name - description * - :doc:`light_sensor ` - A factory test for ambient light sensor. * - :doc:`light_sensor_calibration ` - Calibration test for light sensor (a chamber is needed). Tests for `Audio Jack Codec `_ ------------------------------------------------------------------------------------------------------------------------ .. list-table:: :widths: 30 70 :header-rows: 1 :align: left * - pytest name - description * - :doc:`audio