github.com/rohankumardubey/aresdb@v0.0.2-0.20190517170215-e54e3ca06b9c/metastore/mocks/TableSchemaValidator.go (about)

     1  // Code generated by mockery v1.0.0
     2  package mocks
     3  
     4  import common "github.com/uber/aresdb/metastore/common"
     5  
     6  import mock "github.com/stretchr/testify/mock"
     7  
     8  // TableSchemaValidator is an autogenerated mock type for the TableSchemaValidator type
     9  type TableSchemaValidator struct {
    10  	mock.Mock
    11  }
    12  
    13  // SetNewTable provides a mock function with given fields: table
    14  func (_m *TableSchemaValidator) SetNewTable(table common.Table) {
    15  	_m.Called(table)
    16  }
    17  
    18  // SetOldTable provides a mock function with given fields: table
    19  func (_m *TableSchemaValidator) SetOldTable(table common.Table) {
    20  	_m.Called(table)
    21  }
    22  
    23  // Validate provides a mock function with given fields:
    24  func (_m *TableSchemaValidator) Validate() error {
    25  	ret := _m.Called()
    26  
    27  	var r0 error
    28  	if rf, ok := ret.Get(0).(func() error); ok {
    29  		r0 = rf()
    30  	} else {
    31  		r0 = ret.Error(0)
    32  	}
    33  
    34  	return r0
    35  }