github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/module/mock/compliance_metrics.go (about)

     1  // Code generated by mockery v2.21.4. DO NOT EDIT.
     2  
     3  package mock
     4  
     5  import (
     6  	flow "github.com/onflow/flow-go/model/flow"
     7  	mock "github.com/stretchr/testify/mock"
     8  )
     9  
    10  // ComplianceMetrics is an autogenerated mock type for the ComplianceMetrics type
    11  type ComplianceMetrics struct {
    12  	mock.Mock
    13  }
    14  
    15  // BlockFinalized provides a mock function with given fields: _a0
    16  func (_m *ComplianceMetrics) BlockFinalized(_a0 *flow.Block) {
    17  	_m.Called(_a0)
    18  }
    19  
    20  // BlockSealed provides a mock function with given fields: _a0
    21  func (_m *ComplianceMetrics) BlockSealed(_a0 *flow.Block) {
    22  	_m.Called(_a0)
    23  }
    24  
    25  // CurrentDKGPhase1FinalView provides a mock function with given fields: view
    26  func (_m *ComplianceMetrics) CurrentDKGPhase1FinalView(view uint64) {
    27  	_m.Called(view)
    28  }
    29  
    30  // CurrentDKGPhase2FinalView provides a mock function with given fields: view
    31  func (_m *ComplianceMetrics) CurrentDKGPhase2FinalView(view uint64) {
    32  	_m.Called(view)
    33  }
    34  
    35  // CurrentDKGPhase3FinalView provides a mock function with given fields: view
    36  func (_m *ComplianceMetrics) CurrentDKGPhase3FinalView(view uint64) {
    37  	_m.Called(view)
    38  }
    39  
    40  // CurrentEpochCounter provides a mock function with given fields: counter
    41  func (_m *ComplianceMetrics) CurrentEpochCounter(counter uint64) {
    42  	_m.Called(counter)
    43  }
    44  
    45  // CurrentEpochFinalView provides a mock function with given fields: view
    46  func (_m *ComplianceMetrics) CurrentEpochFinalView(view uint64) {
    47  	_m.Called(view)
    48  }
    49  
    50  // CurrentEpochPhase provides a mock function with given fields: phase
    51  func (_m *ComplianceMetrics) CurrentEpochPhase(phase flow.EpochPhase) {
    52  	_m.Called(phase)
    53  }
    54  
    55  // EpochEmergencyFallbackTriggered provides a mock function with given fields:
    56  func (_m *ComplianceMetrics) EpochEmergencyFallbackTriggered() {
    57  	_m.Called()
    58  }
    59  
    60  // EpochTransitionHeight provides a mock function with given fields: height
    61  func (_m *ComplianceMetrics) EpochTransitionHeight(height uint64) {
    62  	_m.Called(height)
    63  }
    64  
    65  // FinalizedHeight provides a mock function with given fields: height
    66  func (_m *ComplianceMetrics) FinalizedHeight(height uint64) {
    67  	_m.Called(height)
    68  }
    69  
    70  // SealedHeight provides a mock function with given fields: height
    71  func (_m *ComplianceMetrics) SealedHeight(height uint64) {
    72  	_m.Called(height)
    73  }
    74  
    75  type mockConstructorTestingTNewComplianceMetrics interface {
    76  	mock.TestingT
    77  	Cleanup(func())
    78  }
    79  
    80  // NewComplianceMetrics creates a new instance of ComplianceMetrics. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
    81  func NewComplianceMetrics(t mockConstructorTestingTNewComplianceMetrics) *ComplianceMetrics {
    82  	mock := &ComplianceMetrics{}
    83  	mock.Mock.Test(t)
    84  
    85  	t.Cleanup(func() { mock.AssertExpectations(t) })
    86  
    87  	return mock
    88  }