MCPcopy Create free account

hub / github.com/vektra/mockery / functions

Functions1,773 in github.com/vektra/mockery

MethodBarCalls
BarCalls gets all the calls that were made to Bar. Check the length with: len(mockedFoo.BarCalls())
internal/fixtures/multi_template/mocks_matryer_multitemplate_test.go:62
MethodBarCalls
BarCalls gets all the calls that were made to Bar. Check the length with: len(mockedOutputDirWithSamePkgNameAsSrc.BarCalls())
internal/fixtures/output_dir/output_dir/mocks_matryer_output_dir_test.go:67
MethodBarFunc
BarFunc provides a mock function for the type MockInterfaceWithPointers
internal/fixtures/replace_type_pointers/mocks_testify_replace_type_pointers_test.go:41
MethodBarFunc
BarFunc is a helper method to define mock.On call - bar Bar
internal/fixtures/replace_type_pointers/mocks_testify_replace_type_pointers_test.go:64
MethodBaz
Baz provides a mock function for the type MockFooer
internal/fixtures/mocks_testify_test_test.go:163
MethodBaz
Baz is a helper method to define mock.On call - path string
internal/fixtures/mocks_testify_test_test.go:188
MethodBaz
(path string)
internal/fixtures/argument_is_func_type.go:6
MethodBaz
Baz calls BazFunc.
internal/fixtures/mocks_matryer_test_test.go:196
MethodBaz
()
internal/fixtures/output_dir/interface.go:12
MethodBaz
Baz calls BazFunc.
internal/fixtures/output_dir/mocks_matryer_output_dir_test.go:46
MethodBazCalls
BazCalls gets all the calls that were made to Baz. Check the length with: len(mockedFooer.BazCalls())
internal/fixtures/mocks_matryer_test_test.go:218
MethodBazCalls
BazCalls gets all the calls that were made to Baz. Check the length with: len(mockedOutputDirWithinSrcPkg.BazCalls())
internal/fixtures/output_dir/mocks_matryer_output_dir_test.go:65
MethodC
(fixtureshttp string)
internal/fixtures/same_name_imports.go:14
MethodC
C provides a mock function for the type MockReplaceGeneric
internal/fixtures/mocks_testify_test_test.go:2178
MethodC
C provides a mock function for the type MockImportsSameAsPackage
internal/fixtures/mocks_testify_test_test.go:2545
MethodC
C is a helper method to define mock.On call - c C
internal/fixtures/mocks_testify_test_test.go:2557
MethodC
C provides a mock function for the type MockExample
internal/fixtures/mocks_testify_test_test.go:5206
MethodC
C is a helper method to define mock.On call - fixtureshttp string
internal/fixtures/mocks_testify_test_test.go:5229
MethodC
(C)
internal/fixtures/imports_same_as_package.go:12
MethodC
()
internal/fixtures/generic.go:47
MethodC
C calls CFunc.
internal/fixtures/mocks_matryer_test_test.go:1718
MethodC
C calls CFunc.
internal/fixtures/mocks_matryer_test_test.go:2109
MethodC
C calls CFunc.
internal/fixtures/mocks_matryer_test_test.go:4735
MethodCCalls
CCalls gets all the calls that were made to C. Check the length with: len(mockedReplaceGeneric.CCalls())
internal/fixtures/mocks_matryer_test_test.go:1737
MethodCCalls
CCalls gets all the calls that were made to C. Check the length with: len(mockedImportsSameAsPackage.CCalls())
internal/fixtures/mocks_matryer_test_test.go:2128
MethodCCalls
CCalls gets all the calls that were made to C. Check the length with: len(mockedExample.CCalls())
internal/fixtures/mocks_matryer_test_test.go:4757
MethodCall
Call provides a mock function for the type MockA
internal/fixtures/mocks_testify_test_test.go:5284
MethodCall
Call is a helper method to define mock.On call
internal/fixtures/mocks_testify_test_test.go:5315
MethodCall
()
internal/fixtures/struct_value.go:6
MethodCall
Call calls CallFunc.
internal/fixtures/mocks_matryer_test_test.go:4824
MethodCall
Call returns a string containing the method call. This will usually need to be prefixed with a selector to specify which actual method to call. For ex
template/method.go:41
MethodCallCalls
CallCalls gets all the calls that were made to Call. Check the length with: len(mockedA.CallCalls())
internal/fixtures/mocks_matryer_test_test.go:4844
MethodClose
Close is a helper method to define mock.On call
internal/fixtures/mocks_io_test.go:239
MethodClose
Close provides a mock function for the type MockReadCloser
internal/fixtures/mocks_io_test.go:528
MethodClose
Close is a helper method to define mock.On call
internal/fixtures/mocks_io_test.go:550
MethodClose
Close provides a mock function for the type MockWriteCloser
internal/fixtures/mocks_io_test.go:659
MethodClose
Close is a helper method to define mock.On call
internal/fixtures/mocks_io_test.go:681
MethodClose
Close provides a mock function for the type MockReadWriteCloser
internal/fixtures/mocks_io_test.go:790
MethodClose
Close is a helper method to define mock.On call
internal/fixtures/mocks_io_test.go:812
MethodClose
Close provides a mock function for the type MockReadSeekCloser
internal/fixtures/mocks_io_test.go:1134
MethodClose
Close is a helper method to define mock.On call
internal/fixtures/mocks_io_test.go:1156
MethodCode
()
internal/fixtures/custom_error.go:12
MethodCreate
Create provides a mock function for the type MockBlank
internal/fixtures/mocks_testify_test_test.go:767
MethodCreate
Create is a helper method to define mock.On call - x interface{}
internal/fixtures/mocks_testify_test_test.go:790
MethodCreate
Create calls CreateFunc.
internal/fixtures/mocks_matryer_test_test.go:815
MethodCreateCalls
CreateCalls gets all the calls that were made to Create. Check the length with: len(mockedBlank.CreateCalls())
internal/fixtures/mocks_matryer_test_test.go:837
MethodCustom2
()
internal/fixtures/buildtag/comment/custom2_iface.go:8
MethodDeclaration
Declaration returns the method name followed by its signature. For example, if a method was declared as "func (b Bar) Foo(s string) error", this metho
template/method.go:73
MethodDeclaredInterfaces
()
internal/node_visitor.go:29
FunctionDecr
Decr decrements the numbers by 1.
template_funcs/functions.go:56
FunctionDiv
Div cumulatively divides the given numbers.
template_funcs/functions.go:70
MethodDo
Do provides a mock function for the type MockUnsafeInterface
internal/fixtures/mocks_testify_test_test.go:5480
MethodDo
Do is a helper method to define mock.On call - ptr *unsafe.Pointer
internal/fixtures/mocks_testify_test_test.go:5492
MethodDo
(ptr *unsafe.Pointer)
internal/fixtures/unsafe.go:6
MethodDo
Do calls DoFunc.
internal/fixtures/mocks_matryer_test_test.go:5013
MethodDoB
DoB provides a mock function for the type mockinterfaceA
internal/fixtures/method_args/same_name_arg_and_type/mocks_testify_same_name_arg_and_type_test.go:41
MethodDoB
DoB is a helper method to define mock.On call - interfaceB1 interfaceB
internal/fixtures/method_args/same_name_arg_and_type/mocks_testify_same_name_arg_and_type_test.go:66
MethodDoB0
DoB0 provides a mock function for the type mockinterfaceA
internal/fixtures/method_args/same_name_arg_and_type/mocks_testify_same_name_arg_and_type_test.go:94
MethodDoB0
DoB0 is a helper method to define mock.On call - interfaceB interfaceB0
internal/fixtures/method_args/same_name_arg_and_type/mocks_testify_same_name_arg_and_type_test.go:119
MethodDoB0
DoB0 provides a mock function for the type mockinterfaceB0
internal/fixtures/method_args/same_name_arg_and_type/mocks_testify_same_name_arg_and_type_test.go:298
MethodDoB0
DoB0 is a helper method to define mock.On call - interfaceB01 interfaceB0
internal/fixtures/method_args/same_name_arg_and_type/mocks_testify_same_name_arg_and_type_test.go:323
MethodDoB0
(interfaceB0 interfaceB0)
internal/fixtures/method_args/same_name_arg_and_type/entity.go:16
MethodDoB0v2
DoB0v2 provides a mock function for the type mockinterfaceA
internal/fixtures/method_args/same_name_arg_and_type/mocks_testify_same_name_arg_and_type_test.go:147
MethodDoB0v2
DoB0v2 is a helper method to define mock.On call - interfaceB01 interfaceB0
internal/fixtures/method_args/same_name_arg_and_type/mocks_testify_same_name_arg_and_type_test.go:172
MethodDoCalls
DoCalls gets all the calls that were made to Do. Check the length with: len(mockedUnsafeInterface.DoCalls())
internal/fixtures/mocks_matryer_test_test.go:5032
MethodDoFoo
()
internal/fixtures/example_project/baz/foo.go:10
MethodDoFoo
()
internal/fixtures/example_project/foo/foo.go:9
MethodDoSomething
DoSomething provides a mock function for the type MockSibling
internal/fixtures/mocks_testify_test_test.go:3019
MethodDoSomething
DoSomething is a helper method to define mock.On call
internal/fixtures/mocks_testify_test_test.go:3030
MethodDoSomething
DoSomething is a helper method to define mock.On call
internal/fixtures/mocks_testify_test_test.go:3235
MethodDoSomething
DoSomething calls DoSomethingFunc.
internal/fixtures/mocks_matryer_test_test.go:2609
MethodDoSomething
DoSomething calls DoSomethingFunc.
internal/fixtures/mocks_matryer_test_test.go:2842
MethodDoSomething
()
internal/fixtures/mock_method_uses_pkg_iface.go:4
MethodDoSomething
()
internal/fixtures/directive_comments/directive_comments.go:42
MethodDoSomethingCalls
DoSomethingCalls gets all the calls that were made to DoSomething. Check the length with: len(mockedSibling.DoSomethingCalls())
internal/fixtures/mocks_matryer_test_test.go:2625
MethodDoSomethingCalls
DoSomethingCalls gets all the calls that were made to DoSomething. Check the length with: len(mockedPanicOnNoReturnValue.DoSomethingCalls())
internal/fixtures/mocks_matryer_test_test.go:2861
MethodDoSomethingElse
DoSomethingElse provides a mock function for the type MockUsesOtherPkgIface
internal/fixtures/mocks_testify_test_test.go:3079
MethodDoSomethingElse
DoSomethingElse is a helper method to define mock.On call - obj Sibling
internal/fixtures/mocks_testify_test_test.go:3091
MethodDoSomethingElse
DoSomethingElse calls DoSomethingElseFunc.
internal/fixtures/mocks_matryer_test_test.go:2684
MethodDoSomethingElse
(obj Sibling)
internal/fixtures/mock_method_uses_pkg_iface.go:8
MethodDoSomethingElseCalls
DoSomethingElseCalls gets all the calls that were made to DoSomethingElse. Check the length with: len(mockedUsesOtherPkgIface.DoSomethingElseCalls()
internal/fixtures/mocks_matryer_test_test.go:2703
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:45
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:118
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:289
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:367
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:532
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:665
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:762
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:840
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:1469
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:1550
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:1637
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:1857
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:1928
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:2001
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:2074
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:2246
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:2319
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:2450
MethodEXPECT
()
internal/fixtures/mocks_testify_test_test.go:2607
← previousnext →401–500 of 1,773, ranked by callers