Home | History | Annotate | Download | only in platform_PrintJob
      1 # Copyright 2018 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 = "kalin"
      6 NAME = "platform_PrintJob"
      7 TIME = "SHORT"
      8 TEST_TYPE = "client"
      9 CRITERIA = """
     10 The test fails in cases of DUT is:
     11 - unable to find the printer emulated by chameleon after set in print dialog
     12 - unable to receive notification for successful print job
     13 """
     14 TEST_CATEGORY = "Functional"
     15 TEST_CLASS = "platform, desktopui"
     16 ATTRIBUTES = "suite:platform_test_nightly"
     17 JOB_RETRIES = 1
     18 DEPENDENCIES = "test_usbprinting, chameleon"
     19 
     20 DOC = """
     21 This is a test that emulates a printer using chameleon board
     22 connected via USB cable, sets the printer, and sends a print job
     23 """
     24 
     25 host = next(iter(job.hosts))
     26 job.run_test('platform_PrintJob', host=host, args=args)
     27