@@ -54,6 +54,37 @@ public void CellsCELLSCLOUD10927Test()
54
54
fileStream . Close ( ) ;
55
55
}
56
56
}
57
+ [ Test ]
58
+ public void CELLSCLOUD17020Test ( )
59
+ {
60
+ // TODO uncomment below to test the method and replace null with proper value
61
+ instance . CellsWorkbookPutWorkbookCreate ( "CELLSCLOUD17020Test.xlsx" , null , null , null , "Custom" ) ;
62
+ instance . CellsPostWorksheetCellSetValue ( "CELLSCLOUD17020Test.xlsx" , "Sheet1" , "A1" , "10" , "int" , null , "Custom" ) ;
63
+ instance . CellsPostWorksheetCellSetValue ( "CELLSCLOUD17020Test.xlsx" , "Sheet1" , "B1" , "10" , "int" , null , "Custom" ) ;
64
+ instance . CellsPostWorksheetCellSetValue ( "CELLSCLOUD17020Test.xlsx" , "Sheet1" , "C1" , "10" , "int" , null , "Custom" ) ;
65
+ instance . CellsPostWorksheetCellSetValue ( "CELLSCLOUD17020Test.xlsx" , "Sheet1" , "D1" , "10" , "int" , null , "Custom" ) ;
66
+ instance . CellsPostWorksheetCellSetValue ( "CELLSCLOUD17020Test.xlsx" , "Sheet1" , "A2" , null , null , "=Sum(A1,B1,C1,D1)" , "Custom" ) ;
67
+ instance . CellsWorksheetsPostRenameWorksheet ( "CELLSCLOUD17020Test.xlsx" , "Sheet1" , "Start" , "Custom" ) ;
68
+ instance . CellsWorksheetsPutAddNewWorksheet ( "CELLSCLOUD17020Test.xlsx" , "Other data" , null , null , "Custom" ) ;
69
+ Comment comment = new Comment ( ) ;
70
+ comment . Note = "TEST" ;
71
+ instance . CellsWorksheetsPutWorksheetComment ( "CELLSCLOUD17020Test.xlsx" , "Start" , "A1" , comment , "Custom" ) ;
72
+ comment . Link = new Link ( ) ;
73
+ comment . Link . Href = "CELLSCLOUD17020Test.xlsx/worksheets/Start/comments/A2/" ;
74
+ comment . Link . Rel = "self" ;
75
+ comment . AutoSize = true ;
76
+ comment . Author = "Wo_0NDeR" ;
77
+ comment . IsVisible = true ;
78
+ comment . TextOrientationType = "NoRotation" ;
79
+ comment . TextHorizontalAlignment = "Left" ;
80
+ comment . Height = 10 ;
81
+ comment . Width = 10 ;
82
+ comment . TextVerticalAlignment = "Top" ;
83
+ comment . HtmlNote = "This is a note from Wo_0NDeR" ;
84
+ comment . Note = "This is a note from Wo_0NDeR" ;
85
+ comment . CellName = "A2" ;
86
+ instance . CellsWorksheetsPostWorksheetComment ( "CELLSCLOUD17020Test.xlsx" , "Start" , "A1" , comment , "Custom" ) ;
87
+ }
57
88
}
58
89
59
90
}
0 commit comments