Skip to content

Commit e82bd0b

Browse files
committed
Release Aspose.Cells Cloud SDK 19.10
1 parent b930368 commit e82bd0b

File tree

11 files changed

+579
-98
lines changed

11 files changed

+579
-98
lines changed

Aspose.Cells-Cloud.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
44
<id>Aspose.Cells-Cloud</id>
5-
<version>19.9</version>
5+
<version>19.10</version>
66
<title>Aspose.Cells Cloud SDK for .NET</title>
7-
<authors>Naeem</authors>
7+
<authors>Aspose</authors>
88
<owners>asposecloud</owners>
99
<iconUrl>http://www.aspose.com/Images/aspose_cells_for_cloud_140px.png</iconUrl>
1010
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11-
<description>Aspose.Cells Cloud for .NET is a spreadsheet programming SDK that allows software developers to manipulate and convert spreadsheet files from within their own applications. A Wrapper of RESTfull APIs, Aspose.Cells Cloud for .NET speeds up Microsoft Excel programming and conversion.</description>
11+
<description>Aspose.Cells Cloud SDK for .NET is a spreadsheet programming SDK that allows software developers to manipulate and convert spreadsheet files from within their own applications. A Wrapper of RESTfull APIs, Aspose.Cells Cloud for .NET speeds up Microsoft Excel programming and conversion.</description>
1212
<copyright>Aspose 2002-2019. All Rights Reserved.</copyright>
1313
<tags>Excel Spreadsheet Aspose.Cells XLS XLSX TXT ODS</tags>
1414
<dependencies>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,9 @@ public void CellsPostSetCellHtmlStringTest()
561561
string sheetName = SHEET1;
562562
string cellName = CellName;
563563
string folder = TEMPFOLDER;
564+
string htmlString = "https://api.aspose.cloud/v3.0/cells";
564565
UpdateDataFile(instance,TEMPFOLDER, BOOK1);
565-
var response = instance.CellsPostSetCellHtmlString(name, sheetName, cellName, folder);
566+
var response = instance.CellsPostSetCellHtmlString(name, sheetName, cellName, System.Text.Encoding.Default.GetBytes(htmlString),folder);
566567
Assert.IsInstanceOf<CellResponse>(response, "response is CellResponse");
567568
Assert.AreEqual(response.Status, "OK");
568569
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using NUnit.Framework;
4+
using Aspose.Cells.Cloud.SDK.Api;
5+
using Aspose.Cells.Cloud.SDK.Model;
6+
7+
namespace Aspose.Cells.Cloud.SDK.Test
8+
{
9+
/// <summary>
10+
/// Class for testing CellsApi
11+
/// </summary>
12+
/// <remarks>
13+
/// This file is automatically generated by Swagger Codegen.
14+
/// Please update the test case below to test the API endpoint.
15+
/// </remarks>
16+
[TestFixture]
17+
public class CellsApiV11 : CellsBaseTest
18+
{
19+
private CellsApi instance;
20+
/// <summary>
21+
/// Setup before each unit test
22+
/// </summary>
23+
[SetUp]
24+
public void Init()
25+
{
26+
instance = new CellsApi(clientId, clientSecret,"v1.1");
27+
}
28+
29+
/// <summary>
30+
/// Clean up after each unit test
31+
/// </summary>
32+
[TearDown]
33+
public void Cleanup()
34+
{
35+
36+
}
37+
38+
/// <summary>
39+
/// Test CellsDeleteWorksheetColumns
40+
/// </summary>
41+
[Test]
42+
public void CellsDeleteWorksheetColumnsTestFor11()
43+
{
44+
// TODO uncomment below to test the method and replace null with proper value
45+
string name = BOOK1;
46+
string sheetName = SHEET1;
47+
int? columnIndex = 1;
48+
int? columns = 1;
49+
bool? updateReference = true;
50+
string folder = TEMPFOLDER;
51+
var response = instance.CellsDeleteWorksheetColumns(name, sheetName, columnIndex, columns, updateReference, folder);
52+
Assert.IsInstanceOf<ColumnsResponse>(response, "response is ColumnsResponse");
53+
Assert.AreEqual(response.Code, 200);
54+
}
55+
}
56+
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public void CellsWorkbookPostWorkbookGetSmartMarkerResultTest()
370370
string folder = TEMPFOLDER;
371371
string outPath = null;
372372
UpdateDataFile(instance,folder, name);
373-
UpdateDataFile(instance,"", xmlFile);
373+
//UpdateDataFile(instance,xmlFile);
374374
var response = instance.CellsWorkbookPostWorkbookGetSmartMarkerResult(name, xmlFile, folder, outPath);
375375
Assert.IsInstanceOf<System.IO.Stream>(response, "response is System.IO.Stream");
376376
}
@@ -423,7 +423,7 @@ public void CellsWorkbookPostWorkbooksMergeTest()
423423
string mergeWith = "myDocument.xlsx";
424424
string folder = TEMPFOLDER;
425425
UpdateDataFile(instance,folder, name);
426-
UpdateDataFile(instance,"", mergeWith);
426+
//UpdateDataFile(instance,mergeWith);
427427
var response = instance.CellsWorkbookPostWorkbooksMerge(name, mergeWith, folder);
428428
Assert.IsInstanceOf<WorkbookResponse>(response, "response is WorkbookResponse");
429429
Assert.AreEqual(response.Code, 200);

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,21 @@ public void CellsWorksheetValidationsDeleteWorkSheetValidationTest()
6868
Assert.IsInstanceOf<ValidationResponse>(response, "response is ValidationResponse");
6969
Assert.AreEqual(response.Code, 200);
7070
}
71-
71+
72+
/// <summary>
73+
/// Test CellsWorksheetValidationsDeleteWorkSheetValidations
74+
/// </summary>
75+
[Test]
76+
public void CellsWorksheetValidationsDeleteWorkSheetValidationsTest()
77+
{
78+
// TODO uncomment below to test the method and replace null with proper value
79+
string name = BOOK1;
80+
string sheetName = SHEET1;
81+
string folder = TEMPFOLDER;
82+
UpdateDataFile(instance, folder, name);
83+
var response = instance.CellsWorksheetValidationsDeleteWorksheetValidations(name, sheetName, folder);
84+
Assert.AreEqual(response.Code, 200);
85+
}
7286
/// <summary>
7387
/// Test CellsWorksheetValidationsGetWorkSheetValidation
7488
/// </summary>

0 commit comments

Comments
 (0)