fabric: github.com/hyperledger/fabric/core/aclmgmt/mocks Index | Files

package mocks

import "github.com/hyperledger/fabric/core/aclmgmt/mocks"

Index

Package Files

mocks.go

type MockACLProvider Uses

type MockACLProvider struct {
    // contains filtered or unexported fields
}

func (*MockACLProvider) AssertExpectations Uses

func (m *MockACLProvider) AssertExpectations(t *testing.T)

AssertExpectations overrider the mock method for convenience

func (*MockACLProvider) CheckACL Uses

func (m *MockACLProvider) CheckACL(resName string, channelID string, idinfo interface{}) error

func (*MockACLProvider) GenerateSimulationResults Uses

func (m *MockACLProvider) GenerateSimulationResults(txEnvelop *common.Envelope, simulator ledger.TxSimulator, initializingLedger bool) error

func (*MockACLProvider) On Uses

func (m *MockACLProvider) On(methodName string, arguments ...interface{}) *mock.Call

On overrider the mock method for convenience

func (*MockACLProvider) Reset Uses

func (m *MockACLProvider) Reset()

clear the mock so we can start afresh

Package mocks imports 4 packages (graph). Updated 2018-03-20. Refresh now. Tools for package owners.