Skip to content

Commit 7604a51

Browse files
committed
20221111 update: add new conversion apis.
1 parent 9fbfa2a commit 7604a51

File tree

5 files changed

+670
-9
lines changed

5 files changed

+670
-9
lines changed

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

Lines changed: 1 addition & 1 deletion
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;
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 Freeing2211Tests : 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_PostConvertJson()
40+
{
41+
var fileInfo = instance.PostConvertWorkbookToJson(GetTestDataStream(BOOK1));
42+
Assert.IsInstanceOf<Model.FileInfo>(fileInfo, "response is AccessTokenResponse");
43+
}
44+
[Test]
45+
public void CellsCELLSCLOUD_PostConvertSQL()
46+
{
47+
var fileInfo = instance.PostConvertWorkbookToSQL(GetTestDataStream(BOOK1));
48+
Assert.IsInstanceOf<Model.FileInfo>(fileInfo, "response is AccessTokenResponse");
49+
}
50+
[Test]
51+
public void CellsCELLSCLOUD_PostConvertCSV()
52+
{
53+
var fileInfo = instance.PostConvertWorkbookToCSV(GetTestDataStream(BOOK1));
54+
Assert.IsInstanceOf<Model.FileInfo>(fileInfo, "response is AccessTokenResponse");
55+
}
56+
}
57+
}

0 commit comments

Comments
 (0)