DIR : /home/kozerus/public_html/pn/uize/site-source/js/Uize/Test/Uize/Template.js
/home/kozerus/public_html/pn/uize/site-source/js/Uize/Test/Uize
/*______________
| ______ | U I Z E J A V A S C R I P T F R A M E W O R K
| / / | ---------------------------------------------------
| / O / | MODULE : Uize.Test.Uize.Template Class
| / / / |
| / / / /| | ONLINE : http://www.uize.com
| /____/ /__/_| | COPYRIGHT : (c)2010-2016 UIZE
| /___ | LICENSE : Available under MIT License or GNU General Public License
|_______________| http://www.uize.com/license.html
*/
/* Module Meta Data
type: Test
importance: 5
codeCompleteness: 0
docCompleteness: 100
*/
/*?
Introduction
The =Uize.Test.Uize.Template= module defines a suite of unit tests for the =Uize.Template= module.
*DEVELOPERS:* `Chris van Rensburg`
*/
Uize.module ({
name:'Uize.Test.Uize.Template',
builder:function () {
'use strict';
return Uize.Test.resolve ({
title:'Test for Uize.Template Module',
test:[
Uize.Test.requiredModulesTest ('Uize.Template'),
Uize.Test.staticMethodsTest ([
['Uize.Template.encode',[
]],
['Uize.Template.decode',[
]],
['Uize.Template.defineStandardEncoding',[
]],
['Uize.Template.compile',[
{
title:'When the variadic form of the @required directive is used, the required list is populated correctly',
test:function () {
return this.expect (
['foo','bar'],
Uize.Template.compile ('<%@ required ("foo","bar") %>',{result:'full'}).required
);
}
}
]]
])
]
});
}
});
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer