|
251 | 251 | end |
252 | 252 | end |
253 | 253 |
|
254 | | - describe 'post_split_numbers test' do |
255 | | - it "should work" do |
256 | | - assembly_test_xlsx = 'assemblytest.xlsx' |
257 | | - data_source_xlsx = 'datasource.xlsx' |
258 | | - |
259 | | - out_format = "numbers" |
260 | | - |
261 | | - |
262 | | - mapFiles = { } |
263 | | - mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r") |
264 | | - mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r") |
265 | | - request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format); |
266 | | - @instance.post_split(request); |
267 | | - end |
268 | | - end |
269 | 254 |
|
270 | 255 | describe 'post_split_svg test' do |
271 | 256 | it "should work" do |
|
683 | 668 | end |
684 | 669 | end |
685 | 670 |
|
686 | | - describe 'post_assemble_numbers test' do |
687 | | - it "should work" do |
688 | | - assembly_test_xlsx = 'assemblytest.xlsx' |
689 | | - data_source_xlsx = 'datasource.xlsx' |
690 | | - |
691 | | - format = "numbers" |
692 | | - |
693 | | - |
694 | | - mapFiles = { } |
695 | | - mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r") |
696 | | - mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r") |
697 | | - request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:outFormat=>format); |
698 | | - @instance.post_assemble(request); |
699 | | - end |
700 | | - end |
701 | | - |
702 | 671 | describe 'post_assemble_wmf test' do |
703 | 672 | it "should work" do |
704 | 673 | assembly_test_xlsx = 'assemblytest.xlsx' |
|
1152 | 1121 | end |
1153 | 1122 | end |
1154 | 1123 |
|
1155 | | - describe 'post_export_numbers_workbook test' do |
1156 | | - it "should work" do |
1157 | | - assembly_test_xlsx = 'assemblytest.xlsx' |
1158 | | - book1_xlsx = 'Book1.xlsx' |
1159 | | - |
1160 | | - format = "numbers" |
1161 | | - object_type = "workbook" |
1162 | | - |
1163 | | - |
1164 | | - mapFiles = { } |
1165 | | - mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r") |
1166 | | - mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r") |
1167 | | - request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format); |
1168 | | - @instance.post_export(request); |
1169 | | - end |
1170 | | - end |
1171 | 1124 |
|
1172 | 1125 | describe 'post_export_wmf_workbook test' do |
1173 | 1126 | it "should work" do |
|
1628 | 1581 | end |
1629 | 1582 | end |
1630 | 1583 |
|
1631 | | - describe 'post_export_numbers_worksheet test' do |
1632 | | - it "should work" do |
1633 | | - assembly_test_xlsx = 'assemblytest.xlsx' |
1634 | | - book1_xlsx = 'Book1.xlsx' |
1635 | | - |
1636 | | - format = "numbers" |
1637 | | - object_type = "worksheet" |
1638 | | - |
1639 | | - |
1640 | | - mapFiles = { } |
1641 | | - mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r") |
1642 | | - mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r") |
1643 | | - request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format); |
1644 | | - @instance.post_export(request); |
1645 | | - end |
1646 | | - end |
1647 | | - |
1648 | 1584 | describe 'post_export_wmf_worksheet test' do |
1649 | 1585 | it "should work" do |
1650 | 1586 | assembly_test_xlsx = 'assemblytest.xlsx' |
|
2308 | 2244 | end |
2309 | 2245 | end |
2310 | 2246 |
|
2311 | | - describe 'post_export_numbers_listobject test' do |
2312 | | - it "should work" do |
2313 | | - assembly_test_xlsx = 'assemblytest.xlsx' |
2314 | | - book1_xlsx = 'Book1.xlsx' |
2315 | | - |
2316 | | - format = "numbers" |
2317 | | - object_type = "listobject" |
2318 | | - |
2319 | | - |
2320 | | - mapFiles = { } |
2321 | | - mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r") |
2322 | | - mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r") |
2323 | | - request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format); |
2324 | | - @instance.post_export(request); |
2325 | | - end |
2326 | | - end |
2327 | | - |
2328 | 2247 | describe 'post_export_wmf_listobject test' do |
2329 | 2248 | it "should work" do |
2330 | 2249 | assembly_test_xlsx = 'assemblytest.xlsx' |
|
2901 | 2820 | end |
2902 | 2821 | end |
2903 | 2822 |
|
2904 | | - describe 'post_merge_numbers_true test' do |
2905 | | - it "should work" do |
2906 | | - assembly_test_xlsx = 'assemblytest.xlsx' |
2907 | | - data_source_xlsx = 'datasource.xlsx' |
2908 | | - |
2909 | | - format = "numbers" |
2910 | | - merge_to_one_sheet = true |
2911 | | - |
2912 | | - |
2913 | | - mapFiles = { } |
2914 | | - mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r") |
2915 | | - mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r") |
2916 | | - request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet); |
2917 | | - @instance.post_merge(request); |
2918 | | - end |
2919 | | - end |
2920 | | - |
2921 | 2823 | describe 'post_merge_wmf_true test' do |
2922 | 2824 | it "should work" do |
2923 | 2825 | assembly_test_xlsx = 'assemblytest.xlsx' |
|
0 commit comments