cloudmersive-virus-api-client
Version:
The_Cloudmersive_Virus_Scan_API_lets_you_scan_files_and_content_for_viruses_and_identify_security_issues_with_content_
152 lines (128 loc) • 6.66 kB
JavaScript
/**
* virusapi
* The Cloudmersive Virus Scan API lets you scan files and content for viruses and identify security issues with content.
*
* OpenAPI spec version: v1
*
* 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.1
*
* 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.CloudmersiveVirusApiClient);
}
}(this, function(expect, CloudmersiveVirusApiClient) {
'use strict';
var instance;
beforeEach(function() {
instance = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
});
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('VirusScanAdvancedResult', function() {
it('should create an instance of VirusScanAdvancedResult', function() {
// uncomment below and update the code to test VirusScanAdvancedResult
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be.a(CloudmersiveVirusApiClient.VirusScanAdvancedResult);
});
it('should have the property cleanResult (base name: "CleanResult")', function() {
// uncomment below and update the code to test the property cleanResult
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsExecutable (base name: "ContainsExecutable")', function() {
// uncomment below and update the code to test the property containsExecutable
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsInvalidFile (base name: "ContainsInvalidFile")', function() {
// uncomment below and update the code to test the property containsInvalidFile
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsScript (base name: "ContainsScript")', function() {
// uncomment below and update the code to test the property containsScript
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsPasswordProtectedFile (base name: "ContainsPasswordProtectedFile")', function() {
// uncomment below and update the code to test the property containsPasswordProtectedFile
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsRestrictedFileFormat (base name: "ContainsRestrictedFileFormat")', function() {
// uncomment below and update the code to test the property containsRestrictedFileFormat
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsMacros (base name: "ContainsMacros")', function() {
// uncomment below and update the code to test the property containsMacros
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsXmlExternalEntities (base name: "ContainsXmlExternalEntities")', function() {
// uncomment below and update the code to test the property containsXmlExternalEntities
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsInsecureDeserialization (base name: "ContainsInsecureDeserialization")', function() {
// uncomment below and update the code to test the property containsInsecureDeserialization
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsHtml (base name: "ContainsHtml")', function() {
// uncomment below and update the code to test the property containsHtml
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsUnsafeArchive (base name: "ContainsUnsafeArchive")', function() {
// uncomment below and update the code to test the property containsUnsafeArchive
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property containsOleEmbeddedObject (base name: "ContainsOleEmbeddedObject")', function() {
// uncomment below and update the code to test the property containsOleEmbeddedObject
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property verifiedFileFormat (base name: "VerifiedFileFormat")', function() {
// uncomment below and update the code to test the property verifiedFileFormat
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property foundViruses (base name: "FoundViruses")', function() {
// uncomment below and update the code to test the property foundViruses
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
it('should have the property contentInformation (base name: "ContentInformation")', function() {
// uncomment below and update the code to test the property contentInformation
//var instane = new CloudmersiveVirusApiClient.VirusScanAdvancedResult();
//expect(instance).to.be();
});
});
}));