DIR : /home/kozerus/public_html/pn/uize/site-source/js/Uize/Test/Uize/Str/Replace.js
/home/kozerus/public_html/pn/uize/site-source/js/Uize/Test/Uize/Str
/*______________
| ______ | 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.Str.Replace Class
| / / / |
| / / / /| | ONLINE : http://www.uize.com
| /____/ /__/_| | COPYRIGHT : (c)2013-2016 UIZE
| /___ | LICENSE : Available under MIT License or GNU General Public License
|_______________| http://www.uize.com/license.html
*/
/* Module Meta Data
type: Test
importance: 1
codeCompleteness: 20
docCompleteness: 100
*/
/*?
Introduction
The =Uize.Test.Uize.Str.Replace= module defines a suite of unit tests for the =Uize.Str.Replace= module.
*DEVELOPERS:* `Chris van Rensburg`
*/
Uize.module ({
name:'Uize.Test.Uize.Str.Replace',
builder:function () {
'use strict';
return Uize.Test.resolve ({
title:'Test for Uize.Str.Replace Module',
test:[
Uize.Test.requiredModulesTest ('Uize.Str.Replace'),
Uize.Test.staticMethodsTest ([
['Uize.Str.Replace.replaceByLookup',[
['',
[
'hello, the dog jumped over the foo. bar bar cat sheep, hello any wool. yes dog, yes dog, three bags there.',
{foo:'bar',hello:'there',dog:'cat'}
],
'there, the cat jumped over the bar. bar bar cat sheep, there any wool. yes cat, yes cat, three bags there.'
],
['',
[
'<script type="text/javascript">&</script>',
{
'<':'<',
'>':'>',
'"':'"',
'&':'&'
}
],
'<script type="text/javascript">&amp;</script>'
],
['',
[
'<script type="text/javascript">cat & dog</script>',
{
'<':'<',
'>':'>',
'"':'"',
'&':'&',
cat:'feline',
dog:'canine'
}
],
'<script type="text/javascript">feline &amp; canine</script>'
]
]],
['Uize.Str.Replace.replacerByLookup',[
]]
])
]
});
}
});
//
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