1 # Copyright 2016 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 AUTHOR = 'ihf (a] chromium.org' 6 NAME = 'component_UpdateFlash' 7 PURPOSE = 'Verify the Adobe Flash binary can be updated via component update.' 8 CRITERIA = 'Fail if a new binary cannot be downloaded and launched' 9 TIME = 'MEDIUM' 10 TEST_CATEGORY = 'Functional' 11 TEST_CLASS = 'platform' 12 TEST_TYPE = 'server' 13 ATTRIBUTES = 'suite:bvt-perbuild' 14 15 16 DOC = """ 17 This test downloads a Flash binary from Omaha, reboots the DUT, launches Chrome 18 and verifies that Flash starts. 19 """ 20 21 def run(machine): 22 host = hosts.create_host(machine) 23 job.run_test('component_UpdateFlash', host=host) 24 25 parallel_simple(run, machines) 26