1 Star 0 Fork 0

陈文甲/fabric

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
app_capabilities.go 3.27 KB
Copy Edit Raw Blame History
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import mock "github.com/stretchr/testify/mock"
// AppCapabilities is an autogenerated mock type for the AppCapabilities type
type AppCapabilities struct {
mock.Mock
}
// ACLs provides a mock function with given fields:
func (_m *AppCapabilities) ACLs() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// CollectionUpgrade provides a mock function with given fields:
func (_m *AppCapabilities) CollectionUpgrade() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// FabToken provides a mock function with given fields:
func (_m *AppCapabilities) FabToken() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// ForbidDuplicateTXIdInBlock provides a mock function with given fields:
func (_m *AppCapabilities) ForbidDuplicateTXIdInBlock() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// KeyLevelEndorsement provides a mock function with given fields:
func (_m *AppCapabilities) KeyLevelEndorsement() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// MetadataLifecycle provides a mock function with given fields:
func (_m *AppCapabilities) MetadataLifecycle() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// PrivateChannelData provides a mock function with given fields:
func (_m *AppCapabilities) PrivateChannelData() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// StorePvtDataOfInvalidTx provides a mock function with given fields:
func (_m *AppCapabilities) StorePvtDataOfInvalidTx() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// Supported provides a mock function with given fields:
func (_m *AppCapabilities) Supported() error {
ret := _m.Called()
var r0 error
if rf, ok := ret.Get(0).(func() error); ok {
r0 = rf()
} else {
r0 = ret.Error(0)
}
return r0
}
// V1_1Validation provides a mock function with given fields:
func (_m *AppCapabilities) V1_1Validation() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// V1_2Validation provides a mock function with given fields:
func (_m *AppCapabilities) V1_2Validation() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// V1_3Validation provides a mock function with given fields:
func (_m *AppCapabilities) V1_3Validation() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/venjia/fabric.git
git@gitee.com:venjia/fabric.git
venjia
fabric
fabric
v1.4.12

Search