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