mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 14:19:58 +09:00
Update test cases
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9862 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5ae6ca1829
commit
9b5d4c7bac
4 changed files with 135 additions and 11 deletions
8
tests/classes/validator/condition.en.js
Normal file
8
tests/classes/validator/condition.en.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(function($,v){
|
||||
v=xe.getApp('validator')[0];if(!v)return;
|
||||
|
||||
v.cast('ADD_FILTER',['condition', {'greeting1':{required:true},'greeting2':{'if':[{test:'$greeting1 == \'Hello\'', attr:'required', value:'true'}]}}]);
|
||||
v.cast('ADD_MESSAGE',['isnull','isnull']);
|
||||
v.cast('ADD_MESSAGE',['outofrange','outofrange']);
|
||||
v.cast('ADD_MESSAGE',['equalto','equalto']);
|
||||
})(jQuery);
|
||||
Loading…
Add table
Add a link
Reference in a new issue