@@ -414,29 +414,6 @@ public function testPostSplit_md()
414414 $ this ->assertTrue ($ resposne !==null );
415415 }
416416
417- /// <summary>
418- /// Test for save workbook as one of the available formats.
419- /// </summary>
420-
421- public function testPostSplit_numbers ()
422- {
423- $ instance = new CellsApi (getenv ("CellsCloudClientId " ),getenv ("CellsCloudClientSecret " ),"v3.0 " ,getenv ("CellsCloudApiBaseUrl " ));
424- $ assemblyTestXlsx = "assemblytest.xlsx " ;
425- $ dataSourceXlsx = "datasource.xlsx " ;
426-
427- $ outFormat = "numbers " ;
428-
429- $ mapFiles = array ();
430- $ mapFiles [$ assemblyTestXlsx ] = CellsApiTestBase::getfullfilename ($ assemblyTestXlsx );
431- $ mapFiles [$ dataSourceXlsx ] = CellsApiTestBase::getfullfilename ($ dataSourceXlsx );
432-
433- $ request = new PostSplitRequest ();
434- $ request ->setFile ( $ mapFiles );
435- $ request ->setOutFormat ( $ outFormat );
436-
437- $ resposne = $ instance ->postSplit ($ request );
438- $ this ->assertTrue ($ resposne !==null );
439- }
440417
441418 /// <summary>
442419 /// Test for save workbook as one of the available formats.
@@ -1083,30 +1060,6 @@ public function testPostAssemble_md()
10831060 $ this ->assertTrue ($ resposne !==null );
10841061 }
10851062
1086- /// <summary>
1087- /// Test for save workbook as one of the available formats.
1088- /// </summary>
1089-
1090- public function testPostAssemble_numbers ()
1091- {
1092- $ instance = new CellsApi (getenv ("CellsCloudClientId " ),getenv ("CellsCloudClientSecret " ),"v3.0 " ,getenv ("CellsCloudApiBaseUrl " ));
1093- $ assemblyTestXlsx = "assemblytest.xlsx " ;
1094- $ dataSourceXlsx = "datasource.xlsx " ;
1095-
1096- $ format = "numbers " ;
1097-
1098- $ mapFiles = array ();
1099- $ mapFiles [$ assemblyTestXlsx ] = CellsApiTestBase::getfullfilename ($ assemblyTestXlsx );
1100- $ mapFiles [$ dataSourceXlsx ] = CellsApiTestBase::getfullfilename ($ dataSourceXlsx );
1101-
1102- $ request = new PostAssembleRequest ();
1103- $ request ->setFile ( $ mapFiles );
1104- $ request ->setDatasource ( "ds " );
1105- $ request ->setOutFormat ( $ format );
1106-
1107- $ resposne = $ instance ->postAssemble ($ request );
1108- $ this ->assertTrue ($ resposne !==null );
1109- }
11101063
11111064 /// <summary>
11121065 /// Test for save workbook as one of the available formats.
@@ -1804,31 +1757,7 @@ public function testPostExport_md_workbook()
18041757 $ this ->assertTrue ($ resposne !==null );
18051758 }
18061759
1807- /// <summary>
1808- /// Test for save workbook as one of the available formats.
1809- /// </summary>
1810-
1811- public function testPostExport_numbers_workbook ()
1812- {
1813- $ instance = new CellsApi (getenv ("CellsCloudClientId " ),getenv ("CellsCloudClientSecret " ),"v3.0 " ,getenv ("CellsCloudApiBaseUrl " ));
1814- $ assemblyTestXlsx = "assemblytest.xlsx " ;
1815- $ book1Xlsx = "Book1.xlsx " ;
1816-
1817- $ format = "numbers " ;
1818- $ objectType = "workbook " ;
18191760
1820- $ mapFiles = array ();
1821- $ mapFiles [$ assemblyTestXlsx ] = CellsApiTestBase::getfullfilename ($ assemblyTestXlsx );
1822- $ mapFiles [$ book1Xlsx ] = CellsApiTestBase::getfullfilename ($ book1Xlsx );
1823-
1824- $ request = new PostExportRequest ();
1825- $ request ->setFile ( $ mapFiles );
1826- $ request ->setObjectType ( $ objectType );
1827- $ request ->setFormat ( $ format );
1828-
1829- $ resposne = $ instance ->postExport ($ request );
1830- $ this ->assertTrue ($ resposne !==null );
1831- }
18321761
18331762 /// <summary>
18341763 /// Test for save workbook as one of the available formats.
@@ -2536,32 +2465,6 @@ public function testPostExport_md_worksheet()
25362465 /// Test for save workbook as one of the available formats.
25372466 /// </summary>
25382467
2539- public function testPostExport_numbers_worksheet ()
2540- {
2541- $ instance = new CellsApi (getenv ("CellsCloudClientId " ),getenv ("CellsCloudClientSecret " ),"v3.0 " ,getenv ("CellsCloudApiBaseUrl " ));
2542- $ assemblyTestXlsx = "assemblytest.xlsx " ;
2543- $ book1Xlsx = "Book1.xlsx " ;
2544-
2545- $ format = "numbers " ;
2546- $ objectType = "worksheet " ;
2547-
2548- $ mapFiles = array ();
2549- $ mapFiles [$ assemblyTestXlsx ] = CellsApiTestBase::getfullfilename ($ assemblyTestXlsx );
2550- $ mapFiles [$ book1Xlsx ] = CellsApiTestBase::getfullfilename ($ book1Xlsx );
2551-
2552- $ request = new PostExportRequest ();
2553- $ request ->setFile ( $ mapFiles );
2554- $ request ->setObjectType ( $ objectType );
2555- $ request ->setFormat ( $ format );
2556-
2557- $ resposne = $ instance ->postExport ($ request );
2558- $ this ->assertTrue ($ resposne !==null );
2559- }
2560-
2561- /// <summary>
2562- /// Test for save workbook as one of the available formats.
2563- /// </summary>
2564-
25652468 public function testPostExport_wmf_worksheet ()
25662469 {
25672470 $ instance = new CellsApi (getenv ("CellsCloudClientId " ),getenv ("CellsCloudClientSecret " ),"v3.0 " ,getenv ("CellsCloudApiBaseUrl " ));
@@ -3572,31 +3475,6 @@ public function testPostExport_md_listobject()
35723475 $ this ->assertTrue ($ resposne !==null );
35733476 }
35743477
3575- /// <summary>
3576- /// Test for save workbook as one of the available formats.
3577- /// </summary>
3578-
3579- public function testPostExport_numbers_listobject ()
3580- {
3581- $ instance = new CellsApi (getenv ("CellsCloudClientId " ),getenv ("CellsCloudClientSecret " ),"v3.0 " ,getenv ("CellsCloudApiBaseUrl " ));
3582- $ assemblyTestXlsx = "assemblytest.xlsx " ;
3583- $ book1Xlsx = "Book1.xlsx " ;
3584-
3585- $ format = "numbers " ;
3586- $ objectType = "listobject " ;
3587-
3588- $ mapFiles = array ();
3589- $ mapFiles [$ assemblyTestXlsx ] = CellsApiTestBase::getfullfilename ($ assemblyTestXlsx );
3590- $ mapFiles [$ book1Xlsx ] = CellsApiTestBase::getfullfilename ($ book1Xlsx );
3591-
3592- $ request = new PostExportRequest ();
3593- $ request ->setFile ( $ mapFiles );
3594- $ request ->setObjectType ( $ objectType );
3595- $ request ->setFormat ( $ format );
3596-
3597- $ resposne = $ instance ->postExport ($ request );
3598- $ this ->assertTrue ($ resposne !==null );
3599- }
36003478
36013479 /// <summary>
36023480 /// Test for save workbook as one of the available formats.
@@ -4478,31 +4356,6 @@ public function testPostMerge_md_true()
44784356 $ this ->assertTrue ($ resposne !==null );
44794357 }
44804358
4481- /// <summary>
4482- /// Test for save workbook as one of the available formats.
4483- /// </summary>
4484-
4485- public function testPostMerge_numbers_true ()
4486- {
4487- $ instance = new CellsApi (getenv ("CellsCloudClientId " ),getenv ("CellsCloudClientSecret " ),"v3.0 " ,getenv ("CellsCloudApiBaseUrl " ));
4488- $ assemblyTestXlsx = "assemblytest.xlsx " ;
4489- $ dataSourceXlsx = "datasource.xlsx " ;
4490-
4491- $ format = "numbers " ;
4492- $ mergeToOneSheet = 'true ' ;
4493-
4494- $ mapFiles = array ();
4495- $ mapFiles [$ assemblyTestXlsx ] = CellsApiTestBase::getfullfilename ($ assemblyTestXlsx );
4496- $ mapFiles [$ dataSourceXlsx ] = CellsApiTestBase::getfullfilename ($ dataSourceXlsx );
4497-
4498- $ request = new PostMergeRequest ();
4499- $ request ->setFile ( $ mapFiles );
4500- $ request ->setOutFormat ( $ format );
4501- $ request ->setMergeToOneSheet ( $ mergeToOneSheet );
4502-
4503- $ resposne = $ instance ->postMerge ($ request );
4504- $ this ->assertTrue ($ resposne !==null );
4505- }
45064359
45074360 /// <summary>
45084361 /// Test for save workbook as one of the available formats.
0 commit comments