github.com/koko1123/flow-go-1@v0.29.6/module/mock/runtime_metrics.go (about)

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