Skip to content

Commit 9fbfa2a

Browse files
committed
Release Aspose.Cells Cloud SDK 22.10
1 parent 17ace64 commit 9fbfa2a

File tree

6 files changed

+672
-15
lines changed

6 files changed

+672
-15
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public void CellsWorkbookPostDigitalSignatureTest()
4444
string dsfile = "roywang.pfx";
4545
string password = "123456";
4646
string folder = TEMPFOLDER;
47+
UpdateDataFile(instance, dsfile);
4748
UpdateDataFile(instance, folder, name);
4849
var response = instance.CellsWorkbookPostDigitalSignature(name, dsfile, password, folder);
4950
Assert.IsInstanceOf<CellsCloudResponse>(response, "response is CellsCloudResponse");

Aspose.Cells.Cloud.SDK.Test/Freeing/Freeing2209Tests.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Aspose.Cells.Cloud.SDK.Test
1111
/// Please update the test case below to test the API endpoint.
1212
/// </remarks>
1313
[TestFixture]
14-
public class Freeing2209Tests : CellsBaseTest
14+
public class Freeing2210Tests : CellsBaseTest
1515
{
1616
private CellsApi instance;
1717
private LightCellsApi lightInstance;
@@ -36,21 +36,21 @@ public void Cleanup()
3636

3737

3838
[Test]
39-
public void CellsCELLSCLOUD_PostConvertPNG()
39+
public void CellsCELLSCLOUD_PostConvertPptx()
4040
{
41-
var fileInfo = instance.PostConvertWorkbookToPNG(GetTestDataStream(BOOK1));
41+
var fileInfo = instance.PostConvertWorkbookToPptx(GetTestDataStream(BOOK1));
4242
Assert.IsInstanceOf<Model.FileInfo>(fileInfo, "response is AccessTokenResponse");
4343
}
4444
[Test]
45-
public void CellsCELLSCLOUD_PostConvertPDF()
45+
public void CellsCELLSCLOUD_PostConvertHtml()
4646
{
47-
var fileInfo = instance.PostConvertWorkbookToPDF(GetTestDataStream(BOOK1));
47+
var fileInfo = instance.PostConvertWorkbookToHtml(GetTestDataStream(BOOK1));
4848
Assert.IsInstanceOf<Model.FileInfo>(fileInfo, "response is AccessTokenResponse");
4949
}
5050
[Test]
51-
public void CellsCELLSCLOUD_PostConvertDocx()
51+
public void CellsCELLSCLOUD_PostConvertMarkdown()
5252
{
53-
var fileInfo = instance.PostConvertWorkbookToDocx(GetTestDataStream(BOOK1));
53+
var fileInfo = instance.PostConvertWorkbookToMarkdown(GetTestDataStream(BOOK1));
5454
Assert.IsInstanceOf<Model.FileInfo>(fileInfo, "response is AccessTokenResponse");
5555
}
5656
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
namespace Aspose.Cells.Cloud.SDK.Test
2+
{
3+
using NUnit.Framework;
4+
using Aspose.Cells.Cloud.SDK.Api;
5+
6+
/// <summary>
7+
/// Class for testing CellsWorkbookApi
8+
/// </summary>
9+
/// <remarks>
10+
/// This file is automatically generated by Swagger Codegen.
11+
/// Please update the test case below to test the API endpoint.
12+
/// </remarks>
13+
[TestFixture]
14+
public class Freeing2209Tests : CellsBaseTest
15+
{
16+
private CellsApi instance;
17+
private LightCellsApi lightInstance;
18+
/// <summary>
19+
/// Setup before each unit test
20+
/// </summary>
21+
[SetUp]
22+
public void Init()
23+
{
24+
instance = new CellsApi(clientId, clientSecret, apiVersion, testbaseurl);
25+
}
26+
27+
/// <summary>
28+
/// Clean up after each unit test
29+
/// </summary>
30+
[TearDown]
31+
public void Cleanup()
32+
{
33+
34+
}
35+
36+
37+
38+
[Test]
39+
public void CellsCELLSCLOUD_PostConvertPNG()
40+
{
41+
var fileInfo = instance.PostConvertWorkbookToPNG(GetTestDataStream(BOOK1));
42+
Assert.IsInstanceOf<Model.FileInfo>(fileInfo, "response is AccessTokenResponse");
43+
}
44+
[Test]
45+
public void CellsCELLSCLOUD_PostConvertPDF()
46+
{
47+
var fileInfo = instance.PostConvertWorkbookToPDF(GetTestDataStream(BOOK1));
48+
Assert.IsInstanceOf<Model.FileInfo>(fileInfo, "response is AccessTokenResponse");
49+
}
50+
[Test]
51+
public void CellsCELLSCLOUD_PostConvertDocx()
52+
{
53+
var fileInfo = instance.PostConvertWorkbookToDocx(GetTestDataStream(BOOK1));
54+
Assert.IsInstanceOf<Model.FileInfo>(fileInfo, "response is AccessTokenResponse");
55+
}
56+
}
57+
}

0 commit comments

Comments
 (0)