mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +09:00
codeception 추가
- unit test 이전
This commit is contained in:
parent
6d093aed91
commit
dd667fd578
32 changed files with 5462 additions and 0 deletions
8
tests/unit/classes/validator/condition.en.js
Normal file
8
tests/unit/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