@@ -251,7 +251,7 @@ public virtual void DrawOnSpecifiedPositionNegativeX() {
251
251
String name = "eclipse" ;
252
252
int x = - 50 ;
253
253
int y = 0 ;
254
- String destName = name + "_" + x + "_" + y ;
254
+ String destName = String . Format ( System . Globalization . CultureInfo . InvariantCulture , "{0}_{1}_{2}" , name , x , y ) ;
255
255
FileStream fis = new FileStream ( sourceFolder + name + ".svg" , FileMode . Open , FileAccess . Read ) ;
256
256
DrawOnSpecifiedPositionDocument ( fis , destinationFolder + destName + ".pdf" , x , y ) ;
257
257
NUnit . Framework . Assert . IsNull ( new CompareTool ( ) . CompareByContent ( destinationFolder + destName + ".pdf" , sourceFolder
@@ -263,7 +263,7 @@ public virtual void DrawOnSpecifiedPositionNegativeY() {
263
263
String name = "eclipse" ;
264
264
int x = 0 ;
265
265
int y = - 100 ;
266
- String destName = name + "_" + x + "_" + y ;
266
+ String destName = String . Format ( System . Globalization . CultureInfo . InvariantCulture , "{0}_{1}_{2}" , name , x , y ) ;
267
267
FileStream fis = new FileStream ( sourceFolder + name + ".svg" , FileMode . Open , FileAccess . Read ) ;
268
268
DrawOnSpecifiedPositionDocument ( fis , destinationFolder + destName + ".pdf" , x , y ) ;
269
269
NUnit . Framework . Assert . IsNull ( new CompareTool ( ) . CompareByContent ( destinationFolder + destName + ".pdf" , sourceFolder
@@ -275,7 +275,7 @@ public virtual void DrawOnSpecifiedPositionNegativeXY() {
275
275
String name = "eclipse" ;
276
276
int x = - 50 ;
277
277
int y = - 100 ;
278
- String destName = name + "_" + x + "_" + y ;
278
+ String destName = String . Format ( System . Globalization . CultureInfo . InvariantCulture , "{0}_{1}_{2}" , name , x , y ) ;
279
279
FileStream fis = new FileStream ( sourceFolder + name + ".svg" , FileMode . Open , FileAccess . Read ) ;
280
280
DrawOnSpecifiedPositionDocument ( fis , destinationFolder + destName + ".pdf" , x , y ) ;
281
281
NUnit . Framework . Assert . IsNull ( new CompareTool ( ) . CompareByContent ( destinationFolder + destName + ".pdf" , sourceFolder
@@ -287,7 +287,7 @@ public virtual void DrawOnSpecifiedPositionPartialOnPage() {
287
287
String name = "eclipse" ;
288
288
int x = - 50 ;
289
289
int y = - 50 ;
290
- String destName = name + "_" + x + "_" + y ;
290
+ String destName = String . Format ( System . Globalization . CultureInfo . InvariantCulture , "{0}_{1}_{2}" , name , x , y ) ;
291
291
FileStream fis = new FileStream ( sourceFolder + name + ".svg" , FileMode . Open , FileAccess . Read ) ;
292
292
DrawOnSpecifiedPositionDocument ( fis , destinationFolder + destName + ".pdf" , x , y ) ;
293
293
NUnit . Framework . Assert . IsNull ( new CompareTool ( ) . CompareByContent ( destinationFolder + destName + ".pdf" , sourceFolder
0 commit comments