• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
10SUITE = "dummy, another_suite, push_to_prod"
11TIME = "SHORT"
12TEST_CATEGORY = "General"
13TEST_CLASS = "dummy"
14TEST_TYPE = "client"
15
16DOC = """
17This is a helper test that will fail in a number of ways.
18"""
19
20job.run_test('dummy_Fail', tag='Error', to_throw='TestError')
21job.run_test('dummy_Fail', tag='Fail', to_throw='TestFail')
22job.run_test('dummy_Fail', tag='Warn', to_throw='TestWarn')
23job.run_test('dummy_Fail', tag='NAError', to_throw='TestNAError')
24job.run_test('dummy_Fail', tag='Crash', to_throw=None)
25
26