From 73418efc10c4ece6b4cfdb225bf2d8ee856c179f Mon Sep 17 00:00:00 2001 From: alaskowski <alaskowski@ethz.ch> Date: Wed, 15 Nov 2023 11:50:01 +0100 Subject: [PATCH] BIS-713: fixed js tests --- .../dss/dto/imaging/ImagingDataSetConfig.js | 91 ------------------- .../dss/dto/imaging/ImagingDataSetControl.js | 87 ------------------ .../dss/dto/imaging/ImagingDataSetExport.js | 58 ------------ .../v3/dss/dto/imaging/ImagingDataSetImage.js | 37 -------- .../dss/dto/imaging/ImagingDataSetPreview.js | 58 ------------ 5 files changed, 331 deletions(-) delete mode 100644 api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetConfig.js delete mode 100644 api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetControl.js delete mode 100644 api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetExport.js delete mode 100644 api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetImage.js delete mode 100644 api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetPreview.js diff --git a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetConfig.js b/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetConfig.js deleted file mode 100644 index c44fe0fac0f..00000000000 --- a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetConfig.js +++ /dev/null @@ -1,91 +0,0 @@ -define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { - var ImagingDataSetConfig = function() { - }; - stjs.extend(ImagingDataSetConfig, null, [], function(constructor, prototype) { - prototype['@type'] = 'dss.dto.imaging.ImagingDataSetConfig'; - constructor.serialVersionUID = 1; - prototype.adaptor = null; - prototype.version = null; - prototype.speeds = null; - prototype.resolutions = null; - prototype.playable = null; - prototype.exports = null; - prototype.inputs = null; - prototype.metaData = null; - - prototype.getAdaptor = function() { - return this.adaptor; - }; - prototype.setAdaptor = function(adaptor) { - this.adaptor = adaptor; - }; - prototype.getVersion = function() { - return this.version; - }; - prototype.setVersion = function(version) { - this.version = version; - }; - prototype.getSpeeds = function() { - return this.speeds; - }; - prototype.setSpeeds = function(speeds) { - this.speeds = speeds; - }; - prototype.getResolutions = function() { - return this.resolutions; - }; - prototype.setResolutions = function(resolutions) { - this.resolutions = resolutions; - }; - prototype.getPlayable = function() { - return this.playable; - }; - prototype.setPlayable = function(playable) { - this.playable = playable; - }; - prototype.getExports = function() { - return this.exports; - }; - prototype.setExports = function(exports) { - this.exports = exports; - }; - prototype.getInputs = function() { - return this.inputs; - }; - prototype.setInputs = function(inputs) { - this.inputs = inputs; - }; - prototype.getMetaData = function() { - return this.metaData; - }; - prototype.setMetaData = function(metaData) { - this.metaData = metaData; - }; - prototype.toString = function() { - return "ImagingDataSetConfig: " + this.adaptor; - }; - - }, { - resolutions : { - name : "List", - arguments : [ "String"] - }, - speeds : { - name : "List", - arguments : [ "Integer"] - }, - exports : { - name : "List", - arguments : [ "ImagingDataSetControl"] - }, - inputs : { - name : "List", - arguments : [ "ImagingDataSetControl"] - }, - metaData : { - name : "Map", - arguments : [ "String", "String" ] - } - }); - return ImagingDataSetConfig; -}) \ No newline at end of file diff --git a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetControl.js b/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetControl.js deleted file mode 100644 index c482422dcc2..00000000000 --- a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetControl.js +++ /dev/null @@ -1,87 +0,0 @@ -define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { - var ImagingDataSetControl = function() { - }; - stjs.extend(ImagingDataSetControl, null, [], function(constructor, prototype) { - prototype['@type'] = 'dss.dto.imaging.ImagingDataSetControl'; - constructor.serialVersionUID = 1; - prototype.label = null; - prototype.type = null; - prototype.values = null; - prototype.range = null; - prototype.multiselect = null; - prototype.playable = null; - prototype.speeds = null; - prototype.metaData = null; - - prototype.getLabel = function() { - return this.label; - }; - prototype.setLabel = function(label) { - this.label = label; - }; - prototype.getType = function() { - return this.type; - }; - prototype.setType = function(type) { - this.type = type; - }; - prototype.getValues = function() { - return this.values; - }; - prototype.setValues = function(values) { - this.values = values; - }; - prototype.getRange = function() { - return this.range; - }; - prototype.setRange = function(range) { - this.range = range; - }; - prototype.getMultiselect = function() { - return this.multiselect; - }; - prototype.setMultiselect = function(multiselect) { - this.multiselect = multiselect; - }; - prototype.getPlayable = function() { - return this.playable; - }; - prototype.setPlayable = function(playable) { - this.playable = playable; - }; - prototype.getSpeeds = function() { - return this.speeds; - }; - prototype.setSpeeds = function(speeds) { - this.speeds = speeds; - }; - prototype.getMetaData = function() { - return this.metaData; - }; - prototype.setMetaData = function(metaData) { - this.metaData = metaData; - }; - prototype.toString = function() { - return "ImagingDataSetControl: " + this.label; - }; - - }, { - values : { - name : "List", - arguments : [ "String"] - }, - range : { - name : "List", - arguments : [ "Integer"] - }, - speeds : { - name : "List", - arguments : [ "Integer"] - }, - metaData : { - name : "Map", - arguments : [ "String", "String" ] - } - }); - return ImagingDataSetControl; -}) \ No newline at end of file diff --git a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetExport.js b/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetExport.js deleted file mode 100644 index a478e50fcc6..00000000000 --- a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetExport.js +++ /dev/null @@ -1,58 +0,0 @@ -define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { - var ImagingDataSetExport = function() { - }; - stjs.extend(ImagingDataSetExport, null, [], function(constructor, prototype) { - prototype['@type'] = 'dss.dto.imaging.ImagingDataSetExport'; - constructor.serialVersionUID = 1; - prototype.config = null; - prototype.format = null; - prototype.bytes = null; - prototype.show = null; - prototype.metaData = null; - - prototype.getConfig = function() { - return this.config; - }; - prototype.setConfig = function(config) { - this.config = config; - }; - prototype.getFormat = function() { - return this.format; - }; - prototype.setFormat = function(format) { - this.format = format; - }; - prototype.getBytes = function() { - return this.bytes; - }; - prototype.setBytes = function(bytes) { - this.bytes = bytes; - }; - prototype.isShow = function() { - return this.show; - }; - prototype.setShow = function(show) { - this.show = show; - }; - prototype.getMetaData = function() { - return this.metaData; - }; - prototype.setMetaData = function(metaData) { - this.metaData = metaData; - }; - prototype.toString = function() { - return "ImagingDataSetExport: " + this.config; - }; - - }, { - config : { - name : "Map", - arguments : [ "String", "Serializable" ] - }, - metaData : { - name : "Map", - arguments : [ "String", "String" ] - } - }); - return ImagingDataSetExport; -}) \ No newline at end of file diff --git a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetImage.js b/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetImage.js deleted file mode 100644 index cabcef4beca..00000000000 --- a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetImage.js +++ /dev/null @@ -1,37 +0,0 @@ -define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { - var ImagingDataSetImage = function() { - }; - stjs.extend(ImagingDataSetImage, null, [], function(constructor, prototype) { - prototype['@type'] = 'dss.dto.imaging.ImagingDataSetImage'; - constructor.serialVersionUID = 1; - prototype.previews = null; - prototype.metaData = null; - - prototype.getPreviews = function() { - return this.previews; - }; - prototype.setPreviews = function(previews) { - this.previews = previews; - }; - prototype.getMetaData = function() { - return this.metaData; - }; - prototype.setMetaData = function(metaData) { - this.metaData = metaData; - }; - prototype.toString = function() { - return "ImagingDataSetImage: " + this.previews; - }; - - }, { - previews : { - name : "List", - arguments : [ "ImagingDataSetPreview"] - }, - metaData : { - name : "Map", - arguments : [ "String", "String" ] - } - }); - return ImagingDataSetImage; -}) \ No newline at end of file diff --git a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetPreview.js b/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetPreview.js deleted file mode 100644 index f119f0c2e32..00000000000 --- a/api-openbis-javascript/src/v3/dss/dto/imaging/ImagingDataSetPreview.js +++ /dev/null @@ -1,58 +0,0 @@ -define([ "stjs", "util/Exceptions" ], function(stjs, exceptions) { - var ImagingDataSetPreview = function() { - }; - stjs.extend(ImagingDataSetPreview, null, [], function(constructor, prototype) { - prototype['@type'] = 'dss.dto.imaging.ImagingDataSetPreview'; - constructor.serialVersionUID = 1; - prototype.config = null; - prototype.format = null; - prototype.bytes = null; - prototype.show = null; - prototype.metaData = null; - - prototype.getConfig = function() { - return this.config; - }; - prototype.setConfig = function(config) { - this.config = config; - }; - prototype.getFormat = function() { - return this.format; - }; - prototype.setFormat = function(format) { - this.format = format; - }; - prototype.getBytes = function() { - return this.bytes; - }; - prototype.setBytes = function(bytes) { - this.bytes = bytes; - }; - prototype.isShow = function() { - return this.show; - }; - prototype.setShow = function(show) { - this.show = show; - }; - prototype.getMetaData = function() { - return this.metaData; - }; - prototype.setMetaData = function(metaData) { - this.metaData = metaData; - }; - prototype.toString = function() { - return "ImagingDataSetPreview: " + this.config; - }; - - }, { - config : { - name : "Map", - arguments : [ "String", "Serializable" ] - }, - metaData : { - name : "Map", - arguments : [ "String", "String" ] - } - }); - return ImagingDataSetPreview; -}) \ No newline at end of file -- GitLab