DIR : /home/kozerus/public_html/pn/uize/site-source/js/Uize/Test/Uize/Templates/Calculator.js

/home/kozerus/public_html/pn/uize/site-source/js/Uize/Test/Uize/Templates

/*______________
|       ______  |   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.Templates.Calculator 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: 1
	codeCompleteness: 100
	docCompleteness: 100
*/

/*?
	Introduction
		The =Uize.Test.Uize.Templates.Calculator= module defines basic unit tests for the =Uize.Templates.Calculator= JavaScript template module.

		*DEVELOPERS:* `Chris van Rensburg`
*/

Uize.module ({
	name:'Uize.Test.Uize.Templates.Calculator',
	builder:function () {
		'use strict';

		return Uize.Test.resolve ({
			title:'Test for Uize.Templates.Calculator JavaScript Template',
			test:[
				Uize.Test.requiredModulesTest ('Uize.Templates.Calculator'),
				{
					title:'Calling the process static method produces a non-empty string',
					test:function () {
						return this.expectNonEmptyString (Uize.Templates.Calculator.process ({idPrefix:'page_widget'}));
					}
				}
			]
		});
	}
});

//


koh5_pano



Your browser does not support the HTML5 canvas element.


Drag mouse to navigate.

Navigation





17.Aug.2010, Martin Wengenmayer