printer

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 40 Imported by: 0

Documentation

Overview

Package printer contains local Tast tests that exercise printing on Chrome OS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context, s *testing.State)

func AddHTTPPrinter

func AddHTTPPrinter(ctx context.Context, s *testing.State)

func AddUSBPrinter

func AddUSBPrinter(ctx context.Context, s *testing.State)

func CupsdSocketActivation

func CupsdSocketActivation(ctx context.Context, s *testing.State)

func GnuTLS

func GnuTLS(ctx context.Context, s *testing.State)

func Gstopdf

func Gstopdf(ctx context.Context, s *testing.State)

func Gstoraster

func Gstoraster(ctx context.Context, s *testing.State)

func GstorasterUnembeddedFont

func GstorasterUnembeddedFont(ctx context.Context, s *testing.State)

func IPPUSBPPDCopiesSupported

func IPPUSBPPDCopiesSupported(ctx context.Context, s *testing.State)

IPPUSBPPDCopiesSupported tests that the "cupsManualCopies" and "cupsMaxCopies" PPD fields will be correctly populated when configuring an IPP-over-USB printer whose "copies-supported" attribute has an upper limit greater than 1 (i.e., it supports copies).

func IPPUSBPPDCopiesUnsupported

func IPPUSBPPDCopiesUnsupported(ctx context.Context, s *testing.State)

IPPUSBPPDCopiesUnsupported tests that the "cupsManualCopies" and "cupsMaxCopies" PPD fields will be correctly populated when configuring an IPP-over-USB printer whose "copies-supported" IPP attribute has an upper limit of 1 (i.e., it does not support copies).

func IPPUSBPPDNoCopies

func IPPUSBPPDNoCopies(ctx context.Context, s *testing.State)

IPPUSBPPDNoCopies tests that the "cupsManualCopies" and "cupsMaxCopies" PPD fields will be correctly populated when configuring an IPP-over-USB printer which does not provide a value for the "copies-supported" attribute.

func Print

func Print(ctx context.Context, s *testing.State)

func PrintExtension

func PrintExtension(ctx context.Context, s *testing.State)

func PrintIPPUSB

func PrintIPPUSB(ctx context.Context, s *testing.State)

func PrintUSB

func PrintUSB(ctx context.Context, s *testing.State)

func ProxyAdd

func ProxyAdd(ctx context.Context, s *testing.State)

func TestPPDs

func TestPPDs(ctx context.Context, s *testing.State)

func USBPrinterTimeout

func USBPrinterTimeout(ctx context.Context, s *testing.State)

Types

This section is empty.

Directories

Path Synopsis
Package fake implements a fake network printer reading LPR protocol.
Package fake implements a fake network printer reading LPR protocol.
Package ghostscript provides common utilities for testing ghostscript filters.
Package ghostscript provides common utilities for testing ghostscript filters.
Package ippprint implements printing with IPP options.
Package ippprint implements printing with IPP options.
Package lpprint implements adding a printer, printing to it via the lp command, and comparing the data sent to the printer to a golden file.
Package lpprint implements adding a printer, printing to it via the lp command, and comparing the data sent to the printer to a golden file.
Package proxylpprint implements adding a printer, printing to it via the lp command, and comparing the data sent to the printer to a golden file.
Package proxylpprint implements adding a printer, printing to it via the lp command, and comparing the data sent to the printer to a golden file.
Package usbprintertests provides utility functions for running tests with a USB printer.
Package usbprintertests provides utility functions for running tests with a USB printer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL