aspose_cells_cloud 21.1 → 21.8

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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +102 -28
  4. data/lib/aspose_cells_cloud/api/lite_cells_api.rb +957 -0
  5. data/lib/aspose_cells_cloud/api_client.rb +2 -1
  6. data/lib/aspose_cells_cloud/models/access_token_response.rb +13 -13
  7. data/lib/aspose_cells_cloud/models/cells_document_property.rb +46 -13
  8. data/lib/aspose_cells_cloud/models/chart_operate_parameter.rb +7 -7
  9. data/lib/aspose_cells_cloud/models/conditional_formatting_value.rb +1 -1
  10. data/lib/aspose_cells_cloud/models/custom_filter.rb +1 -1
  11. data/lib/aspose_cells_cloud/models/dynamic_filter.rb +2 -2
  12. data/lib/aspose_cells_cloud/models/file_info.rb +221 -0
  13. data/lib/aspose_cells_cloud/models/files_result.rb +200 -0
  14. data/lib/aspose_cells_cloud/models/import_picture_option.rb +285 -0
  15. data/lib/aspose_cells_cloud/models/pivot_item.rb +1 -1
  16. data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +234 -0
  17. data/lib/aspose_cells_cloud/version.rb +1 -1
  18. data/lib/aspose_cells_cloud.rb +5 -0
  19. data/spec/api/cells_assembly_spec.rb +44 -0
  20. data/spec/api/cells_clear_objects_spec.rb +43 -0
  21. data/spec/api/cells_export_spec.rb +220 -0
  22. data/spec/api/cells_import_spec.rb +43 -0
  23. data/spec/api/cells_merge_spec.rb +43 -0
  24. data/spec/api/cells_metadata_spec.rb +72 -0
  25. data/spec/api/cells_properties_api_spec.rb +1 -1
  26. data/spec/api/cells_protect_spec.rb +43 -0
  27. data/spec/api/cells_search_spec.rb +43 -0
  28. data/spec/api/cells_split_spec.rb +44 -0
  29. data/spec/api/cells_unlock_spec.rb +43 -0
  30. data/spec/api/cells_watermark_spec.rb +42 -0
  31. data/spec/api/cells_workbook_api_spec.rb +26 -0
  32. data/spec/spec_helper.rb +5 -1
  33. metadata +18 -2
@@ -53,7 +53,7 @@ module AsposeCellsCloud
53
53
  :'index' => :'Integer',
54
54
  :'is_hidden' => :'BOOLEAN',
55
55
  :'name' => :'String',
56
- :'value' => :'Object'
56
+ :'value' => :'String'
57
57
  }
58
58
  end
59
59
 
@@ -0,0 +1,234 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ Copyright (c) 2021 Aspose.Cells Cloud
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ SOFTWARE.
19
+ --------------------------------------------------------------------------------------------------------------------
20
+
21
+ =end
22
+
23
+ require 'date'
24
+
25
+ module AsposeCellsCloud
26
+
27
+ class WorksheetOperateParameter
28
+ attr_accessor :operate_type
29
+
30
+ attr_accessor :name
31
+
32
+ attr_accessor :sheet_type
33
+
34
+ attr_accessor :new_name
35
+
36
+ attr_accessor :moving_request
37
+
38
+
39
+ # Attribute mapping from ruby-style variable name to JSON key.
40
+ def self.attribute_map
41
+ {
42
+ :'operate_type' => :'OperateType',
43
+ :'name' => :'Name',
44
+ :'sheet_type' => :'SheetType',
45
+ :'new_name' => :'NewName',
46
+ :'moving_request' => :'MovingRequest'
47
+ }
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.swagger_types
52
+ {
53
+ :'operate_type' => :'String',
54
+ :'name' => :'String',
55
+ :'sheet_type' => :'String',
56
+ :'new_name' => :'String',
57
+ :'moving_request' => :'WorksheetMovingRequest'
58
+ }
59
+ end
60
+
61
+ # Initializes the object
62
+ # @param [Hash] attributes Model attributes in the form of hash
63
+ def initialize(attributes = {})
64
+ return unless attributes.is_a?(Hash)
65
+
66
+ # convert string to symbol for hash key
67
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
68
+
69
+ if attributes.has_key?(:'OperateType')
70
+ self.operate_type = attributes[:'OperateType']
71
+ end
72
+
73
+ if attributes.has_key?(:'Name')
74
+ self.name = attributes[:'Name']
75
+ end
76
+
77
+ if attributes.has_key?(:'SheetType')
78
+ self.sheet_type = attributes[:'SheetType']
79
+ end
80
+
81
+ if attributes.has_key?(:'NewName')
82
+ self.new_name = attributes[:'NewName']
83
+ end
84
+
85
+ if attributes.has_key?(:'MovingRequest')
86
+ self.moving_request = attributes[:'MovingRequest']
87
+ end
88
+
89
+ end
90
+
91
+ # Show invalid properties with the reasons. Usually used together with valid?
92
+ # @return Array for valid properies with the reasons
93
+ def list_invalid_properties
94
+ invalid_properties = Array.new
95
+ return invalid_properties
96
+ end
97
+
98
+ # Check to see if the all the properties in the model are valid
99
+ # @return true if the model is valid
100
+ def valid?
101
+ return true
102
+ end
103
+
104
+ # Checks equality by comparing each attribute.
105
+ # @param [Object] Object to be compared
106
+ def ==(o)
107
+ return true if self.equal?(o)
108
+ self.class == o.class &&
109
+ operate_type == o.operate_type &&
110
+ name == o.name &&
111
+ sheet_type == o.sheet_type &&
112
+ new_name == o.new_name &&
113
+ moving_request == o.moving_request
114
+ end
115
+
116
+ # @see the `==` method
117
+ # @param [Object] Object to be compared
118
+ def eql?(o)
119
+ self == o
120
+ end
121
+
122
+ # Calculates hash code according to all attributes.
123
+ # @return [Fixnum] Hash code
124
+ def hash
125
+ [operate_type, name, sheet_type, new_name, moving_request].hash
126
+ end
127
+
128
+ # Builds the object from hash
129
+ # @param [Hash] attributes Model attributes in the form of hash
130
+ # @return [Object] Returns the model itself
131
+ def build_from_hash(attributes)
132
+ return nil unless attributes.is_a?(Hash)
133
+ self.class.swagger_types.each_pair do |key, type|
134
+ if type =~ /\AArray<(.*)>/i
135
+ # check to ensure the input is an array given that the the attribute
136
+ # is documented as an array but the input is not
137
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
138
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
139
+ end
140
+ elsif !attributes[self.class.attribute_map[key]].nil?
141
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
142
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
143
+ end
144
+
145
+ self
146
+ end
147
+
148
+ # Deserializes the data based on type
149
+ # @param string type Data type
150
+ # @param string value Value to be deserialized
151
+ # @return [Object] Deserialized data
152
+ def _deserialize(type, value)
153
+ case type.to_sym
154
+ when :DateTime
155
+ DateTime.parse(value)
156
+ when :Date
157
+ Date.parse(value)
158
+ when :String
159
+ value.to_s
160
+ when :Integer
161
+ value.to_i
162
+ when :Float
163
+ value.to_f
164
+ when :BOOLEAN
165
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
166
+ true
167
+ else
168
+ false
169
+ end
170
+ when :Object
171
+ # generic object (usually a Hash), return directly
172
+ value
173
+ when /\AArray<(?<inner_type>.+)>\z/
174
+ inner_type = Regexp.last_match[:inner_type]
175
+ value.map { |v| _deserialize(inner_type, v) }
176
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
177
+ k_type = Regexp.last_match[:k_type]
178
+ v_type = Regexp.last_match[:v_type]
179
+ {}.tap do |hash|
180
+ value.each do |k, v|
181
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
182
+ end
183
+ end
184
+ else # model
185
+ temp_model = AsposeCellsCloud.const_get(type).new
186
+ temp_model.build_from_hash(value)
187
+ end
188
+ end
189
+
190
+ # Returns the string representation of the object
191
+ # @return [String] String presentation of the object
192
+ def to_s
193
+ to_hash.to_s
194
+ end
195
+
196
+ # to_body is an alias to to_hash (backward compatibility)
197
+ # @return [Hash] Returns the object in the form of hash
198
+ def to_body
199
+ to_hash
200
+ end
201
+
202
+ # Returns the object in the form of hash
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_hash
205
+ hash = {}
206
+ self.class.attribute_map.each_pair do |attr, param|
207
+ value = self.send(attr)
208
+ next if value.nil?
209
+ hash[param] = _to_hash(value)
210
+ end
211
+ hash
212
+ end
213
+
214
+ # Outputs non-array value in the form of hash
215
+ # For object, use to_hash. Otherwise, just return the value
216
+ # @param [Object] value Any valid value
217
+ # @return [Hash] Returns the value in the form of hash
218
+ def _to_hash(value)
219
+ if value.is_a?(Array)
220
+ value.compact.map{ |v| _to_hash(v) }
221
+ elsif value.is_a?(Hash)
222
+ {}.tap do |hash|
223
+ value.each { |k, v| hash[k] = _to_hash(v) }
224
+ end
225
+ elsif value.respond_to? :to_hash
226
+ value.to_hash
227
+ else
228
+ value
229
+ end
230
+ end
231
+
232
+ end
233
+
234
+ end
@@ -21,5 +21,5 @@ SOFTWARE.
21
21
  =end
22
22
 
23
23
  module AsposeCellsCloud
24
- VERSION = "21.1"
24
+ VERSION = "21.8"
25
25
  end
@@ -55,9 +55,11 @@ require 'aspose_cells_cloud/models/data_sorter'
55
55
  require 'aspose_cells_cloud/models/disc_usage'
56
56
  require 'aspose_cells_cloud/models/dynamic_filter'
57
57
  require 'aspose_cells_cloud/models/error_details'
58
+ require 'aspose_cells_cloud/models/file_info'
58
59
  require 'aspose_cells_cloud/models/file_source'
59
60
  require 'aspose_cells_cloud/models/file_versions'
60
61
  require 'aspose_cells_cloud/models/files_list'
62
+ require 'aspose_cells_cloud/models/files_result'
61
63
  require 'aspose_cells_cloud/models/files_upload_result'
62
64
  require 'aspose_cells_cloud/models/fill_format'
63
65
  require 'aspose_cells_cloud/models/filter_column'
@@ -178,6 +180,7 @@ require 'aspose_cells_cloud/models/import_csv_data_option'
178
180
  require 'aspose_cells_cloud/models/import_data_task_parameter'
179
181
  require 'aspose_cells_cloud/models/import_double_array_option'
180
182
  require 'aspose_cells_cloud/models/import_int_array_option'
183
+ require 'aspose_cells_cloud/models/import_picture_option'
181
184
  require 'aspose_cells_cloud/models/import_string_array_option'
182
185
  require 'aspose_cells_cloud/models/legend_response'
183
186
  require 'aspose_cells_cloud/models/line_format'
@@ -261,6 +264,7 @@ require 'aspose_cells_cloud/models/workbook_replace_response'
261
264
  require 'aspose_cells_cloud/models/workbook_response'
262
265
  require 'aspose_cells_cloud/models/workbook_settings_operate_parameter'
263
266
  require 'aspose_cells_cloud/models/workbook_settings_response'
267
+ require 'aspose_cells_cloud/models/worksheet_operate_parameter'
264
268
  require 'aspose_cells_cloud/models/worksheet_replace_response'
265
269
  require 'aspose_cells_cloud/models/worksheet_response'
266
270
  require 'aspose_cells_cloud/models/worksheets'
@@ -277,6 +281,7 @@ require 'aspose_cells_cloud/models/title'
277
281
 
278
282
  # APIs
279
283
  require 'aspose_cells_cloud/api/cells_api'
284
+ require 'aspose_cells_cloud/api/lite_cells_api'
280
285
 
281
286
  module AsposeCellsCloud
282
287
  class << self
