aspose_cells_cloud 23.10 → 23.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -187,28 +187,6 @@ describe 'CellsApi' do
187
187
  end
188
188
  end
189
189
 
190
- describe 'convert_workbook_tif test' do
191
- it "should work" do
192
- remote_folder = 'TestData/In'
193
-
194
- local_name = 'codegen-spec.json'
195
- remote_name = 'codegen-spec.json'
196
-
197
- format = "tif"
198
-
199
-
200
- mapFiles = { }
201
- mapFiles = { }
202
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
203
-
204
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
205
- @instance.upload_file(uploadrequest)
206
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
207
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
208
- @instance.put_convert_workbook(request);
209
- end
210
- end
211
-
212
190
  describe 'convert_workbook_xlsb test' do
213
191
  it "should work" do
214
192
  remote_folder = 'TestData/In'
@@ -231,28 +209,6 @@ describe 'CellsApi' do
231
209
  end
232
210
  end
233
211
 
234
- describe 'convert_workbook_xlsm test' do
235
- it "should work" do
236
- remote_folder = 'TestData/In'
237
-
238
- local_name = 'codegen-spec.json'
239
- remote_name = 'codegen-spec.json'
240
-
241
- format = "xlsm"
242
-
243
-
244
- mapFiles = { }
245
- mapFiles = { }
246
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
247
-
248
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
249
- @instance.upload_file(uploadrequest)
250
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
251
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
252
- @instance.put_convert_workbook(request);
253
- end
254
- end
255
-
256
212
  describe 'convert_workbook_xlsx test' do
257
213
  it "should work" do
258
214
  remote_folder = 'TestData/In'
@@ -275,50 +231,6 @@ describe 'CellsApi' do
275
231
  end
276
232
  end
277
233
 
278
- describe 'convert_workbook_xltm test' do
279
- it "should work" do
280
- remote_folder = 'TestData/In'
281
-
282
- local_name = 'codegen-spec.json'
283
- remote_name = 'codegen-spec.json'
284
-
285
- format = "xltm"
286
-
287
-
288
- mapFiles = { }
289
- mapFiles = { }
290
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
291
-
292
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
293
- @instance.upload_file(uploadrequest)
294
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
295
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
296
- @instance.put_convert_workbook(request);
297
- end
298
- end
299
-
300
- describe 'convert_workbook_xltx test' do
301
- it "should work" do
302
- remote_folder = 'TestData/In'
303
-
304
- local_name = 'codegen-spec.json'
305
- remote_name = 'codegen-spec.json'
306
-
307
- format = "xltx"
308
-
309
-
310
- mapFiles = { }
311
- mapFiles = { }
312
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
313
-
314
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
315
- @instance.upload_file(uploadrequest)
316
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
317
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
318
- @instance.put_convert_workbook(request);
319
- end
320
- end
321
-
322
234
  describe 'convert_workbook_xps test' do
323
235
  it "should work" do
324
236
  remote_folder = 'TestData/In'
@@ -363,94 +275,6 @@ describe 'CellsApi' do
363
275
  end
364
276
  end
365
277
 
366
- describe 'convert_workbook_jpg test' do
367
- it "should work" do
368
- remote_folder = 'TestData/In'
369
-
370
- local_name = 'codegen-spec.json'
371
- remote_name = 'codegen-spec.json'
372
-
373
- format = "jpg"
374
-
375
-
376
- mapFiles = { }
377
- mapFiles = { }
378
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
379
-
380
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
381
- @instance.upload_file(uploadrequest)
382
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
383
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
384
- @instance.put_convert_workbook(request);
385
- end
386
- end
387
-
388
- describe 'convert_workbook_gif test' do
389
- it "should work" do
390
- remote_folder = 'TestData/In'
391
-
392
- local_name = 'codegen-spec.json'
393
- remote_name = 'codegen-spec.json'
394
-
395
- format = "gif"
396
-
397
-
398
- mapFiles = { }
399
- mapFiles = { }
400
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
401
-
402
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
403
- @instance.upload_file(uploadrequest)
404
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
405
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
406
- @instance.put_convert_workbook(request);
407
- end
408
- end
409
-
410
- describe 'convert_workbook_emf test' do
411
- it "should work" do
412
- remote_folder = 'TestData/In'
413
-
414
- local_name = 'codegen-spec.json'
415
- remote_name = 'codegen-spec.json'
416
-
417
- format = "emf"
418
-
419
-
420
- mapFiles = { }
421
- mapFiles = { }
422
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
423
-
424
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
425
- @instance.upload_file(uploadrequest)
426
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
427
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
428
- @instance.put_convert_workbook(request);
429
- end
430
- end
431
-
432
- describe 'convert_workbook_bmp test' do
433
- it "should work" do
434
- remote_folder = 'TestData/In'
435
-
436
- local_name = 'codegen-spec.json'
437
- remote_name = 'codegen-spec.json'
438
-
439
- format = "bmp"
440
-
441
-
442
- mapFiles = { }
443
- mapFiles = { }
444
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
445
-
446
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
447
- @instance.upload_file(uploadrequest)
448
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
449
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
450
- @instance.put_convert_workbook(request);
451
- end
452
- end
453
-
454
278
  describe 'convert_workbook_md test' do
