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