1 # Copyright (c) 2010 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 = "Chrome OS Team" 6 NAME = "dummy_Fail" 7 PURPOSE = "Demonstrate failure methods of autotests." 8 CRITERIA = "This test will never succeed." 9 ATTRIBUTES = ( 10 "suite:another_suite, suite:dummy, suite:push_to_prod," 11 " suite:skylab_staging_test" 12 ) 13 TIME = "SHORT" 14 TEST_CATEGORY = "General" 15 TEST_CLASS = "dummy" 16 TEST_TYPE = "client" 17 18 DOC = """ 19 This is a helper test that will fail in a number of ways. 20 """ 21 22 job.run_test('dummy_Fail', tag='Error', to_throw='TestError') 23 job.run_test('dummy_Fail', tag='Fail', to_throw='TestFail') 24 job.run_test('dummy_Fail', tag='Warn', to_throw='TestWarn') 25 job.run_test('dummy_Fail', tag='NAError', to_throw='TestNAError') 26 job.run_test('dummy_Fail', tag='Crash', to_throw=None) 27 28