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.epson"
7TIME = "SHORT"
8TEST_TYPE = "client"
9CRITERIA = """
10The test fails in case of malfunctioning of CUPS printing stack (cupsd,
11cupstestppd, cups filters) or component updater (unable to download epson
12filter from Omaha server).
13"""
14TEST_CATEGORY = "Functional"
15TEST_CLASS = "platform"
16ATTRIBUTES = "suite:bvt-perbuild"
17JOB_RETRIES = 2
18
19DOC = """
20This is a test that emulates following user behavior:
21Manually add an Epson printer (user-provided ppd file) and print a pdf.
22
23In the process of adding a printer, API is triggered to download a
24component (escpr).
25
26When printing the pdf, the printing request sent to printer is caught by
27a fake printer which compares the request to a golden file to verify its
28correctness.
29"""
30
31job.run_test('platform_AddPrinter',
32             ppd_file='Epson-WF-3620_Series-epson-escpr-en.ppd',
33             golden_file='golden_printing_request_epson.bin',
34             component='epson-inkjet-printer-escpr')
35