455
279
  it "should work" do
456
280
  remote_folder = 'TestData/In'
@@ -495,28 +319,6 @@ describe 'CellsApi' do
495
319
  end
496
320
  end
497
321
 
498
- describe 'convert_workbook_wmf test' do
499
- it "should work" do
500
- remote_folder = 'TestData/In'
501
-
502
- local_name = 'codegen-spec.json'
503
- remote_name = 'codegen-spec.json'
504
-
505
- format = "wmf"
506
-
507
-
508
- mapFiles = { }
509
- mapFiles = { }
510
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
511
-
512
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
513
- @instance.upload_file(uploadrequest)
514
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
515
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
516
- @instance.put_convert_workbook(request);
517
- end
518
- end
519
-
520
322
  describe 'convert_workbook_svg test' do
521
323
  it "should work" do
522
324
  remote_folder = 'TestData/In'
@@ -11,50 +11,6 @@ describe 'CellsApi' do
11
11
  # run after each test
12
12
  end
13
13
 
14
- describe 'convert_workbook_csv test' do
15
- it "should work" do
16
- remote_folder = 'TestData/In'
17
-
18
- local_name = 'cloud.png'
19
- remote_name = 'cloud.png'
20
-
21
- format = "csv"
22
-
23
-
24
- mapFiles = { }
25
- mapFiles = { }
26
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
27
-
28
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
29
- @instance.upload_file(uploadrequest)
30
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
31
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
32
- @instance.put_convert_workbook(request);
33
- end
34
- end
35
-
36
- describe 'convert_workbook_xls test' do
37
- it "should work" do
38
- remote_folder = 'TestData/In'
39
-
40
- local_name = 'cloud.png'
41
- remote_name = 'cloud.png'
42
-
43
- format = "xls"
44
-
45
-
46
- mapFiles = { }
47
- mapFiles = { }
48
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
49
-
50
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
51
- @instance.upload_file(uploadrequest)
52
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
53
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
54
- @instance.put_convert_workbook(request);
55
- end
56
- end
57
-
58
14
  describe 'convert_workbook_html test' do
59
15
  it "should work" do
60
16
  remote_folder = 'TestData/In'
@@ -165,28 +121,6 @@ describe 'CellsApi' do
165
121
  end
166
122
  end
167
123
 
168
- describe 'convert_workbook_txt test' do
169
- it "should work" do
170
- remote_folder = 'TestData/In'
171
-
172
- local_name = 'cloud.png'
173
- remote_name = 'cloud.png'
174
-
175
- format = "txt"
176
-
177
-
178
- mapFiles = { }
179
- mapFiles = { }
180
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
181
-
182
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
183
- @instance.upload_file(uploadrequest)
184
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
185
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
186
- @instance.put_convert_workbook(request);
187
- end
188
- end
189
-
190
124
  describe 'convert_workbook_tif test' do
191
125
  it "should work" do
192
126
  remote_folder = 'TestData/In'
@@ -231,94 +165,6 @@ describe 'CellsApi' do
231
165
  end
232
166
  end
233
167
 
