xrm-mock
Version:
A fake implementation of the Xrm object model. Used for testing Dynamics 365 client-side scripts.
52 lines • 2.33 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.QuickFormControlMock = void 0;
var control_mock_1 = require("../control/control.mock");
var QuickFormControlMock = /** @class */ (function (_super) {
__extends(QuickFormControlMock, _super);
function QuickFormControlMock() {
return _super !== null && _super.apply(this, arguments) || this;
}
QuickFormControlMock.prototype.getControlType = function () {
return "quickform";
};
QuickFormControlMock.prototype.getControl = function () {
throw new Error("Method not implemented.");
};
QuickFormControlMock.prototype.isLoaded = function () {
throw new Error("Method not implemented.");
};
QuickFormControlMock.prototype.refresh = function () {
throw new Error("Method not implemented.");
};
QuickFormControlMock.prototype.setFocus = function () {
throw new Error("Method not implemented.");
};
QuickFormControlMock.prototype.getDisabled = function () {
throw new Error("Method not implemented.");
};
QuickFormControlMock.prototype.setDisabled = function (disabled) {
throw new Error("Method not implemented.");
};
QuickFormControlMock.prototype.setVisible = function (visible) {
throw new Error("Method not implemented.");
};
return QuickFormControlMock;
}(control_mock_1.ControlMock));
exports.QuickFormControlMock = QuickFormControlMock;
//# sourceMappingURL=quickform.mock.js.map