incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r482871 - /incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js
Date Wed, 06 Dec 2006 03:06:10 GMT
Author: jmargaris
Date: Tue Dec  5 19:06:07 2006
New Revision: 482871

URL: http://svn.apache.org/viewvc?view=rev&rev=482871
Log:
Was correctly throwing error on string that was "\" because
\" is an escape sequence

Modified:
    incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js

Modified: incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js?view=diff&rev=482871&r1=482870&r2=482871
==============================================================================
--- incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js (original)
+++ incubator/xap/trunk/testsrc/xap/mco/_TestDeclarativeArgumentParser.js Tue Dec  5 19:06:07
2006
@@ -266,9 +266,9 @@
    
    
    //Escape characters, when properly escaped, should be correctly passed as strings
-   test = eventHandler._handleObjectEvent('mco:simple.getString("\\")', buttonElement); 
+   test = eventHandler._handleObjectEvent('mco:simple.getString("\\\\")', buttonElement);

    assertTrue("escape chars: expected \"\\\" as return value, got back " + test, test ==
"\\");
-   test = eventHandler._handleObjectEvent("mco:simple.getString('\\')", buttonElement); 
+   test = eventHandler._handleObjectEvent("mco:simple.getString('\\\\')", buttonElement);

    assertTrue("escape chars: expected \"\\\" as return value, got back " + test, test ==
"\\");
 
    



Mime
View raw message