diff --git a/lib/test/test-adaptor.js b/lib/test/test-adaptor.js index a70bf00..cf53c8c 100644 --- a/lib/test/test-adaptor.js +++ b/lib/test/test-adaptor.js @@ -9,5 +9,14 @@ var TestAdaptor = module.exports = function TestAdaptor() { Utils.subclass(TestAdaptor, Adaptor); + +TestAdaptor.prototype.connect = function(callback) { + callback(); +}; + +TestAdaptor.prototype.disconnect = function(callback) { + callback(); +}; + TestAdaptor.adaptors = ["test"]; TestAdaptor.adaptor = function(opts) { return new TestAdaptor(opts); }; diff --git a/lib/test/test-driver.js b/lib/test/test-driver.js index 248e512..b166930 100644 --- a/lib/test/test-driver.js +++ b/lib/test/test-driver.js @@ -9,5 +9,13 @@ var TestDriver = module.exports = function TestDriver() { 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); };