1 # Copyright 2017 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 = "The Chromium OS Authors" 6 NAME = "platform_AddPrinter.generic" 7 TIME = "SHORT" 8 TEST_TYPE = "client" 9 CRITERIA = """ 10 The test fails in case of malfunctioning of CUPS printing stack (cupsd, 11 cupstestppd, cups filters). 12 """ 13 TEST_CATEGORY = "Functional" 14 TEST_CLASS = "platform" 15 ATTRIBUTES = "suite:bvt-cq" 16 JOB_RETRIES = 2 17 18 DOC = """ 19 This is a test that emulates following user behavior: 20 Manually add an Generic printer (user-provided ppd file) and print a pdf. 21 22 When printing the pdf, the printing request sent to printer is caught by 23 a fake printer which compares the request to a golden file to verify its 24 correctness. 25 """ 26 27 job.run_test('platform_AddPrinter', 28 ppd_file='GenericPostScript.ppd.gz', 29 golden_file='golden_printing_request_generic.bin') 30