# Copyright 2017 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. AUTHOR = "The Chromium OS Authors" NAME = "platform_AddPrinter.generic" TIME = "SHORT" TEST_TYPE = "client" CRITERIA = """ The test fails in case of malfunctioning of CUPS printing stack (cupsd, cupstestppd, cups filters). """ TEST_CATEGORY = "Functional" TEST_CLASS = "platform" ATTRIBUTES = "suite:bvt-cq" JOB_RETRIES = 2 DOC = """ This is a test that emulates following user behavior: Manually add an Generic printer (user-provided ppd file) and print a pdf. When printing the pdf, the printing request sent to printer is caught by a fake printer which compares the request to a golden file to verify its correctness. """ job.run_test('platform_AddPrinter', ppd_file='GenericPostScript.ppd.gz', golden_file='golden_printing_request_generic.bin')