234
- describe 'convert_workbook_xlsm test' do
235
- it "should work" do
236
- remote_folder = 'TestData/In'
237
-
238
- local_name = 'cloud.png'
239
- remote_name = 'cloud.png'
240
-
241
- format = "xlsm"
242
-
243
-
244
- mapFiles = { }
245
- mapFiles = { }
246
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
247
-
248
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
249
- @instance.upload_file(uploadrequest)
250
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
251
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
252
- @instance.put_convert_workbook(request);
253
- end
254
- end
255
-
256
- describe 'convert_workbook_xlsx test' do
257
- it "should work" do
258
- remote_folder = 'TestData/In'
259
-
260
- local_name = 'cloud.png'
261
- remote_name = 'cloud.png'
262
-
263
- format = "xlsx"
264
-
265
-
266
- mapFiles = { }
267
- mapFiles = { }
268
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
269
-
270
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
271
- @instance.upload_file(uploadrequest)
272
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
273
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
274
- @instance.put_convert_workbook(request);
275
- end
276
- end
277
-
278
- describe 'convert_workbook_xltm test' do
279
- it "should work" do
280
- remote_folder = 'TestData/In'
281
-
282
- local_name = 'cloud.png'
283
- remote_name = 'cloud.png'
284
-
285
- format = "xltm"
286
-
287
-
288
- mapFiles = { }
289
- mapFiles = { }
290
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
291
-
292
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
293
- @instance.upload_file(uploadrequest)
294
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
295
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
296
- @instance.put_convert_workbook(request);
297
- end
298
- end
299
-
300
- describe 'convert_workbook_xltx test' do
301
- it "should work" do
302
- remote_folder = 'TestData/In'
303
-
304
- local_name = 'cloud.png'
305
- remote_name = 'cloud.png'
306
-
307
- format = "xltx"
308
-
309
-
310
- mapFiles = { }
311
- mapFiles = { }
312
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
313
-
314
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
315
- @instance.upload_file(uploadrequest)
316
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
317
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
318
- @instance.put_convert_workbook(request);
319
- end
320
- end
321
-
322
168
  describe 'convert_workbook_xps test' do
323
169
  it "should work" do
324
170
  remote_folder = 'TestData/In'
@@ -341,28 +187,6 @@ describe 'CellsApi' do
341
187
  end
342
188
  end
343
189
 
344
- describe 'convert_workbook_png test' do
345
- it "should work" do
346
- remote_folder = 'TestData/In'
347
-
348
- local_name = 'cloud.png'
349
- remote_name = 'cloud.png'
350
-
351
- format = "png"
352
-
353
-
354
- mapFiles = { }
355
- mapFiles = { }
356
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
357
-
358
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
359
- @instance.upload_file(uploadrequest)
360
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
361
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
362
- @instance.put_convert_workbook(request);
363
- end
364
- end
365
-
366
190
  describe 'convert_workbook_jpg test' do
367
191
  it "should work" do
368
192
  remote_folder = 'TestData/In'
@@ -385,72 +209,6 @@ describe 'CellsApi' do
385
209
  end
386
210
  end
387
211
 
388
- describe 'convert_workbook_gif test' do
389
- it "should work" do
390
- remote_folder = 'TestData/In'
391
-
392
- local_name = 'cloud.png'
393
- remote_name = 'cloud.png'
394
-
395
- format = "gif"
396
-
397
-
398
- mapFiles = { }
399
- mapFiles = { }
400
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
401
-
402
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
403
- @instance.upload_file(uploadrequest)
404
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
405
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
406
- @instance.put_convert_workbook(request);
407
- end
408
- end
409
-
410
- describe 'convert_workbook_emf test' do
411
- it "should work" do
412
- remote_folder = 'TestData/In'
413
-
414
- local_name = 'cloud.png'
415
- remote_name = 'cloud.png'
416
-
417
- format = "emf"
418
-
419
-
420
- mapFiles = { }
421
- mapFiles = { }
422
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
423
-
424
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
425
- @instance.upload_file(uploadrequest)
426
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
427
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
428
- @instance.put_convert_workbook(request);
429
- end
430
- end
431
-
432
- describe 'convert_workbook_bmp test' do
433
- it "should work" do
434
- remote_folder = 'TestData/In'
435
-
436
- local_name = 'cloud.png'
437
- remote_name = 'cloud.png'
438
-
439
- format = "bmp"
440
-
441
-
442
- mapFiles = { }
443
- mapFiles = { }
444
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
445
-
446
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
447
- @instance.upload_file(uploadrequest)
448
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
449
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
450
- @instance.put_convert_workbook(request);
451
- end
452
- end
453
-
454
212
  describe 'convert_workbook_md test' do
455
213
  it "should work" do
456
214
  remote_folder = 'TestData/In'
@@ -495,28 +253,6 @@ describe 'CellsApi' do
495
253
  end
496
254
  end
497
255
 
498
- describe 'convert_workbook_wmf test' do
499
- it "should work" do
500
- remote_folder = 'TestData/In'
501
-
502
- local_name = 'cloud.png'
503
- remote_name = 'cloud.png'
504
-
505
- format = "wmf"
506
-
507
-
508
- mapFiles = { }
509
- mapFiles = { }
510
- mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
511
-
512
- uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
513
- @instance.upload_file(uploadrequest)
514
- mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
515
- request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
516
- @instance.put_convert_workbook(request);
517
- end
518
- end
519
-
520
256
  describe 'convert_workbook_svg test' do
521
257
  it "should work" do
522
258
  remote_folder = 'TestData/In'