[otrs-cvs] CVS: otrs/scripts/test PDF.t,1.2,1.3

cvs-log at otrs.org cvs-log at otrs.org
Mon Aug 21 22:14:26 CEST 2006


Update of /home/cvs/otrs/scripts/test
In directory lancelot:/tmp/cvs-serv31788/scripts/test

Modified Files:
	PDF.t 
Log Message:
add new tests

Index: PDF.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/PDF.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** PDF.t	8 Aug 2006 12:04:25 -0000	1.2
--- PDF.t	21 Aug 2006 19:14:24 -0000	1.3
***************
*** 265,268 ****
--- 265,278 ----
  $TextCalculateData{13}{PossibleRows}{3} = 'a';
  
+ # test14
+ $TextCalculateData{14}{Text} = 'ISS - International Space Station';
+ $TextCalculateData{14}{Type} = 'ReturnLeftOver';
+ $TextCalculateData{14}{Width} = 1,
+ $TextCalculateData{14}{Height} = 10000,
+ $TextCalculateData{14}{State} = 0;
+ $TextCalculateData{14}{RequiredWidth} = 0;
[...1612 lines suppressed...]
+     my $Return = $Self->{PDFObject}->_TableCellOnCount(
+         CellData => $TableCellOnCount{$Test}{CellData},
+     );
+ 
+     if ($Return eq $TableCellOnCount{$Test}{Return}) {
+         $TestOk = 1;
+     }
+     else {
+         print "\n";
+         print "ERROR _TableCellOnCount$Test Count -->$Return\n";
+         print "\n";
+     }
+ 
+     $Self->True(
+         $TestOk,
+         "_TableCellOnCount$Test()",
+     );
+ }
+ 
  1;



More information about the cvs-log mailing list