Versions in this module Expand all Collapse all v0 v0.2.1 Oct 7, 2014 Changes in this version + type Action interface + Invoke func(methodArgs []interface{}) []interface{} + SetSignature func(signature reflect.Type) error + func Invoke(f interface{}) Action + func Return(vals ...interface{}) Action + type Controller interface + ExpectCall func(o MockObject, methodName string, fileName string, lineNumber int) PartialExpecation + Finish func() + HandleMethodCall func(o MockObject, methodName string, fileName string, lineNumber int, ...) []interface{} + func NewController(reporter ErrorReporter) Controller + type ErrorReporter interface + ReportError func(fileName string, lineNumber int, err error) + ReportFatalError func(fileName string, lineNumber int, err error) + type Expectation interface + Times func(n uint) Expectation + WillOnce func(a Action) Expectation + WillRepeatedly func(a Action) Expectation + type InternalExpectation struct + ArgMatchers []oglematchers.Matcher + ExpectedNumMatches int + FallbackAction Action + FileName string + LineNumber int + NumMatches uint + OneTimeActions []Action + func InternalNewExpectation(reporter ErrorReporter, methodSignature reflect.Type, args []interface{}, ...) *InternalExpectation + func (e *InternalExpectation) Times(n uint) Expectation + func (e *InternalExpectation) WillOnce(a Action) Expectation + func (e *InternalExpectation) WillRepeatedly(a Action) Expectation + type MockObject interface + Oglemock_Description func() string + Oglemock_Id func() uintptr + type PartialExpecation func(...interface{}) Expectation