fake_term

package
v0.333.2-candidate Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeTerm

type FakeTerm struct {
	GetWinsizeStub func(fd uintptr) (*term.Winsize, error)

	SetWinsizeStub func(fd uintptr, size *term.Winsize) error

	SetRawTerminalStub func(fd uintptr) (*term.State, error)

	RestoreTerminalStub func(fd uintptr, state *term.State) error
	// contains filtered or unexported fields
}

func (*FakeTerm) GetWinsize

func (fake *FakeTerm) GetWinsize(fd uintptr) (*term.Winsize, error)

func (*FakeTerm) GetWinsizeArgsForCall

func (fake *FakeTerm) GetWinsizeArgsForCall(i int) uintptr

func (*FakeTerm) GetWinsizeCallCount

func (fake *FakeTerm) GetWinsizeCallCount() int

func (*FakeTerm) GetWinsizeReturns

func (fake *FakeTerm) GetWinsizeReturns(result1 *term.Winsize, result2 error)

func (*FakeTerm) RestoreTerminal

func (fake *FakeTerm) RestoreTerminal(fd uintptr, state *term.State) error

func (*FakeTerm) RestoreTerminalArgsForCall

func (fake *FakeTerm) RestoreTerminalArgsForCall(i int) (uintptr, *term.State)

func (*FakeTerm) RestoreTerminalCallCount

func (fake *FakeTerm) RestoreTerminalCallCount() int

func (*FakeTerm) RestoreTerminalReturns

func (fake *FakeTerm) RestoreTerminalReturns(result1 error)

func (*FakeTerm) SetRawTerminal

func (fake *FakeTerm) SetRawTerminal(fd uintptr) (*term.State, error)

func (*FakeTerm) SetRawTerminalArgsForCall

func (fake *FakeTerm) SetRawTerminalArgsForCall(i int) uintptr

func (*FakeTerm) SetRawTerminalCallCount

func (fake *FakeTerm) SetRawTerminalCallCount() int

func (*FakeTerm) SetRawTerminalReturns

func (fake *FakeTerm) SetRawTerminalReturns(result1 *term.State, result2 error)

func (*FakeTerm) SetWinsize

func (fake *FakeTerm) SetWinsize(fd uintptr, size *term.Winsize) error

func (*FakeTerm) SetWinsizeArgsForCall

func (fake *FakeTerm) SetWinsizeArgsForCall(i int) (uintptr, *term.Winsize)

func (*FakeTerm) SetWinsizeCallCount

func (fake *FakeTerm) SetWinsizeCallCount() int

func (*FakeTerm) SetWinsizeReturns

func (fake *FakeTerm) SetWinsizeReturns(result1 error)

Jump to

Keyboard shortcuts

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