SOURCE CODE: Uize.Widgets.Calculator.Entry.VisualTests (view docs)

/*______________
|       ______  |   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.Widgets.Calculator.Entry.VisualTests Class
|   /    / /    |
|  /    / /  /| |    ONLINE : http://www.uize.com
| /____/ /__/_| | COPYRIGHT : (c)2014-2016 UIZE
|          /___ |   LICENSE : Available under MIT License or GNU General Public License
|_______________|             http://www.uize.com/license.html
*/

/* Module Meta Data
  type: Class
  importance: 1
  codeCompleteness: 100
  docCompleteness: 100
*/

/*?
  Introduction
    The =Uize.Widgets.Calculator.Entry.VisualTests= class implements a set of visual tests for the =Uize.Widgets.Calculator.Entry.Widget= class.

    *DEVELOPERS:* `Chris van Rensburg`
*/

Uize.module ({
  name:'Uize.Widgets.Calculator.Entry.VisualTests',
  superclass:'Uize.Widgets.VisualTests.Widget',
  required:[
    'Uize.Widgets.Calculator.Entry.Widget',
    'Uize.Widgets.StateValues'
  ],
  builder:function (_superclass) {
    'use strict';

    return _superclass.subclass ({
      omegastructor:function () {
        this.addStateCombinationTestCases ({
          size:Uize.Widgets.StateValues.size
        });
      },

      staticProperties:{
        widgetClass:Uize.Widgets.Calculator.Entry.Widget
      }
    });
  }
});