@@ -0,0 +1,44 @@
1
+ =begin
2
+ #Web API Swagger specification
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AsposeCellsCloud::CellsApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'LiteCellsApi' do
20
+ before do
21
+ @instance = AsposeCellsCloud::LiteCellsApi.new($client_id,$client_secret,$api_version,$baseurl)
22
+ $VERBOSE = nil
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'lite_cells_unit assembly test' do
30
+ it "should work" do
31
+ files = {}
32
+
33
+ name = $DataSourceXlsx
34
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
35
+ name =$AssemblyTestXlsx
36
+ files[name] = ::File.open(File.expand_path("data/"+name),"r") #{|io| io.read(io.size) }
37
+
38
+ result = @instance.post_assemble(files ,"ds")
39
+
40
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
+ end
42
+ end
43
+ end
44
+
@@ -0,0 +1,43 @@
1
+ =begin
2
+ #Web API Swagger specification
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AsposeCellsCloud::CellsApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'LiteCellsApi' do
20
+ before do
21
+ @instance = AsposeCellsCloud::LiteCellsApi.new($client_id,$client_secret,$api_version,$baseurl)
22
+ $VERBOSE = nil
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'lite_cells_unit clear object test' do
30
+ it "should work" do
31
+ files = {}
32
+ name = $DataSourceXlsx
33
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
34
+ name =$AssemblyTestXlsx
35
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
36
+
37
+ result = @instance.post_clear_objects(files ,"chart")
38
+
39
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ end
41
+ end
42
+ end
43
+
@@ -0,0 +1,220 @@
1
+ =begin
2
+ #Web API Swagger specification
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AsposeCellsCloud::CellsApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'LiteCellsApi' do
20
+ before do
21
+ @instance = AsposeCellsCloud::LiteCellsApi.new($client_id,$client_secret,$api_version,$baseurl)
22
+ $VERBOSE = nil
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'lite_cells_unit export object test' do
30
+ it "should work" do
31
+ files = {}
32
+ name = $DataSourceXlsx
33
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
34
+ name =$AssemblyTestXlsx
35
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
36
+
37
+ result = @instance.post_export(files ,"chart","pdf")
38
+
39
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ end
41
+ end
42
+ describe 'lite_cells_unit export object test' do
43
+ it "should work" do
44
+ files = {}
45
+ name = $DataSourceXlsx
46
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
47
+ name =$AssemblyTestXlsx
48
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
49
+
50
+ result = @instance.post_export(files ,"chart","tiff")
51
+
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ describe 'lite_cells_unit export object test' do
57
+ it "should work" do
58
+ files = {}
59
+ name = $DataSourceXlsx
60
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
61
+ name =$AssemblyTestXlsx
62
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
63
+
64
+ result = @instance.post_export(files ,"chart","png")
65
+
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'lite_cells_unit export object test' do
71
+ it "should work" do
72
+ files = {}
73
+ name = $DataSourceXlsx
74
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
75
+ name =$AssemblyTestXlsx
76
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
77
+
78
+ result = @instance.post_export(files ,"picture","png")
79
+
80
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
81
+ end
82
+ end
83
+
84
+ describe 'lite_cells_unit export object test' do
85
+ it "should work" do
86
+ files = {}
87
+ name = $DataSourceXlsx
88
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
89
+ name =$AssemblyTestXlsx
90
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
91
+
92
+ result = @instance.post_export(files ,"shape","png")
93
+
94
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
+ end
96
+ end
97
+
98
+ describe 'lite_cells_unit export object test' do
99
+ it "should work" do
100
+ files = {}
101
+ name = $DataSourceXlsx
102
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
103
+ name =$AssemblyTestXlsx
104
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
105
+
106
+ result = @instance.post_export(files ,"sheet","png")
107
+
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ describe 'lite_cells_unit export object test' do
113
+ it "should work" do
114
+ files = {}
115
+ name = $DataSourceXlsx
116
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
117
+ name =$AssemblyTestXlsx
118
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
119
+
120
+ result = @instance.post_export(files ,"sheet","pdf")
121
+
122
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
123
+ end
124
+ end
125
+ describe 'lite_cells_unit export object test' do
126
+ it "should work" do
127
+ files = {}
128
+ name = $DataSourceXlsx
129
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
130
+ name =$AssemblyTestXlsx
131
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
132
+
133
+ result = @instance.post_export(files ,"sheet","ods")
134
+
135
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
136
+ end
137
+ end
138
+ describe 'lite_cells_unit export object test' do
139
+ it "should work" do
140
+ files = {}
141
+ name = $DataSourceXlsx
142
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
143
+ name =$AssemblyTestXlsx
144
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
145
+
146
+ result = @instance.post_export(files ,"workbook","png")
147
+
148
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
149
+ end
150
+ end
151
+ describe 'lite_cells_unit export object test' do
152
+ it "should work" do
153
+ files = {}
154
+ name = $DataSourceXlsx
155
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
156
+ name =$AssemblyTestXlsx
157
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
158
+
159
+ result = @instance.post_export(files ,"workbook","ods")
160
+
161
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
162
+ end
163
+ end
164
+ describe 'lite_cells_unit export object test' do
165
+ it "should work" do
166
+ files = {}
167
+ name = $DataSourceXlsx
168
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
169
+ name =$AssemblyTestXlsx
170
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
171
+
172
+ result = @instance.post_export(files ,"workbook","pdf")
173
+
174
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
175
+ end
176
+ end
177
+
178
+ describe 'lite_cells_unit export object test' do
179
+ it "should work" do
180
+ files = {}
181
+ name = $DataSourceXlsx
182
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
183
+ name =$AssemblyTestXlsx
184
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
185
+
186
+ result = @instance.post_export(files ,"listobject","png")
187
+
188
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
189
+ end
190
+ end
191
+
192
+ describe 'lite_cells_unit export object test' do
193
+ it "should work" do
194
+ files = {}
195
+ name = $DataSourceXlsx
196
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
197
+ name =$AssemblyTestXlsx
198
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
199
+
200
+ result = @instance.post_export(files ,"listobject","pdf")
201
+
202
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
203
+ end
204
+ end
205
+
206
+ describe 'lite_cells_unit export object test' do
207
+ it "should work" do
208
+ files = {}
209
+ name = $DataSourceXlsx
210
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
211
+ name =$AssemblyTestXlsx
212
+ files[name] = ::File.open(File.expand_path("data/"+name),"r")
213
+
214
+ result = @instance.post_export(files ,"listobject","xlsx")
215
+
216
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
217
+ end
218
+ end
219
+ end
220
+