Skip to content

Commit 1d1025b

Browse files
committed
Rename Tex methods
1 parent 8122dfd commit 1d1025b

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

sdk/src/test/java/com/aspose/asposecloudpdfandroid/api/ConvertTests.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -658,57 +658,57 @@ public void putPdfInRequestToPptxTest() throws ApiException
658658

659659

660660
/**
661-
* GetPdfInStorageToLaTeX Test
661+
* GetPdfInStorageToTeX Test
662662
* @throws ApiException
663663
* if the Api call fails
664664
*/
665665

666666
@Test
667-
public void getPdfInStorageToLaTeXTest() throws ApiException
667+
public void getPdfInStorageToTeXTest() throws ApiException
668668
{
669669
String name = "4pages.pdf";
670670
th.uploadFile(name);
671671

672672
String folder = th.tempFolder;
673673

674674

675-
File response = th.pdfApi.getPdfInStorageToLaTeX(name, folder, null);
675+
File response = th.pdfApi.getPdfInStorageToTeX(name, folder, null);
676676
assertNotNull(response);
677677
}
678678

679679
/**
680-
* PutPdfInStorageToLaTeX Test
680+
* PutPdfInStorageToTeX Test
681681
* @throws ApiException
682682
* if the Api call fails
683683
*/
684684

685685
@Test
686-
public void putPdfInStorageToLaTeXTest() throws ApiException
686+
public void putPdfInStorageToTeXTest() throws ApiException
687687
{
688688
String name = "4pages.pdf";
689689
th.uploadFile(name);
690690

691691
String folder = th.tempFolder;
692-
String resFileName = "result.latex";
692+
String resFileName = "result.tex";
693693

694-
AsposeResponse response = th.pdfApi.putPdfInStorageToLaTeX(name, th.tempFolder + '/' + resFileName, folder, null);
694+
AsposeResponse response = th.pdfApi.putPdfInStorageToTeX(name, th.tempFolder + '/' + resFileName, folder, null);
695695
assertEquals(200, (int)response.getCode());
696696
}
697697

698698
/**
699-
* PutPdfInRequestToLaTeX Test
699+
* PutPdfInRequestToTeX Test
700700
* @throws ApiException
701701
* if the Api call fails
702702
*/
703703

704704
@Test
705-
public void putPdfInRequestToLaTeXTest() throws ApiException
705+
public void putPdfInRequestToTeXTest() throws ApiException
706706
{
707707
String name = "4pages.pdf";
708708
File file = new File(th.testDataFolder + "/" + name);
709-
String resFileName = "result.latex";
709+
String resFileName = "result.tex";
710710

711-
AsposeResponse response = th.pdfApi.putPdfInRequestToLaTeX(th.tempFolder + '/' + resFileName, null, file);
711+
AsposeResponse response = th.pdfApi.putPdfInRequestToTeX(th.tempFolder + '/' + resFileName, null, file);
712712
assertEquals(200, (int)response.getCode());
713713
}
714714

sdk/src/test/java/com/aspose/asposecloudpdfandroid/api/ConvertToPdfTests.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,33 +116,33 @@ public void putWebInStorageToPdfTest() throws ApiException
116116

117117

118118
/**
119-
* GetLaTeXInStorageToPdf Test
119+
* GetTeXInStorageToPdf Test
120120
* @throws ApiException
121121
* if the Api call fails
122122
*/
123123

124124
@Test
125-
public void getLaTeXInStorageToPdfTest() throws ApiException
125+
public void getTeXInStorageToPdfTest() throws ApiException
126126
{
127127
String name = "sample.tex";
128128
th.uploadFile(name);
129129

130130

131131
String srcPath = th.tempFolder + '/' + name;
132132

133-
File response = th.pdfApi.getLaTeXInStorageToPdf(srcPath, null);
133+
File response = th.pdfApi.getTeXInStorageToPdf(srcPath, null);
134134
assertNotNull(response);
135135
}
136136

137137

138138
/**
139-
* PutLaTeXInStorageToPdf Test
139+
* PutTeXInStorageToPdf Test
140140
* @throws ApiException
141141
* if the Api call fails
142142
*/
143143

144144
@Test
145-
public void putLaTeXInStorageToPdfTest() throws ApiException
145+
public void putTeXInStorageToPdfTest() throws ApiException
146146
{
147147
String name = "sample.tex";
148148
th.uploadFile(name);
@@ -151,7 +151,7 @@ public void putLaTeXInStorageToPdfTest() throws ApiException
151151
String srcPath = th.tempFolder + '/' + name;
152152
String resultName = "fromTex.pdf";
153153

154-
AsposeResponse response = th.pdfApi.putLaTeXInStorageToPdf(resultName, srcPath, th.tempFolder, null);
154+
AsposeResponse response = th.pdfApi.putTeXInStorageToPdf(resultName, srcPath, th.tempFolder, null);
155155
assertEquals(200, (int)response.getCode());
156156
}
157157

0 commit comments

Comments
 (0)