[otrs-cvs] otrs/scripts/test/Layout ASCII2HTML.t, 1.3, 1.4 Tags.t, 1.3, 1.4

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/scripts/test/Layout
In directory lancelot:/tmp/cvs-serv6928/scripts/test/Layout

Modified Files:
	ASCII2HTML.t Tags.t 
Log Message:
Fixed bug#7237 - Better Shortening Logic in Ascii2Html.

Author: mg

Index: ASCII2HTML.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/Layout/ASCII2HTML.t,v
retrieving revision 1.3
retrieving revision 1.4
diff -2 -u -d -r1.3 -r1.4
--- ASCII2HTML.t	20 Nov 2012 16:10:30 -0000	1.3
+++ ASCII2HTML.t	15 Feb 2013 14:34:44 -0000	1.4
@@ -1,5 +1,5 @@
 # --
 # scripts/test/Layout/ASCII2HTML.t - layout testscript
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -333,5 +333,5 @@
         Name   => 'Ascii2Html() - Max check #1',
         String => 'some Text',
-        Result => 'some [...]',
+        Result => '[...]',
         Max    => 5,
     },
@@ -339,9 +339,9 @@
         Name   => 'Ascii2Html() - Max check #2',
         String => 'some Text',
-        Result => 'some Tex[...]',
+        Result => 'som[...]',
         Max    => 8,
     },
     {
-        Name   => 'Ascii2Html() - Max check #2',
+        Name   => 'Ascii2Html() - Max check #3',
         String => 'some Text',
         Result => 'some Text',
@@ -349,4 +349,10 @@
     },
     {
+        Name   => 'Ascii2Html() - Max check #3',
+        String => 'søme Text',
+        Result => 'søm[...]',
+        Max    => 8,
+    },
+    {
         Name   => 'Ascii2Html()',
         String => '',

Author: mg

Index: Tags.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/Layout/Tags.t,v
retrieving revision 1.3
retrieving revision 1.4
diff -2 -u -d -r1.3 -r1.4
--- Tags.t	20 Nov 2012 16:10:40 -0000	1.3
+++ Tags.t	15 Feb 2013 14:34:44 -0000	1.4
@@ -1,5 +1,5 @@
 # --
 # scripts/test/Layout/Tags.t - layout testscript
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -63,15 +63,10 @@
         Name   => 'QuoteAndCut()',
         String => '$Quote{"some Text","6"}',
-        Result => 'some T[...]',
-    },
-    {
-        Name   => 'QuoteAndCut()',
-        String => '$Quote{"some Text", "6"}',
-        Result => 'some T[...]',
+        Result => 's[...]',
     },
     {
         Name   => 'QuoteAndCut()',
-        String => '$Quote{"some Text",   "6"}',
-        Result => 'some T[...]',
+        String => '$Quote{"some Text", "8"}',
+        Result => 'som[...]',
     },
     {
@@ -87,16 +82,16 @@
     {
         Name   => 'QuoteAndCut()',
-        String => '$QData{"Key4","10"}',
-        Result => 'Value&quot;4&quot;Va[...]',
+        String => '$QData{"Key4","12"}',
+        Result => 'Value&quot;4[...]',
     },
     {
         Name   => 'QuoteAndCut()',
-        String => '$QData{"Key4", "10"}',
-        Result => 'Value&quot;4&quot;Va[...]',
+        String => '$QData{"Key4", "12"}',
+        Result => 'Value&quot;4[...]',
     },
     {
         Name   => 'QuoteAndCut()',
-        String => '$QData{"Key4",   "10"}',
-        Result => 'Value&quot;4&quot;Va[...]',
+        String => '$QData{"Key4",   "12"}',
+        Result => 'Value&quot;4[...]',
     },
     {

---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.