From 8ddb084fe6189c04f634d3f21854913ebf2031dc Mon Sep 17 00:00:00 2001 From: wing328 Date: Sun, 8 Oct 2017 17:16:48 +0800 Subject: [PATCH] remove unused JS files --- .../api/Fake_classname_tags123Api.spec.js | 66 ------------------- .../api/Fake_classname_tags123Api.spec.js | 66 ------------------- .../api/Fake_classname_tags123Api.spec.js | 63 ------------------ .../api/Fake_classname_tags123Api.spec.js | 63 ------------------ 4 files changed, 258 deletions(-) delete mode 100644 samples/client/petstore/javascript-es6/test/api/Fake_classname_tags123Api.spec.js delete mode 100644 samples/client/petstore/javascript-promise-es6/test/api/Fake_classname_tags123Api.spec.js delete mode 100644 samples/client/petstore/javascript-promise/test/api/Fake_classname_tags123Api.spec.js delete mode 100644 samples/client/petstore/javascript/test/api/Fake_classname_tags123Api.spec.js diff --git a/samples/client/petstore/javascript-es6/test/api/Fake_classname_tags123Api.spec.js b/samples/client/petstore/javascript-es6/test/api/Fake_classname_tags123Api.spec.js deleted file mode 100644 index 0b42ab7a57c9..000000000000 --- a/samples/client/petstore/javascript-es6/test/api/Fake_classname_tags123Api.spec.js +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Swagger Petstore - * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ - * - * OpenAPI spec version: 1.0.0 - * Contact: apiteam@swagger.io - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - * 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.SwaggerPetstore); - } -}(this, function(expect, SwaggerPetstore) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SwaggerPetstore.Fake_classname_tags123Api(); - }); - - 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('Fake_classname_tags123Api', function() { - describe('testClassname', function() { - it('should call testClassname successfully', function(done) { - //uncomment below and update the code to test testClassname - //instance.testClassname(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/samples/client/petstore/javascript-promise-es6/test/api/Fake_classname_tags123Api.spec.js b/samples/client/petstore/javascript-promise-es6/test/api/Fake_classname_tags123Api.spec.js deleted file mode 100644 index 0b42ab7a57c9..000000000000 --- a/samples/client/petstore/javascript-promise-es6/test/api/Fake_classname_tags123Api.spec.js +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Swagger Petstore - * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ - * - * OpenAPI spec version: 1.0.0 - * Contact: apiteam@swagger.io - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.3.0-SNAPSHOT - * - * 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.SwaggerPetstore); - } -}(this, function(expect, SwaggerPetstore) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SwaggerPetstore.Fake_classname_tags123Api(); - }); - - 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('Fake_classname_tags123Api', function() { - describe('testClassname', function() { - it('should call testClassname successfully', function(done) { - //uncomment below and update the code to test testClassname - //instance.testClassname(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/samples/client/petstore/javascript-promise/test/api/Fake_classname_tags123Api.spec.js b/samples/client/petstore/javascript-promise/test/api/Fake_classname_tags123Api.spec.js deleted file mode 100644 index 5bd4bc9d6166..000000000000 --- a/samples/client/petstore/javascript-promise/test/api/Fake_classname_tags123Api.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * Swagger Petstore - * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ - * - * OpenAPI spec version: 1.0.0 - * Contact: apiteam@swagger.io - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * 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.SwaggerPetstore); - } -}(this, function(expect, SwaggerPetstore) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SwaggerPetstore.Fake_classname_tags123Api(); - }); - - 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('Fake_classname_tags123Api', function() { - describe('testClassname', function() { - it('should call testClassname successfully', function(done) { - //uncomment below and update the code to test testClassname - //instance.testClassname(pet, function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/samples/client/petstore/javascript/test/api/Fake_classname_tags123Api.spec.js b/samples/client/petstore/javascript/test/api/Fake_classname_tags123Api.spec.js deleted file mode 100644 index 5bd4bc9d6166..000000000000 --- a/samples/client/petstore/javascript/test/api/Fake_classname_tags123Api.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * Swagger Petstore - * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ - * - * OpenAPI spec version: 1.0.0 - * Contact: apiteam@swagger.io - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * 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.SwaggerPetstore); - } -}(this, function(expect, SwaggerPetstore) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SwaggerPetstore.Fake_classname_tags123Api(); - }); - - 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('Fake_classname_tags123Api', function() { - describe('testClassname', function() { - it('should call testClassname successfully', function(done) { - //uncomment below and update the code to test testClassname - //instance.testClassname(pet, function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -}));