Documentation ¶
Index ¶
Constants ¶
View Source
const CONSTRUCTOR_INTERNAL_MOCK = `` /* 131-byte string literal not displayed */
View Source
const CONSTRUCTOR_MOCK_FUNCTION = `` /* 201-byte string literal not displayed */
View Source
const FILE_HEADER = `// ############################
// Generated by Mooncake
// Date: %s
// Source: %s
// ############################
`
View Source
const INTERNAL_METHOD = `` /* 184-byte string literal not displayed */
View Source
const METHOD = `
func(m *Mock%s%k) %m(%p) (%r) {
method := "%m"
result := m.agent.GetCall(method)
%a
return
}
`
View Source
const MOCK_STRUCTURE = `
type Mock%s%i struct {
agent *mooncake.MooncakeAgent
internalController *InternalMock%s%k
}`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.