Documentation ¶
Overview ¶
Package gittest is a test package for the git middleware. It implements a mock gitos.OS, gitos.Cmd and gitos.File.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdOutput = "success"
CmdOutput is the output of any call to the mocked gitos.Cmd's Output().
View Source
var FakeOS = fakeOS{}
FakeOS implements a mock gitos.OS, gitos.Cmd and gitos.File.
View Source
var TempFileName = "tempfile"
TempFileName is the name of any file returned by mocked gitos.OS's TempFile().
View Source
var TimeSpeed = 5
TimeSpeed is how faster the mocked gitos.Ticker and gitos.Sleep should run.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.