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