station_based ============= We assume the DUT is also running Goofy, so FactoryState APIs are used. Inherit ------- - :doc:`generic_common.test_list ` ConnectDevice ------------- pytest_name ``````````` :doc:`station_entry <../pytests/station_entry>` args ```` ``prompt_start`` :: true ``load_dut_storage`` :: "eval! constants.load_dut_storage" DisconnectDevice ---------------- pytest_name ``````````` :doc:`station_entry <../pytests/station_entry>` args ```` ``start_station_tests`` :: false ``disconnect_dut`` :: true FactoryState ------------ pytest_name ``````````` :doc:`factory_state <../pytests/factory_state>` FactoryStateCopyFromDUT ----------------------- pytest_name ``````````` :doc:`factory_state <../pytests/factory_state>` args ```` ``action`` :: "COPY" ``device`` :: "DUT" FactoryStateCopyToDUT --------------------- pytest_name ``````````` :doc:`factory_state <../pytests/factory_state>` args ```` ``action`` :: "COPY" ``device`` :: "STATION" FactoryStateMergeOnDUT ---------------------- pytest_name ``````````` :doc:`factory_state <../pytests/factory_state>` args ```` ``action`` :: "MERGE" ``device`` :: "DUT" FactoryStatePopOnStation ------------------------ pytest_name ``````````` :doc:`factory_state <../pytests/factory_state>` args ```` ``action`` :: "POP" ``device`` :: "STATION" StationCheckSerialNumber ------------------------ run_if `````` :: constants.check_serial_number pytest_name ``````````` :doc:`check_serial_number <../pytests/check_serial_number>` FactoryStateCleanUp ------------------- Serial subtests ``````````````` - `FactoryStateCopyToDUT`_ - `FactoryStateMergeOnDUT`_ - `FactoryStatePopOnStation`_ FactoryStateSetup ----------------- Serial subtests ``````````````` - `FactoryStateCopyFromDUT`_ StationLoop ----------- This will be run forever Serial subtests ``````````````` - `StationLoopStart`_ - `StationLoopMain`_ - CheckPoint - `StationLoopEnd`_ StationLoopEnd -------------- Serial subtests ``````````````` - FlushTestlog - `FactoryStateCleanUp`_ - `DisconnectDevice`_ - `StationLoopItemsAfterDisconnection`_ StationLoopItemsAfterDisconnection ---------------------------------- These items will be run everytime after the device is disconnected. Serial subtests ``````````````` - :: { "inherit": "Placeholder", "label": "Placeholder: AfterDisconnection" } StationLoopItemsBeforeConnection -------------------------------- These items will be run everytime before the device is connected. Serial subtests ``````````````` - :: { "inherit": "Placeholder", "label": "Placeholder: BeforeConnection" } StationLoopMain --------------- These items will be run everytime after the device is connected. Serial subtests ``````````````` - :: { "inherit": "Placeholder", "label": "Placeholder: Main" } StationLoopStart ---------------- Serial subtests ``````````````` - SyncFactoryServer - `StationLoopItemsBeforeConnection`_ - `ConnectDevice`_ - `StationCheckSerialNumber`_ - `FactoryStateSetup`_ StationSetupItems ----------------- One time setup items when station is up.