github.com/koko1123/flow-go-1@v0.29.6/fvm/environment/mock/metrics_reporter.go (about)

     1  // Code generated by mockery v2.13.1. DO NOT EDIT.
     2  
     3  package mock
     4  
     5  import (
     6  	time "time"
     7  
     8  	mock "github.com/stretchr/testify/mock"
     9  )
    10  
    11  // MetricsReporter is an autogenerated mock type for the MetricsReporter type
    12  type MetricsReporter struct {
    13  	mock.Mock
    14  }
    15  
    16  // RuntimeSetNumberOfAccounts provides a mock function with given fields: count
    17  func (_m *MetricsReporter) RuntimeSetNumberOfAccounts(count uint64) {
    18  	_m.Called(count)
    19  }
    20  
    21  // RuntimeTransactionChecked provides a mock function with given fields: _a0
    22  func (_m *MetricsReporter) RuntimeTransactionChecked(_a0 time.Duration) {
    23  	_m.Called(_a0)
    24  }
    25  
    26  // RuntimeTransactionInterpreted provides a mock function with given fields: _a0
    27  func (_m *MetricsReporter) RuntimeTransactionInterpreted(_a0 time.Duration) {
    28  	_m.Called(_a0)
    29  }
    30  
    31  // RuntimeTransactionParsed provides a mock function with given fields: _a0
    32  func (_m *MetricsReporter) RuntimeTransactionParsed(_a0 time.Duration) {
    33  	_m.Called(_a0)
    34  }
    35  
    36  type mockConstructorTestingTNewMetricsReporter interface {
    37  	mock.TestingT
    38  	Cleanup(func())
    39  }
    40  
    41  // NewMetricsReporter creates a new instance of MetricsReporter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
    42  func NewMetricsReporter(t mockConstructorTestingTNewMetricsReporter) *MetricsReporter {
    43  	mock := &MetricsReporter{}
    44  	mock.Mock.Test(t)
    45  
    46  	t.Cleanup(func() { mock.AssertExpectations(t) })
    47  
    48  	return mock
    49  }