cylon/lib/test/test-adaptor.js

14 lines
354 B
JavaScript

"use strict";
var Adaptor = require("../adaptor"),
Utils = require("../utils");
var TestAdaptor = module.exports = function TestAdaptor() {
TestAdaptor.__super__.constructor.apply(this, arguments);
};
Utils.subclass(TestAdaptor, Adaptor);
TestAdaptor.adaptors = ["test"];
TestAdaptor.adaptor = function(opts) { return new TestAdaptor(opts); };