@@ -0,0 +1,920 @@
+%22%22%22%0ACopyright (c) 2020 The Orbit Authors. All rights reserved.%0AUse of this source code is governed by a BSD-style license that can be%0Afound in the LICENSE file.%0A%22%22%22%0A%0Afrom absl import app%0A%0Afrom core.orbit_e2e import E2ETestSuite%0Afrom test_cases.connection_window import FilterAndSelectFirstProcess, ConnectToStadiaInstance%0Afrom test_cases.capture_window import Capture%0A%0A%22%22%22Smoke test for thread state collection.%0A%0AThis automated test takes a capture on %22hello_ggp_standalone%22 with thread state%0Acollection enabled and verifies the presence of at least one track in the%0Acapture window.%0A%22%22%22%0A%0Adef main(argv):%0A    test_cases = %5B%0A        ConnectToStadiaInstance(),%0A        FilterAndSelectFirstProcess(process_filter='hello_'),%0A        Capture(collect_thread_states=True)%0A    %5D%0A    suite = E2ETestSuite(test_name=%22Collect Thread States%22, test_cases=test_cases)%0A    suite.execute()%0A%0A%0Aif __name__ == '__main__':%0A    app.run(main)%0A

Add smoke test for thread state collection