/** * Low-Code Engine API * API documentation for the Low-Code Engine platform that provides query execution, database management, and project administration capabilities. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. define(['expect.js', process.cwd()+'/src/index'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. factory(require('expect.js'), require(process.cwd()+'/src/index')); } else { // Browser globals (root is window) factory(root.expect, root.LowCodeEngineApi); } }(this, function(expect, LowCodeEngineApi) { 'use strict'; var instance; beforeEach(function() { instance = new LowCodeEngineApi.DatabaseManagementApi(); }); 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('DatabaseManagementApi', function() { describe('databaseColumnsDatabaseIdTableNameGet', function() { it('should call databaseColumnsDatabaseIdTableNameGet successfully', function(done) { //uncomment below and update the code to test databaseColumnsDatabaseIdTableNameGet //instance.databaseColumnsDatabaseIdTableNameGet(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('databaseCreatePost', function() { it('should call databaseCreatePost successfully', function(done) { //uncomment below and update the code to test databaseCreatePost //instance.databaseCreatePost(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('databaseMigrationCreatePost', function() { it('should call databaseMigrationCreatePost successfully', function(done) { //uncomment below and update the code to test databaseMigrationCreatePost //instance.databaseMigrationCreatePost(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('databaseMigrationDownDatabaseIdGet', function() { it('should call databaseMigrationDownDatabaseIdGet successfully', function(done) { //uncomment below and update the code to test databaseMigrationDownDatabaseIdGet //instance.databaseMigrationDownDatabaseIdGet(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('databaseMigrationUpDatabaseIdGet', function() { it('should call databaseMigrationUpDatabaseIdGet successfully', function(done) { //uncomment below and update the code to test databaseMigrationUpDatabaseIdGet //instance.databaseMigrationUpDatabaseIdGet(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('databaseNodeCreatePost', function() { it('should call databaseNodeCreatePost successfully', function(done) { //uncomment below and update the code to test databaseNodeCreatePost //instance.databaseNodeCreatePost(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('databaseQueryDatabaseIdPost', function() { it('should call databaseQueryDatabaseIdPost successfully', function(done) { //uncomment below and update the code to test databaseQueryDatabaseIdPost //instance.databaseQueryDatabaseIdPost(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('databaseTablesDatabaseIdGet', function() { it('should call databaseTablesDatabaseIdGet successfully', function(done) { //uncomment below and update the code to test databaseTablesDatabaseIdGet //instance.databaseTablesDatabaseIdGet(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); }); }));