Skip to content

Commit 597792d

Browse files
committed
Release Aspose.Cells Cloud SDK 25.3
1 parent 6834ed6 commit 597792d

File tree

282 files changed

+2344
-509
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+2344
-509
lines changed

Aspose.Cells.Cloud.SDK.Test/Api/DataProcessingControllerTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1010
// copies of the Software, and to permit persons to whom the Software is
1111
// furnished to do so, subject to the following conditions:
12-
//
12+
//
1313
// The above copyright notice and this permission notice shall be included in all
1414
// copies or substantial portions of the Software.
15-
//
15+
//
1616
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1717
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1818
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -25,7 +25,7 @@
2525

2626
namespace Aspose.Cells.Cloud.SDK.Tests.Api.Api
2727
{
28-
using Microsoft.VisualStudio.TestTools.UnitTesting;
28+
using Microsoft.VisualStudio.TestTools.UnitTesting;
2929
using Aspose.Cells.Cloud.SDK.Model;
3030
using Aspose.Cells.Cloud.SDK.Request;
3131
using System.Collections.Generic;
@@ -161,7 +161,7 @@ public void TestPostDataTransformation()
161161
var dataTransformationRequestLoadDataDataQueryDataSource = new DataSource()
162162
{
163163
DataSourceType = "CloudFileSystem",
164-
DataPath = "BookTableL2W.xlsx"
164+
DataPath = remoteFolder + "/" + remoteName
165165
};
166166
var dataTransformationRequestLoadDataDataQuery = new DataQuery()
167167
{

Aspose.Cells.Cloud.SDK.Test/Api/PivotTablesControllerTests.cs

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -129,30 +129,7 @@ public void TestGetWorksheetPivotTableFilters()
129129
var actual = this.CellsApi.GetWorksheetPivotTableFilters(request);
130130
Assert.AreEqual(200, actual.Code);
131131
}
132-
/*
133-
/// <summary>
134-
/// Test for GetWorksheetPivotTableFilter of PivotTablesController.
135-
/// </summary>
136-
[TestCategory(ProductName)]
137-
[TestMethod]
138-
public void TestGetWorksheetPivotTableFilter()
139-
{
140-
string localName = "TestCase.xlsx";
141-
string remoteName = "TestCase.xlsx";
142-
143-
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
144132

145-
var request = new GetWorksheetPivotTableFilterRequest(
146-
name: remoteName,
147-
sheetName: "Sheet3",
148-
pivotTableIndex: 0,
149-
filterIndex: 0,
150-
folder: remoteFolder,
151-
storageName: ""
152-
);
153-
var actual = this.CellsApi.GetWorksheetPivotTableFilter(request);
154-
Assert.AreEqual(200, actual.Code);
155-
}*/
156133

157134
/// <summary>
158135
/// Test for PutWorksheetPivotTable of PivotTablesController.

Aspose.Cells.Cloud.SDK.Test/Conversion/ConversionJsonTests.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1010
// copies of the Software, and to permit persons to whom the Software is
1111
// furnished to do so, subject to the following conditions:
12-
//
12+
//
1313
// The above copyright notice and this permission notice shall be included in all
1414
// copies or substantial portions of the Software.
15-
//
15+
//
1616
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1717
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1818
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -25,7 +25,7 @@
2525

2626
namespace Aspose.Cells.Cloud.SDK.Tests.Api.Conversion
2727
{
28-
using Microsoft.VisualStudio.TestTools.UnitTesting;
28+
using Microsoft.VisualStudio.TestTools.UnitTesting;
2929
using Aspose.Cells.Cloud.SDK.Model;
3030
using Aspose.Cells.Cloud.SDK.Request;
3131
using System.Collections.Generic;
@@ -53,7 +53,6 @@ public class ConversionJsonTests : CellsTestCommon
5353
[DataRow("xlsb")]
5454
[DataRow("xps")]
5555
[DataRow("md")]
56-
[DataRow("numbers")]
5756
[DataRow("svg")]
5857
[DataRow("docx")]
5958
[DataRow("pptx")]
@@ -66,8 +65,8 @@ public void TestConvertWorkbook(string format)
6665

6766
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
6867

69-
System.Collections.Generic.IDictionary<string, System.IO.Stream> mapFiles =new System.Collections.Generic.Dictionary<string, System.IO.Stream>();
70-
AddFileParameter(localName,mapFiles);
68+
System.Collections.Generic.IDictionary<string, System.IO.Stream> mapFiles =new System.Collections.Generic.Dictionary<string, System.IO.Stream>();
69+
AddFileParameter(localName,mapFiles);
7170
var request = new PutConvertWorkbookRequest(
7271
file: mapFiles,
7372
format: format

Aspose.Cells.Cloud.SDK.Test/Conversion/ConversionTests.cs

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1010
// copies of the Software, and to permit persons to whom the Software is
1111
// furnished to do so, subject to the following conditions:
12-
//
12+
//
1313
// The above copyright notice and this permission notice shall be included in all
1414
// copies or substantial portions of the Software.
15-
//
15+
//
1616
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1717
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1818
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -25,7 +25,7 @@
2525

2626
namespace Aspose.Cells.Cloud.SDK.Tests.Api.Conversion
2727
{
28-
using Microsoft.VisualStudio.TestTools.UnitTesting;
28+
using Microsoft.VisualStudio.TestTools.UnitTesting;
2929
using Aspose.Cells.Cloud.SDK.Model;
3030
using Aspose.Cells.Cloud.SDK.Request;
3131
using System.Collections.Generic;
@@ -54,7 +54,6 @@ public class ConversionTests : CellsTestCommon
5454
[DataRow("xps","OutResult/PostExcelSaveAs.xps")]
5555
[DataRow("png","OutResult/PostExcelSaveAs.png")]
5656
[DataRow("md","OutResult/PostExcelSaveAs.md")]
57-
[DataRow("numbers","OutResult/PostExcelSaveAs.numbers")]
5857
[DataRow("svg","OutResult/PostExcelSaveAs.svg")]
5958
[DataRow("docx","OutResult/PostExcelSaveAs.docx")]
6059
[DataRow("pptx","OutResult/PostExcelSaveAs.pptx")]
@@ -97,7 +96,6 @@ public void TestWorkbookSaveAs(string format,string newfilename)
9796
[DataRow("xps")]
9897
[DataRow("png")]
9998
[DataRow("md")]
100-
[DataRow("numbers")]
10199
[DataRow("svg")]
102100
[DataRow("docx")]
103101
[DataRow("pptx")]
@@ -137,7 +135,6 @@ public void TestGetWorkbookFormat(string format)
137135
[DataRow("xps")]
138136
[DataRow("png")]
139137
[DataRow("md")]
140-
[DataRow("numbers")]
141138
[DataRow("wmf")]
142139
[DataRow("svg")]
143140
[DataRow("docx")]
@@ -151,8 +148,8 @@ public void TestConvertWorkbook(string format)
151148

152149
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
153150

154-
System.Collections.Generic.IDictionary<string, System.IO.Stream> mapFiles =new System.Collections.Generic.Dictionary<string, System.IO.Stream>();
155-
AddFileParameter(localName,mapFiles);
151+
System.Collections.Generic.IDictionary<string, System.IO.Stream> mapFiles =new System.Collections.Generic.Dictionary<string, System.IO.Stream>();
152+
AddFileParameter(localName,mapFiles);
156153
var request = new PutConvertWorkbookRequest(
157154
file: mapFiles,
158155
format: format
@@ -180,7 +177,6 @@ public void TestConvertWorkbook(string format)
180177
[DataRow("xps","OutResult/ConvertWorkbook.xps")]
181178
[DataRow("png","OutResult/ConvertWorkbook.png")]
182179
[DataRow("md","OutResult/ConvertWorkbook.md")]
183-
[DataRow("numbers","OutResult/ConvertWorkbook.numbers")]
184180
[DataRow("svg","OutResult/ConvertWorkbook.svg")]
185181
[DataRow("docx","OutResult/ConvertWorkbook.docx")]
186182
[DataRow("pptx","OutResult/ConvertWorkbook.pptx")]
@@ -193,8 +189,8 @@ public void TestConvertWorkbookSaveCloud(string format,string outPath)
193189

194190
this.UploadFile( localName, remoteFolder + "/" + remoteName, "");
195191

196-
System.Collections.Generic.IDictionary<string, System.IO.Stream> mapFiles =new System.Collections.Generic.Dictionary<string, System.IO.Stream>();
197-
AddFileParameter(localName,mapFiles);
192+
System.Collections.Generic.IDictionary<string, System.IO.Stream> mapFiles =new System.Collections.Generic.Dictionary<string, System.IO.Stream>();
193+
AddFileParameter(localName,mapFiles);
198194
var request = new PutConvertWorkbookRequest(
199195
file: mapFiles,
200196
format: format,

Aspose.Cells.Cloud.SDK.Test/Infrastructure/CellsTestCommon.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ public string GetLocalFilePath(string filename)
112112
int pos = localFolder.IndexOf("bin");
113113
if(pos >0)
114114
{
115-
//localFolder = Path.Combine( localFolder.Substring(0, pos),"./../TestData","CellsCloud");
116-
localFolder = Path.Combine( localFolder.Substring(0, pos),"./../TestData");
115+
localFolder = Path.Combine( localFolder.Substring(0, pos),"./../TestData","CellsCloud");
116+
//localFolder = Path.Combine( localFolder.Substring(0, pos),"./../TestData");
117117
}
118118
}
119119

0 commit comments

Comments
 (0)