22 lines
477 B
JavaScript
22 lines
477 B
JavaScript
"use strict";
|
|
|
|
var Driver = require("../driver"),
|
|
Utils = require("../utils");
|
|
|
|
var TestDriver = module.exports = function TestDriver() {
|
|
TestDriver.__super__.constructor.apply(this, arguments);
|
|
};
|
|
|
|
Utils.subclass(TestDriver, Driver);
|
|
|
|
TestDriver.prototype.start = function(callback) {
|
|
callback();
|
|
};
|
|
|
|
TestDriver.prototype.halt = function(callback) {
|
|
callback();
|
|
};
|
|
|
|
TestDriver.drivers = ["test"];
|
|
TestDriver.driver = function(opts) { return new TestDriver(opts); };
|