Documentation
¶
Overview ¶
Package tests is a generated GoMock package.
Copyright 2017 - 2019 KB Kontrakt LLC - All Rights Reserved. *
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. *
Copyright 2017 - 2019 KB Kontrakt LLC - All Rights Reserved. *
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. *
Index ¶
- func GomockRexp(rexp string) gomock.Matcher
- func JSONFillMockPrvState(mock *shimtest.MockStub, collectionName string, keyValPairs ...interface{})
- func JSONFillMockState(mock *shimtest.MockStub, keyValPairs ...interface{})
- func MakeJSONStateIteratorFuncs(namespace string, keyValPairs ...interface{}) (interface{}, interface{})
- func WrapShimMockDelPrivState(mock *shimtest.MockStub) interface{}
- func WrapShimMockDelState(mock *shimtest.MockStub) interface{}
- func WrapShimMockGetPrivState(mock *shimtest.MockStub) interface{}
- func WrapShimMockGetState(mock *shimtest.MockStub) interface{}
- func WrapShimMockPutPrivState(mock *shimtest.MockStub) interface{}
- func WrapShimMockPutState(mock *shimtest.MockStub) interface{}
- func WrapShimMockTxID(mock *shimtest.MockStub) interface{}
- func WrapShimMockTxStamp(mock *shimtest.MockStub) interface{}
- type MockChaincode
- type MockChaincodeMockRecorder
- type MockChaincodeStubInterface
- func (m *MockChaincodeStubInterface) CreateCompositeKey(objectType string, attributes []string) (string, error)
- func (m *MockChaincodeStubInterface) DelPrivateData(collection, key string) error
- func (m *MockChaincodeStubInterface) DelState(key string) error
- func (m *MockChaincodeStubInterface) EXPECT() *MockChaincodeStubInterfaceMockRecorder
- func (m *MockChaincodeStubInterface) GetArgs() [][]byte
- func (m *MockChaincodeStubInterface) GetArgsSlice() ([]byte, error)
- func (m *MockChaincodeStubInterface) GetBinding() ([]byte, error)
- func (m *MockChaincodeStubInterface) GetChannelID() string
- func (m *MockChaincodeStubInterface) GetCreator() ([]byte, error)
- func (m *MockChaincodeStubInterface) GetDecorations() map[string][]byte
- func (m *MockChaincodeStubInterface) GetFunctionAndParameters() (string, []string)
- func (m *MockChaincodeStubInterface) GetHistoryForKey(key string) (shim.HistoryQueryIteratorInterface, error)
- func (m *MockChaincodeStubInterface) GetPrivateData(collection, key string) ([]byte, error)
- func (m *MockChaincodeStubInterface) GetPrivateDataByPartialCompositeKey(collection, objectType string, keys []string) (shim.StateQueryIteratorInterface, error)
- func (m *MockChaincodeStubInterface) GetPrivateDataByRange(collection, startKey, endKey string) (shim.StateQueryIteratorInterface, error)
- func (m *MockChaincodeStubInterface) GetPrivateDataQueryResult(collection, query string) (shim.StateQueryIteratorInterface, error)
- func (m *MockChaincodeStubInterface) GetPrivateDataValidationParameter(collection, key string) ([]byte, error)
- func (m *MockChaincodeStubInterface) GetQueryResult(query string) (shim.StateQueryIteratorInterface, error)
- func (m *MockChaincodeStubInterface) GetQueryResultWithPagination(query string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
- func (m *MockChaincodeStubInterface) GetSignedProposal() (*peer.SignedProposal, error)
- func (m *MockChaincodeStubInterface) GetState(key string) ([]byte, error)
- func (m *MockChaincodeStubInterface) GetStateByPartialCompositeKey(objectType string, keys []string) (shim.StateQueryIteratorInterface, error)
- func (m *MockChaincodeStubInterface) GetStateByPartialCompositeKeyWithPagination(objectType string, keys []string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
- func (m *MockChaincodeStubInterface) GetStateByRange(startKey, endKey string) (shim.StateQueryIteratorInterface, error)
- func (m *MockChaincodeStubInterface) GetStateByRangeWithPagination(startKey, endKey string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
- func (m *MockChaincodeStubInterface) GetStateValidationParameter(key string) ([]byte, error)
- func (m *MockChaincodeStubInterface) GetStringArgs() []string
- func (m *MockChaincodeStubInterface) GetTransient() (map[string][]byte, error)
- func (m *MockChaincodeStubInterface) GetTxID() string
- func (m *MockChaincodeStubInterface) GetTxTimestamp() (*timestamp.Timestamp, error)
- func (m *MockChaincodeStubInterface) InvokeChaincode(chaincodeName string, args [][]byte, channel string) peer.Response
- func (m *MockChaincodeStubInterface) PutPrivateData(collection, key string, value []byte) error
- func (m *MockChaincodeStubInterface) PutState(key string, value []byte) error
- func (m *MockChaincodeStubInterface) SetEvent(name string, payload []byte) error
- func (m *MockChaincodeStubInterface) SetPrivateDataValidationParameter(collection, key string, ep []byte) error
- func (m *MockChaincodeStubInterface) SetStateValidationParameter(key string, ep []byte) error
- func (m *MockChaincodeStubInterface) SplitCompositeKey(compositeKey string) (string, []string, error)
- type MockChaincodeStubInterfaceMockRecorder
- func (mr *MockChaincodeStubInterfaceMockRecorder) CreateCompositeKey(objectType, attributes interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) DelPrivateData(collection, key interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) DelState(key interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetArgs() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetArgsSlice() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetBinding() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetChannelID() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetCreator() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetDecorations() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetFunctionAndParameters() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetHistoryForKey(key interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateData(collection, key interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByPartialCompositeKey(collection, objectType, keys interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByRange(collection, startKey, endKey interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataQueryResult(collection, query interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataValidationParameter(collection, key interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetQueryResult(query interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetQueryResultWithPagination(query, pageSize, bookmark interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetSignedProposal() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetState(key interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKey(objectType, keys interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKeyWithPagination(objectType, keys, pageSize, bookmark interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByRange(startKey, endKey interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByRangeWithPagination(startKey, endKey, pageSize, bookmark interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateValidationParameter(key interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetStringArgs() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetTransient() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetTxID() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) GetTxTimestamp() *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) InvokeChaincode(chaincodeName, args, channel interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) PutPrivateData(collection, key, value interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) PutState(key, value interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) SetEvent(name, payload interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) SetPrivateDataValidationParameter(collection, key, ep interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) SetStateValidationParameter(key, ep interface{}) *gomock.Call
- func (mr *MockChaincodeStubInterfaceMockRecorder) SplitCompositeKey(compositeKey interface{}) *gomock.Call
- type MockCommonIteratorInterface
- type MockCommonIteratorInterfaceMockRecorder
- type MockHistoryQueryIteratorInterface
- func (m *MockHistoryQueryIteratorInterface) Close() error
- func (m *MockHistoryQueryIteratorInterface) EXPECT() *MockHistoryQueryIteratorInterfaceMockRecorder
- func (m *MockHistoryQueryIteratorInterface) HasNext() bool
- func (m *MockHistoryQueryIteratorInterface) Next() (*queryresult.KeyModification, error)
- type MockHistoryQueryIteratorInterfaceMockRecorder
- type MockMockQueryIteratorInterface
- type MockMockQueryIteratorInterfaceMockRecorder
- type MockStateQueryIteratorInterface
- type MockStateQueryIteratorInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONFillMockPrvState ¶
func JSONFillMockPrvState(mock *shimtest.MockStub, collectionName string, keyValPairs ...interface{})
JSONFillMockPrvState .
func JSONFillMockState ¶
JSONFillMockState .
func MakeJSONStateIteratorFuncs ¶
func MakeJSONStateIteratorFuncs(namespace string, keyValPairs ...interface{}) (interface{}, interface{})
MakeJSONStateIteratorFuncs .
func WrapShimMockDelPrivState ¶
WrapShimMockDelPrivState .
func WrapShimMockDelState ¶
WrapShimMockDelState .
func WrapShimMockGetPrivState ¶
WrapShimMockGetPrivState .
func WrapShimMockGetState ¶
WrapShimMockGetState .
func WrapShimMockPutPrivState ¶
WrapShimMockPutPrivState .
func WrapShimMockPutState ¶
WrapShimMockPutState .
func WrapShimMockTxID ¶
WrapShimMockTxID .
func WrapShimMockTxStamp ¶
WrapShimMockTxStamp .
Types ¶
type MockChaincode ¶
type MockChaincode struct {
// contains filtered or unexported fields
}
MockChaincode is a mock of Chaincode interface
func NewMockChaincode ¶
func NewMockChaincode(ctrl *gomock.Controller) *MockChaincode
NewMockChaincode creates a new mock instance
func (*MockChaincode) EXPECT ¶
func (m *MockChaincode) EXPECT() *MockChaincodeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockChaincode) Init ¶
func (m *MockChaincode) Init(stub shim.ChaincodeStubInterface) peer.Response
Init mocks base method
func (*MockChaincode) Invoke ¶
func (m *MockChaincode) Invoke(stub shim.ChaincodeStubInterface) peer.Response
Invoke mocks base method
type MockChaincodeMockRecorder ¶
type MockChaincodeMockRecorder struct {
// contains filtered or unexported fields
}
MockChaincodeMockRecorder is the mock recorder for MockChaincode
func (*MockChaincodeMockRecorder) Init ¶
func (mr *MockChaincodeMockRecorder) Init(stub interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockChaincodeMockRecorder) Invoke ¶
func (mr *MockChaincodeMockRecorder) Invoke(stub interface{}) *gomock.Call
Invoke indicates an expected call of Invoke
type MockChaincodeStubInterface ¶
type MockChaincodeStubInterface struct {
// contains filtered or unexported fields
}
MockChaincodeStubInterface is a mock of shim.ChaincodeStubInterface interface
func NewMockChaincodeStubInterface ¶
func NewMockChaincodeStubInterface(ctrl *gomock.Controller) *MockChaincodeStubInterface
NewMockChaincodeStubInterface creates a new mock instance
func NewSMC ¶
func NewSMC(t *testing.T, ccname string) (*MockChaincodeStubInterface, *shimtest.MockStub, *gomock.Controller)
NewSMC .
func (*MockChaincodeStubInterface) CreateCompositeKey ¶
func (m *MockChaincodeStubInterface) CreateCompositeKey(objectType string, attributes []string) (string, error)
CreateCompositeKey mocks base method
func (*MockChaincodeStubInterface) DelPrivateData ¶
func (m *MockChaincodeStubInterface) DelPrivateData(collection, key string) error
DelPrivateData mocks base method
func (*MockChaincodeStubInterface) DelState ¶
func (m *MockChaincodeStubInterface) DelState(key string) error
DelState mocks base method
func (*MockChaincodeStubInterface) EXPECT ¶
func (m *MockChaincodeStubInterface) EXPECT() *MockChaincodeStubInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockChaincodeStubInterface) GetArgs ¶
func (m *MockChaincodeStubInterface) GetArgs() [][]byte
GetArgs mocks base method
func (*MockChaincodeStubInterface) GetArgsSlice ¶
func (m *MockChaincodeStubInterface) GetArgsSlice() ([]byte, error)
GetArgsSlice mocks base method
func (*MockChaincodeStubInterface) GetBinding ¶
func (m *MockChaincodeStubInterface) GetBinding() ([]byte, error)
GetBinding mocks base method
func (*MockChaincodeStubInterface) GetChannelID ¶
func (m *MockChaincodeStubInterface) GetChannelID() string
GetChannelID mocks base method
func (*MockChaincodeStubInterface) GetCreator ¶
func (m *MockChaincodeStubInterface) GetCreator() ([]byte, error)
GetCreator mocks base method
func (*MockChaincodeStubInterface) GetDecorations ¶
func (m *MockChaincodeStubInterface) GetDecorations() map[string][]byte
GetDecorations mocks base method
func (*MockChaincodeStubInterface) GetFunctionAndParameters ¶
func (m *MockChaincodeStubInterface) GetFunctionAndParameters() (string, []string)
GetFunctionAndParameters mocks base method
func (*MockChaincodeStubInterface) GetHistoryForKey ¶
func (m *MockChaincodeStubInterface) GetHistoryForKey(key string) (shim.HistoryQueryIteratorInterface, error)
GetHistoryForKey mocks base method
func (*MockChaincodeStubInterface) GetPrivateData ¶
func (m *MockChaincodeStubInterface) GetPrivateData(collection, key string) ([]byte, error)
GetPrivateData mocks base method
func (*MockChaincodeStubInterface) GetPrivateDataByPartialCompositeKey ¶
func (m *MockChaincodeStubInterface) GetPrivateDataByPartialCompositeKey(collection, objectType string, keys []string) (shim.StateQueryIteratorInterface, error)
GetPrivateDataByPartialCompositeKey mocks base method
func (*MockChaincodeStubInterface) GetPrivateDataByRange ¶
func (m *MockChaincodeStubInterface) GetPrivateDataByRange(collection, startKey, endKey string) (shim.StateQueryIteratorInterface, error)
GetPrivateDataByRange mocks base method
func (*MockChaincodeStubInterface) GetPrivateDataQueryResult ¶
func (m *MockChaincodeStubInterface) GetPrivateDataQueryResult(collection, query string) (shim.StateQueryIteratorInterface, error)
GetPrivateDataQueryResult mocks base method
func (*MockChaincodeStubInterface) GetPrivateDataValidationParameter ¶
func (m *MockChaincodeStubInterface) GetPrivateDataValidationParameter(collection, key string) ([]byte, error)
GetPrivateDataValidationParameter mocks base method
func (*MockChaincodeStubInterface) GetQueryResult ¶
func (m *MockChaincodeStubInterface) GetQueryResult(query string) (shim.StateQueryIteratorInterface, error)
GetQueryResult mocks base method
func (*MockChaincodeStubInterface) GetQueryResultWithPagination ¶
func (m *MockChaincodeStubInterface) GetQueryResultWithPagination(query string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
GetQueryResultWithPagination mocks base method
func (*MockChaincodeStubInterface) GetSignedProposal ¶
func (m *MockChaincodeStubInterface) GetSignedProposal() (*peer.SignedProposal, error)
GetSignedProposal mocks base method
func (*MockChaincodeStubInterface) GetState ¶
func (m *MockChaincodeStubInterface) GetState(key string) ([]byte, error)
GetState mocks base method
func (*MockChaincodeStubInterface) GetStateByPartialCompositeKey ¶
func (m *MockChaincodeStubInterface) GetStateByPartialCompositeKey(objectType string, keys []string) (shim.StateQueryIteratorInterface, error)
GetStateByPartialCompositeKey mocks base method
func (*MockChaincodeStubInterface) GetStateByPartialCompositeKeyWithPagination ¶
func (m *MockChaincodeStubInterface) GetStateByPartialCompositeKeyWithPagination(objectType string, keys []string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
GetStateByPartialCompositeKeyWithPagination mocks base method
func (*MockChaincodeStubInterface) GetStateByRange ¶
func (m *MockChaincodeStubInterface) GetStateByRange(startKey, endKey string) (shim.StateQueryIteratorInterface, error)
GetStateByRange mocks base method
func (*MockChaincodeStubInterface) GetStateByRangeWithPagination ¶
func (m *MockChaincodeStubInterface) GetStateByRangeWithPagination(startKey, endKey string, pageSize int32, bookmark string) (shim.StateQueryIteratorInterface, *peer.QueryResponseMetadata, error)
GetStateByRangeWithPagination mocks base method
func (*MockChaincodeStubInterface) GetStateValidationParameter ¶
func (m *MockChaincodeStubInterface) GetStateValidationParameter(key string) ([]byte, error)
GetStateValidationParameter mocks base method
func (*MockChaincodeStubInterface) GetStringArgs ¶
func (m *MockChaincodeStubInterface) GetStringArgs() []string
GetStringArgs mocks base method
func (*MockChaincodeStubInterface) GetTransient ¶
func (m *MockChaincodeStubInterface) GetTransient() (map[string][]byte, error)
GetTransient mocks base method
func (*MockChaincodeStubInterface) GetTxID ¶
func (m *MockChaincodeStubInterface) GetTxID() string
GetTxID mocks base method
func (*MockChaincodeStubInterface) GetTxTimestamp ¶
func (m *MockChaincodeStubInterface) GetTxTimestamp() (*timestamp.Timestamp, error)
GetTxTimestamp mocks base method
func (*MockChaincodeStubInterface) InvokeChaincode ¶
func (m *MockChaincodeStubInterface) InvokeChaincode(chaincodeName string, args [][]byte, channel string) peer.Response
InvokeChaincode mocks base method
func (*MockChaincodeStubInterface) PutPrivateData ¶
func (m *MockChaincodeStubInterface) PutPrivateData(collection, key string, value []byte) error
PutPrivateData mocks base method
func (*MockChaincodeStubInterface) PutState ¶
func (m *MockChaincodeStubInterface) PutState(key string, value []byte) error
PutState mocks base method
func (*MockChaincodeStubInterface) SetEvent ¶
func (m *MockChaincodeStubInterface) SetEvent(name string, payload []byte) error
SetEvent mocks base method
func (*MockChaincodeStubInterface) SetPrivateDataValidationParameter ¶
func (m *MockChaincodeStubInterface) SetPrivateDataValidationParameter(collection, key string, ep []byte) error
SetPrivateDataValidationParameter mocks base method
func (*MockChaincodeStubInterface) SetStateValidationParameter ¶
func (m *MockChaincodeStubInterface) SetStateValidationParameter(key string, ep []byte) error
SetStateValidationParameter mocks base method
func (*MockChaincodeStubInterface) SplitCompositeKey ¶
func (m *MockChaincodeStubInterface) SplitCompositeKey(compositeKey string) (string, []string, error)
SplitCompositeKey mocks base method
type MockChaincodeStubInterfaceMockRecorder ¶
type MockChaincodeStubInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockChaincodeStubInterfaceMockRecorder is the mock recorder for MockChaincodeStubInterface
func (*MockChaincodeStubInterfaceMockRecorder) CreateCompositeKey ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) CreateCompositeKey(objectType, attributes interface{}) *gomock.Call
CreateCompositeKey indicates an expected call of CreateCompositeKey
func (*MockChaincodeStubInterfaceMockRecorder) DelPrivateData ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) DelPrivateData(collection, key interface{}) *gomock.Call
DelPrivateData indicates an expected call of DelPrivateData
func (*MockChaincodeStubInterfaceMockRecorder) DelState ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) DelState(key interface{}) *gomock.Call
DelState indicates an expected call of DelState
func (*MockChaincodeStubInterfaceMockRecorder) GetArgs ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetArgs() *gomock.Call
GetArgs indicates an expected call of GetArgs
func (*MockChaincodeStubInterfaceMockRecorder) GetArgsSlice ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetArgsSlice() *gomock.Call
GetArgsSlice indicates an expected call of GetArgsSlice
func (*MockChaincodeStubInterfaceMockRecorder) GetBinding ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetBinding() *gomock.Call
GetBinding indicates an expected call of GetBinding
func (*MockChaincodeStubInterfaceMockRecorder) GetChannelID ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetChannelID() *gomock.Call
GetChannelID indicates an expected call of GetChannelID
func (*MockChaincodeStubInterfaceMockRecorder) GetCreator ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetCreator() *gomock.Call
GetCreator indicates an expected call of GetCreator
func (*MockChaincodeStubInterfaceMockRecorder) GetDecorations ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetDecorations() *gomock.Call
GetDecorations indicates an expected call of GetDecorations
func (*MockChaincodeStubInterfaceMockRecorder) GetFunctionAndParameters ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetFunctionAndParameters() *gomock.Call
GetFunctionAndParameters indicates an expected call of GetFunctionAndParameters
func (*MockChaincodeStubInterfaceMockRecorder) GetHistoryForKey ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetHistoryForKey(key interface{}) *gomock.Call
GetHistoryForKey indicates an expected call of GetHistoryForKey
func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateData ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateData(collection, key interface{}) *gomock.Call
GetPrivateData indicates an expected call of GetPrivateData
func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByPartialCompositeKey ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByPartialCompositeKey(collection, objectType, keys interface{}) *gomock.Call
GetPrivateDataByPartialCompositeKey indicates an expected call of GetPrivateDataByPartialCompositeKey
func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByRange ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataByRange(collection, startKey, endKey interface{}) *gomock.Call
GetPrivateDataByRange indicates an expected call of GetPrivateDataByRange
func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateDataQueryResult ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataQueryResult(collection, query interface{}) *gomock.Call
GetPrivateDataQueryResult indicates an expected call of GetPrivateDataQueryResult
func (*MockChaincodeStubInterfaceMockRecorder) GetPrivateDataValidationParameter ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetPrivateDataValidationParameter(collection, key interface{}) *gomock.Call
GetPrivateDataValidationParameter indicates an expected call of GetPrivateDataValidationParameter
func (*MockChaincodeStubInterfaceMockRecorder) GetQueryResult ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetQueryResult(query interface{}) *gomock.Call
GetQueryResult indicates an expected call of GetQueryResult
func (*MockChaincodeStubInterfaceMockRecorder) GetQueryResultWithPagination ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetQueryResultWithPagination(query, pageSize, bookmark interface{}) *gomock.Call
GetQueryResultWithPagination indicates an expected call of GetQueryResultWithPagination
func (*MockChaincodeStubInterfaceMockRecorder) GetSignedProposal ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetSignedProposal() *gomock.Call
GetSignedProposal indicates an expected call of GetSignedProposal
func (*MockChaincodeStubInterfaceMockRecorder) GetState ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetState(key interface{}) *gomock.Call
GetState indicates an expected call of GetState
func (*MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKey ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKey(objectType, keys interface{}) *gomock.Call
GetStateByPartialCompositeKey indicates an expected call of GetStateByPartialCompositeKey
func (*MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKeyWithPagination ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByPartialCompositeKeyWithPagination(objectType, keys, pageSize, bookmark interface{}) *gomock.Call
GetStateByPartialCompositeKeyWithPagination indicates an expected call of GetStateByPartialCompositeKeyWithPagination
func (*MockChaincodeStubInterfaceMockRecorder) GetStateByRange ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByRange(startKey, endKey interface{}) *gomock.Call
GetStateByRange indicates an expected call of GetStateByRange
func (*MockChaincodeStubInterfaceMockRecorder) GetStateByRangeWithPagination ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateByRangeWithPagination(startKey, endKey, pageSize, bookmark interface{}) *gomock.Call
GetStateByRangeWithPagination indicates an expected call of GetStateByRangeWithPagination
func (*MockChaincodeStubInterfaceMockRecorder) GetStateValidationParameter ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetStateValidationParameter(key interface{}) *gomock.Call
GetStateValidationParameter indicates an expected call of GetStateValidationParameter
func (*MockChaincodeStubInterfaceMockRecorder) GetStringArgs ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetStringArgs() *gomock.Call
GetStringArgs indicates an expected call of GetStringArgs
func (*MockChaincodeStubInterfaceMockRecorder) GetTransient ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetTransient() *gomock.Call
GetTransient indicates an expected call of GetTransient
func (*MockChaincodeStubInterfaceMockRecorder) GetTxID ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetTxID() *gomock.Call
GetTxID indicates an expected call of GetTxID
func (*MockChaincodeStubInterfaceMockRecorder) GetTxTimestamp ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) GetTxTimestamp() *gomock.Call
GetTxTimestamp indicates an expected call of GetTxTimestamp
func (*MockChaincodeStubInterfaceMockRecorder) InvokeChaincode ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) InvokeChaincode(chaincodeName, args, channel interface{}) *gomock.Call
InvokeChaincode indicates an expected call of InvokeChaincode
func (*MockChaincodeStubInterfaceMockRecorder) PutPrivateData ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) PutPrivateData(collection, key, value interface{}) *gomock.Call
PutPrivateData indicates an expected call of PutPrivateData
func (*MockChaincodeStubInterfaceMockRecorder) PutState ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) PutState(key, value interface{}) *gomock.Call
PutState indicates an expected call of PutState
func (*MockChaincodeStubInterfaceMockRecorder) SetEvent ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) SetEvent(name, payload interface{}) *gomock.Call
SetEvent indicates an expected call of SetEvent
func (*MockChaincodeStubInterfaceMockRecorder) SetPrivateDataValidationParameter ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) SetPrivateDataValidationParameter(collection, key, ep interface{}) *gomock.Call
SetPrivateDataValidationParameter indicates an expected call of SetPrivateDataValidationParameter
func (*MockChaincodeStubInterfaceMockRecorder) SetStateValidationParameter ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) SetStateValidationParameter(key, ep interface{}) *gomock.Call
SetStateValidationParameter indicates an expected call of SetStateValidationParameter
func (*MockChaincodeStubInterfaceMockRecorder) SplitCompositeKey ¶
func (mr *MockChaincodeStubInterfaceMockRecorder) SplitCompositeKey(compositeKey interface{}) *gomock.Call
SplitCompositeKey indicates an expected call of SplitCompositeKey
type MockCommonIteratorInterface ¶
type MockCommonIteratorInterface struct {
// contains filtered or unexported fields
}
MockCommonIteratorInterface is a mock of CommonIteratorInterface interface
func NewMockCommonIteratorInterface ¶
func NewMockCommonIteratorInterface(ctrl *gomock.Controller) *MockCommonIteratorInterface
NewMockCommonIteratorInterface creates a new mock instance
func (*MockCommonIteratorInterface) Close ¶
func (m *MockCommonIteratorInterface) Close() error
Close mocks base method
func (*MockCommonIteratorInterface) EXPECT ¶
func (m *MockCommonIteratorInterface) EXPECT() *MockCommonIteratorInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCommonIteratorInterface) HasNext ¶
func (m *MockCommonIteratorInterface) HasNext() bool
HasNext mocks base method
type MockCommonIteratorInterfaceMockRecorder ¶
type MockCommonIteratorInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCommonIteratorInterfaceMockRecorder is the mock recorder for MockCommonIteratorInterface
func (*MockCommonIteratorInterfaceMockRecorder) Close ¶
func (mr *MockCommonIteratorInterfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockCommonIteratorInterfaceMockRecorder) HasNext ¶
func (mr *MockCommonIteratorInterfaceMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext
type MockHistoryQueryIteratorInterface ¶
type MockHistoryQueryIteratorInterface struct {
// contains filtered or unexported fields
}
MockHistoryQueryIteratorInterface is a mock of HistoryQueryIteratorInterface interface
func NewMockHistoryQueryIteratorInterface ¶
func NewMockHistoryQueryIteratorInterface(ctrl *gomock.Controller) *MockHistoryQueryIteratorInterface
NewMockHistoryQueryIteratorInterface creates a new mock instance
func (*MockHistoryQueryIteratorInterface) Close ¶
func (m *MockHistoryQueryIteratorInterface) Close() error
Close mocks base method
func (*MockHistoryQueryIteratorInterface) EXPECT ¶
func (m *MockHistoryQueryIteratorInterface) EXPECT() *MockHistoryQueryIteratorInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHistoryQueryIteratorInterface) HasNext ¶
func (m *MockHistoryQueryIteratorInterface) HasNext() bool
HasNext mocks base method
func (*MockHistoryQueryIteratorInterface) Next ¶
func (m *MockHistoryQueryIteratorInterface) Next() (*queryresult.KeyModification, error)
Next mocks base method
type MockHistoryQueryIteratorInterfaceMockRecorder ¶
type MockHistoryQueryIteratorInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockHistoryQueryIteratorInterfaceMockRecorder is the mock recorder for MockHistoryQueryIteratorInterface
func (*MockHistoryQueryIteratorInterfaceMockRecorder) Close ¶
func (mr *MockHistoryQueryIteratorInterfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockHistoryQueryIteratorInterfaceMockRecorder) HasNext ¶
func (mr *MockHistoryQueryIteratorInterfaceMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext
func (*MockHistoryQueryIteratorInterfaceMockRecorder) Next ¶
func (mr *MockHistoryQueryIteratorInterfaceMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next
type MockMockQueryIteratorInterface ¶
type MockMockQueryIteratorInterface struct {
// contains filtered or unexported fields
}
MockMockQueryIteratorInterface is a mock of MockQueryIteratorInterface interface
func NewMockMockQueryIteratorInterface ¶
func NewMockMockQueryIteratorInterface(ctrl *gomock.Controller) *MockMockQueryIteratorInterface
NewMockMockQueryIteratorInterface creates a new mock instance
func (*MockMockQueryIteratorInterface) Close ¶
func (m *MockMockQueryIteratorInterface) Close() error
Close mocks base method
func (*MockMockQueryIteratorInterface) EXPECT ¶
func (m *MockMockQueryIteratorInterface) EXPECT() *MockMockQueryIteratorInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMockQueryIteratorInterface) HasNext ¶
func (m *MockMockQueryIteratorInterface) HasNext() bool
HasNext mocks base method
func (*MockMockQueryIteratorInterface) Next ¶
func (m *MockMockQueryIteratorInterface) Next() (*queryresult.KV, error)
Next mocks base method
type MockMockQueryIteratorInterfaceMockRecorder ¶
type MockMockQueryIteratorInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockMockQueryIteratorInterfaceMockRecorder is the mock recorder for MockMockQueryIteratorInterface
func (*MockMockQueryIteratorInterfaceMockRecorder) Close ¶
func (mr *MockMockQueryIteratorInterfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockMockQueryIteratorInterfaceMockRecorder) HasNext ¶
func (mr *MockMockQueryIteratorInterfaceMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext
func (*MockMockQueryIteratorInterfaceMockRecorder) Next ¶
func (mr *MockMockQueryIteratorInterfaceMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next
type MockStateQueryIteratorInterface ¶
type MockStateQueryIteratorInterface struct {
// contains filtered or unexported fields
}
MockStateQueryIteratorInterface is a mock of StateQueryIteratorInterface interface
func MakeJSONStateIterator ¶
func MakeJSONStateIterator(ctrl *gomock.Controller, namespace string, keyValPairs ...interface{}) *MockStateQueryIteratorInterface
MakeJSONStateIterator .
func NewMockStateQueryIteratorInterface ¶
func NewMockStateQueryIteratorInterface(ctrl *gomock.Controller) *MockStateQueryIteratorInterface
NewMockStateQueryIteratorInterface creates a new mock instance
func (*MockStateQueryIteratorInterface) Close ¶
func (m *MockStateQueryIteratorInterface) Close() error
Close mocks base method
func (*MockStateQueryIteratorInterface) EXPECT ¶
func (m *MockStateQueryIteratorInterface) EXPECT() *MockStateQueryIteratorInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStateQueryIteratorInterface) HasNext ¶
func (m *MockStateQueryIteratorInterface) HasNext() bool
HasNext mocks base method
func (*MockStateQueryIteratorInterface) Next ¶
func (m *MockStateQueryIteratorInterface) Next() (*queryresult.KV, error)
Next mocks base method
type MockStateQueryIteratorInterfaceMockRecorder ¶
type MockStateQueryIteratorInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockStateQueryIteratorInterfaceMockRecorder is the mock recorder for MockStateQueryIteratorInterface
func (*MockStateQueryIteratorInterfaceMockRecorder) Close ¶
func (mr *MockStateQueryIteratorInterfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockStateQueryIteratorInterfaceMockRecorder) HasNext ¶
func (mr *MockStateQueryIteratorInterfaceMockRecorder) HasNext() *gomock.Call
HasNext indicates an expected call of HasNext
func (*MockStateQueryIteratorInterfaceMockRecorder) Next ¶
func (mr *MockStateQueryIteratorInterfaceMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next