Changeset 1871 for trunk


Ignore:
Timestamp:
2011-02-25 10:12:38 (15 months ago)
Author:
mpo
Message:

some simple extra uri-template sample tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/kauri-jquery/src/test/kauri.util/test-uritemplate.js

    r1855 r1871  
    11module('Template URI Testing'); 
    2  
    32 
    43test("getProperty tests", function() { 
     
    6261    var testset = { 
    6362        "uri without tokens" :"uri without tokens", 
    64         "-{x}-{y.y}-{z.z}-": "-one-2-three-"            
     63        "-{x}-{y.y}-{z.z}-"              : "-one-2-three-", 
     64        "back to {a=default}"            : "back to default", 
     65        "{-opt|yes|x}{-opt|no|a}"        : "yes", 
     66        "{-neg|yes|x}{-neg|no|a}"        : "no", 
     67        "{-prefix|1=|x}{-prefix|none|a}" : "1=one", 
    6568    } 
    6669 
Note: See TracChangeset for help on using the changeset viewer.