mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-06 14:38:55 +00:00
* disable pegomock --use-experimental-model-gen, cause random fail by segv * make regen-mocks * fix mock code which uses non experimental pegomock codes
34 lines
1.1 KiB
Go
34 lines
1.1 KiB
Go
// Code generated by pegomock. DO NOT EDIT.
|
|
package matchers
|
|
|
|
import (
|
|
"github.com/petergtz/pegomock"
|
|
"reflect"
|
|
|
|
azuredevops "github.com/mcdafydd/go-azuredevops/azuredevops"
|
|
)
|
|
|
|
func AnyPtrToAzuredevopsGitPullRequest() *azuredevops.GitPullRequest {
|
|
pegomock.RegisterMatcher(pegomock.NewAnyMatcher(reflect.TypeOf((*(*azuredevops.GitPullRequest))(nil)).Elem()))
|
|
var nullValue *azuredevops.GitPullRequest
|
|
return nullValue
|
|
}
|
|
|
|
func EqPtrToAzuredevopsGitPullRequest(value *azuredevops.GitPullRequest) *azuredevops.GitPullRequest {
|
|
pegomock.RegisterMatcher(&pegomock.EqMatcher{Value: value})
|
|
var nullValue *azuredevops.GitPullRequest
|
|
return nullValue
|
|
}
|
|
|
|
func NotEqPtrToAzuredevopsGitPullRequest(value *azuredevops.GitPullRequest) *azuredevops.GitPullRequest {
|
|
pegomock.RegisterMatcher(&pegomock.NotEqMatcher{Value: value})
|
|
var nullValue *azuredevops.GitPullRequest
|
|
return nullValue
|
|
}
|
|
|
|
func PtrToAzuredevopsGitPullRequestThat(matcher pegomock.ArgumentMatcher) *azuredevops.GitPullRequest {
|
|
pegomock.RegisterMatcher(matcher)
|
|
var nullValue *azuredevops.GitPullRequest
|
|
return nullValue
|
|
}
|