Code coverage report for upstream/lib/dialects/connector-manager.js

Statements: 60% (9 / 15)      Branches: 100% (0 / 0)      Functions: 28.57% (2 / 7)      Lines: 60% (9 / 15)     

All files » upstream/lib/dialects/ » connector-manager.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 291 1       1       1 12     1       1       1         1    
module.exports = (function(){
  var ConnectorManager = function(sequelize, config) {
    throw new Error('Define the constructor!')
  }
 
  ConnectorManager.prototype.query = function(sql, callee, options) {
    throw new Error('Define the query method!')
  }
 
  ConnectorManager.prototype.afterTransactionSetup = function(callback) {
    callback()
  }
 
  ConnectorManager.prototype.connect = function() {
    throw new Error('Define the connect method!')
  }
 
  ConnectorManager.prototype.disconnect = function() {
    throw new Error('Define the disconnect method!')
  }
 
  ConnectorManager.prototype.reconnect = function() {
    this.disconnect()
    this.connect()
  }
 
  return ConnectorManager
})()