UNPKG

alfresco-js-api

Version:

JavaScript client library for the Alfresco REST API

146 lines (123 loc) 6.09 kB
/** * Alfresco Governance Services REST API * **GS Core API** Provides access to the core features of Alfresco Governance Services. * * OpenAPI spec version: 1 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.2.3 * * Do not edit the class manually. * */ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. define(['expect.js', '../../src/index'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. factory(require('expect.js'), require('../../src/index')); } else { // Browser globals (root is window) factory(root.expect, root.AlfrescoGovernanceServicesRestApi); } }(this, function(expect, AlfrescoGovernanceServicesRestApi) { 'use strict'; var instance; beforeEach(function() { instance = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); }); var getProperty = function(object, getter, property) { // Use getter method if present; otherwise, get the property directly. if (typeof object[getter] === 'function') return object[getter](); else return object[property]; } var setProperty = function(object, setter, property, value) { // Use setter method if present; otherwise, set the property directly. if (typeof object[setter] === 'function') object[setter](value); else object[property] = value; } describe('UnfiledRecordFolderChild', function() { it('should create an instance of UnfiledRecordFolderChild', function() { // uncomment below and update the code to test UnfiledRecordFolderChild //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be.a(AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild); }); it('should have the property id (base name: "id")', function() { // uncomment below and update the code to test the property id //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property parentId (base name: "parentId")', function() { // uncomment below and update the code to test the property parentId //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property name (base name: "name")', function() { // uncomment below and update the code to test the property name //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property nodeType (base name: "nodeType")', function() { // uncomment below and update the code to test the property nodeType //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property isUnfiledRecordFolder (base name: "isUnfiledRecordFolder")', function() { // uncomment below and update the code to test the property isUnfiledRecordFolder //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property isRecord (base name: "isRecord")', function() { // uncomment below and update the code to test the property isRecord //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property modifiedAt (base name: "modifiedAt")', function() { // uncomment below and update the code to test the property modifiedAt //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property modifiedByUser (base name: "modifiedByUser")', function() { // uncomment below and update the code to test the property modifiedByUser //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property createdAt (base name: "createdAt")', function() { // uncomment below and update the code to test the property createdAt //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property createdByUser (base name: "createdByUser")', function() { // uncomment below and update the code to test the property createdByUser //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property aspectNames (base name: "aspectNames")', function() { // uncomment below and update the code to test the property aspectNames //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property properties (base name: "properties")', function() { // uncomment below and update the code to test the property properties //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property allowableOperations (base name: "allowableOperations")', function() { // uncomment below and update the code to test the property allowableOperations //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); it('should have the property path (base name: "path")', function() { // uncomment below and update the code to test the property path //var instane = new AlfrescoGovernanceServicesRestApi.UnfiledRecordFolderChild(); //expect(instance).to.be(); }); }); }));