Revision: 2458
          http://vexi.svn.sourceforge.net/vexi/?rev=2458&view=rev
Author:   mkpg2
Date:     2007-10-14 15:45:00 -0700 (Sun, 14 Oct 2007)

Log Message:
-----------
Test. Traps on the prefixes.

Added Paths:
-----------
    trunk/core/org.vexi.core/src_junit/test/core/gut/_theme_prefix.t
    trunk/core/org.vexi.core/src_junit/test/core/gut/theme_prefix.t

Added: trunk/core/org.vexi.core/src_junit/test/core/gut/_theme_prefix.t
===================================================================
--- trunk/core/org.vexi.core/src_junit/test/core/gut/_theme_prefix.t            
                (rev 0)
+++ trunk/core/org.vexi.core/src_junit/test/core/gut/_theme_prefix.t    
2007-10-14 22:45:00 UTC (rev 2458)
@@ -0,0 +1,3 @@
+<vexi xmlns:ui="vexi://ui" xmlns="vexi.theme">
+    <ui:box foo=":.a..name"/>
+</vexi>

Added: trunk/core/org.vexi.core/src_junit/test/core/gut/theme_prefix.t
===================================================================
--- trunk/core/org.vexi.core/src_junit/test/core/gut/theme_prefix.t             
                (rev 0)
+++ trunk/core/org.vexi.core/src_junit/test/core/gut/theme_prefix.t     
2007-10-14 22:45:00 UTC (rev 2458)
@@ -0,0 +1,15 @@
+<vexi xmlns:ui="vexi://ui" xmlns="">
+
+    /** this test tries to check for any wierdness that may go on
+    when theming... such as templates being parsed twice, name 
+    depending on how it is executed first, ... etc. */
+
+       vexi..vexi.theme ++= vexi..themeimpl;
+    
+    var a = ._theme_prefix(vexi.box);
+    
+    .util..assertEquals("themeimpl.a",a.foo);
+    
+    
+    <ui:box />
+</vexi>


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to