myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1797071 [1/2] - in /myfaces/tobago/trunk/tobago-example: tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/ tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/ tobago-example-demo/src/main/...
Date Wed, 31 May 2017 16:30:12 GMT
Author: lofwyr
Date: Wed May 31 16:30:11 2017
New Revision: 1797071

URL: http://svn.apache.org/viewvc?rev=1797071&view=rev
Log:
codestyle: SonarQube
- replace == with === and != with !==

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/in.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/suggest.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/40-date/date.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/020-output/60-object/object.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/20-selectOneChoice/selectOneChoice.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/50-selectManyCheckbox/selectManyCheckbox.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/10-sort/sheet-sorting.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/30-event/sheet-event.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/090-tree/01-select/tree-select.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/00/content-validation.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/01/validation-jsr303.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/08-form/10-required/form-required.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/08-form/20-ajax/form-ajax.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/51-for-each/for-each.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/53-collapsible/00-collapsible-box/collapsible-box.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/53-collapsible/10-collapsible-popup/collapsible-popup.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/53-collapsible/20-collapsible-panel/collapsible-panel.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/53-collapsible/30-collapsible-section/collapsible-section.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/35-deprecated/15-suggest-method/suggest-method.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/4000-button+link/button+link.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/50000-java/20-ajax-execute/ajax-execute.test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/script/demo.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/script/tobago-test.js
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/script/tobago-testAll.js
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/script/tobago-assert.js
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/date/datetime.js
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/in/id-and-fieldId.js
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/sheet/sheet-reload.js
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/version/version.js

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/in.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/in.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/in.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/in.test.js Wed May 31 16:30:11 2017
@@ -41,7 +41,7 @@ QUnit.test("ajax change event", function
 
   waitForAjax(function () {
     $outputField = jQueryFrame($outputField.selector);
-    return $outputField.text() == "qwe";
+    return $outputField.text() === "qwe";
   }, function () {
     $outputField = jQueryFrame($outputField.selector);
     assert.equal($outputField.text(), "qwe");

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/suggest.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/suggest.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/suggest.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/20-suggest/suggest.test.js Wed May 31 16:30:11 2017
@@ -29,7 +29,7 @@ QUnit.test("Basics: 'C'", function(asser
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -57,7 +57,7 @@ QUnit.test("Basics: 'Ch'", function(asse
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -84,7 +84,7 @@ QUnit.test("Basics: 'Chi'", function(ass
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -111,7 +111,7 @@ QUnit.test("Basics: 'Chil'", function(as
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -138,7 +138,7 @@ QUnit.test("Basics: 'Chile'", function(a
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -165,7 +165,7 @@ QUnit.test("Basics: 'Chile '", function(
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -192,7 +192,7 @@ QUnit.test("Basics: 'Chile ('", function
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -219,7 +219,7 @@ QUnit.test("Basics: 'Chile (e'", functio
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -246,7 +246,7 @@ QUnit.test("Basics: 'Chile (es'", functi
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -273,7 +273,7 @@ QUnit.test("Basics: 'Chile (esp'", funct
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return expectedLength === $suggestions.length;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -300,7 +300,7 @@ QUnit.test("Basics: 'Chile (espa'", func
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -327,7 +327,7 @@ QUnit.test("Basics: 'Chile (espan'", fun
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -354,7 +354,7 @@ QUnit.test("Basics: 'Chile (espanj'", fu
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -381,7 +381,7 @@ QUnit.test("Basics: 'Chile (espanja'", f
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -408,7 +408,7 @@ QUnit.test("Basics: 'Chile (espanja)'",
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == expectedLength;
+    return $suggestions.length === expectedLength;
   }, function() {
     $suggestions = jQueryFrame($suggestions.selector);
 
@@ -436,7 +436,7 @@ QUnit.test("Basics: Add 'Belgiu' and cli
 
   waitForAjax(function() {
     $suggestions = jQueryFrame($suggestions.selector);
-    return $suggestions.length == 2;
+    return $suggestions.length === 2;
   }, function() {
     assert.equal(1, 1);
     $in = jQueryFrame($in.selector);
@@ -470,7 +470,7 @@ QUnit.test("Advanced: 'H'", function(ass
   setTimeout(function() {
     waitForAjax(function() {
       $suggestions = jQueryFrame($suggestions.selector);
-      return $suggestions.length == 0;
+      return $suggestions.length === 0;
     }, function() {
       $suggestions = jQueryFrame($suggestions.selector);
       assert.equal($suggestions.length, 0);
@@ -503,9 +503,9 @@ QUnit.test("Advanced: 'Ho'", function(as
       $in = jQueryFrame($in.selector);
       $suggestions = jQueryFrame($suggestions.selector);
 
-      return $suggestions.length == 2
-          && $suggestions.eq(0).find("strong").text() == "ho"
-          && $suggestions.eq(1).find("strong").text() == "ho";
+      return $suggestions.length === 2
+          && $suggestions.eq(0).find("strong").text() === "ho"
+          && $suggestions.eq(1).find("strong").text() === "ho";
     }, function() {
       $in = jQueryFrame($in.selector);
       $suggestions = jQueryFrame($suggestions.selector);

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/40-date/date.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/40-date/date.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/40-date/date.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/40-date/date.test.js Wed May 31 16:30:11 2017
@@ -66,7 +66,7 @@ QUnit.test("submit", function(assert) {
   var day22 = 0;
   for (i = 0; i < $days.length; i++) {
     $days = jQueryFrame($days.selector);
-    if ($days.eq(i).text() == "22") {
+    if ($days.eq(i).text() === "22") {
       day22 = i;
       break;
     }
@@ -103,7 +103,7 @@ QUnit.test("ajax", function (assert) {
 
   waitForAjax(function () {
     $outField = jQueryFrame($outField.selector);
-    return $outField.text() == today;
+    return $outField.text() === today;
   }, function () {
     $outField = jQueryFrame($outField.selector);
     assert.equal($outField.text(), today);

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/020-output/60-object/object.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/020-output/60-object/object.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/020-output/60-object/object.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/020-output/60-object/object.js Wed May 31 16:30:11 2017
@@ -29,11 +29,11 @@
       this._on({
         click: function (event) {
           var position = this.element.data("maps-position");
-          if (position == null) {
+          if (position === null) {
             position = this.options.position;
           }
           var zoom = this.element.data("maps-zoom");
-          if (zoom == null) {
+          if (zoom === null) {
             zoom = this.options.zoom;
           }
           var target = this.element.data("maps-target");

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/10-selectBooleanCheckbox/selectBooleanCheckbox.test.js Wed May 31 16:30:11 2017
@@ -30,7 +30,7 @@ QUnit.test("submit: select A", function
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       var $output = jQueryFrame("#page\\:mainForm\\:submitOutput span");
       assert.equal($output.text(), "A ");
 
@@ -55,7 +55,7 @@ QUnit.test("submit: select B and C", fun
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       var $output = jQueryFrame("#page\\:mainForm\\:submitOutput span");
       assert.equal($output.text(), "B C ");
 
@@ -75,7 +75,7 @@ QUnit.test("ajax: select D", function (a
 
   waitForAjax(function () {
     $outputD = jQueryFrame($outputD.selector);
-    return $outputD.text() == "true";
+    return $outputD.text() === "true";
   }, function () {
     $outputD = jQueryFrame($outputD.selector);
     assert.equal($outputD.text(), "true");
@@ -93,7 +93,7 @@ QUnit.test("ajax: deselect D", function
 
   waitForAjax(function () {
     $outputD = jQueryFrame($outputD.selector);
-    return $outputD.text() == "false";
+    return $outputD.text() === "false";
   }, function () {
     $outputD = jQueryFrame($outputD.selector);
     assert.equal($outputD.text(), "false");
@@ -111,7 +111,7 @@ QUnit.test("ajax: select E", function (a
 
   waitForAjax(function () {
     $outputE = jQueryFrame($outputE.selector);
-    return $outputE.text() == "true";
+    return $outputE.text() === "true";
   }, function () {
     $outputE = jQueryFrame($outputE.selector);
     assert.equal($outputE.text(), "true");
@@ -129,7 +129,7 @@ QUnit.test("ajax: deselect E", function
 
   waitForAjax(function () {
     $outputE = jQueryFrame($outputE.selector);
-    return $outputE.text() == "false";
+    return $outputE.text() === "false";
   }, function () {
     $outputE = jQueryFrame($outputE.selector);
     assert.equal($outputE.text(), "false");
@@ -147,7 +147,7 @@ QUnit.test("ajax: select F", function (a
 
   waitForAjax(function () {
     $outputF = jQueryFrame($outputF.selector);
-    return $outputF.text() == "true";
+    return $outputF.text() === "true";
   }, function () {
     $outputF = jQueryFrame($outputF.selector);
     assert.equal($outputF.text(), "true");
@@ -165,7 +165,7 @@ QUnit.test("ajax: deselect F", function
 
   waitForAjax(function () {
     $outputF = jQueryFrame($outputF.selector);
-    return $outputF.text() == "false";
+    return $outputF.text() === "false";
   }, function () {
     $outputF = jQueryFrame($outputF.selector);
     assert.equal($outputF.text(), "false");

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/20-selectOneChoice/selectOneChoice.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/20-selectOneChoice/selectOneChoice.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/20-selectOneChoice/selectOneChoice.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/20-selectOneChoice/selectOneChoice.test.js Wed May 31 16:30:11 2017
@@ -28,7 +28,7 @@ QUnit.test("submit: Alice", function (as
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       var $output = jQueryFrame("#page\\:mainForm\\:outputPerson span");
       assert.equal($output.text(), "Alice Anderson");
 
@@ -51,7 +51,7 @@ QUnit.test("submit: Bob", function (asse
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       var $output = jQueryFrame("#page\\:mainForm\\:outputPerson span");
       assert.equal($output.text(), "Bob Brunch");
 
@@ -73,8 +73,8 @@ QUnit.test("ajax: select Mars", function
 
   waitForAjax(function () {
     $moons = jQueryFrame($moons.selector);
-    return $moons.eq(0).text() == "Phobos"
-        && $moons.eq(1).text() == "Deimos";
+    return $moons.eq(0).text() === "Phobos"
+        && $moons.eq(1).text() === "Deimos";
   }, function () {
     $moons = jQueryFrame($moons.selector);
     assert.equal($moons.eq(0).text(), "Phobos");
@@ -95,10 +95,10 @@ QUnit.test("ajax: select Jupiter", funct
 
   waitForAjax(function () {
     $moons = jQueryFrame($moons.selector);
-    return $moons.eq(0).text() == "Europa"
-        && $moons.eq(1).text() == "Ganymed"
-        && $moons.eq(2).text() == "Io"
-        && $moons.eq(3).text() == "Kallisto";
+    return $moons.eq(0).text() === "Europa"
+        && $moons.eq(1).text() === "Ganymed"
+        && $moons.eq(2).text() === "Io"
+        && $moons.eq(3).text() === "Kallisto";
   }, function () {
     $moons = jQueryFrame($moons.selector);
     assert.equal($moons.eq(0).text(), "Europa");

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/40-selectOneListbox/selectOneListbox.test.js Wed May 31 16:30:11 2017
@@ -30,7 +30,7 @@ QUnit.test("submit: select 'Nile'", func
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       var $output = jQueryFrame("#page\\:mainForm\\:riverOutput span");
       assert.equal($output.text(), "6853 km");
 
@@ -55,7 +55,7 @@ QUnit.test("submit: select 'Yangtze'", f
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       var $output = jQueryFrame("#page\\:mainForm\\:riverOutput span");
       assert.equal($output.text(), "6300 km");
 
@@ -79,7 +79,7 @@ QUnit.test("ajax: select Everest", funct
 
   waitForAjax(function () {
     $output = jQueryFrame($output.selector);
-    return $output.text() == "8848 m";
+    return $output.text() === "8848 m";
   }, function () {
     $output = jQueryFrame($output.selector);
     assert.equal($output.text(), "8848 m");
@@ -101,7 +101,7 @@ QUnit.test("ajax: select Makalu", functi
 
   waitForAjax(function () {
     $output = jQueryFrame($output.selector);
-    return $output.text() == "8481 m";
+    return $output.text() === "8481 m";
   }, function () {
     $output = jQueryFrame($output.selector);
     assert.equal($output.text(), "8481 m");

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/50-selectManyCheckbox/selectManyCheckbox.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/50-selectManyCheckbox/selectManyCheckbox.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/50-selectManyCheckbox/selectManyCheckbox.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/030-select/50-selectManyCheckbox/selectManyCheckbox.test.js Wed May 31 16:30:11 2017
@@ -29,7 +29,7 @@ QUnit.test("submit: select cat", functio
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       var $output = jQueryFrame("#page\\:mainForm\\:animalsOutput span");
       assert.equal($output.text(), "Cat ");
 
@@ -53,7 +53,7 @@ QUnit.test("submit: select fox and rabbi
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       var $output = jQueryFrame("#page\\:mainForm\\:animalsOutput span");
       assert.equal($output.text(), "Fox Rabbit ");
 
@@ -81,7 +81,7 @@ QUnit.test("ajax: click 'Two'", function
 
   waitForAjax(function () {
     $output = jQueryFrame($output.selector);
-    return $output.text() == newOutputValue;
+    return $output.text() === newOutputValue;
   }, function () {
     $output = jQueryFrame($output.selector);
     assert.equal($output.text(), newOutputValue);
@@ -107,7 +107,7 @@ QUnit.test("ajax: click 'Three'", functi
 
   waitForAjax(function () {
     $output = jQueryFrame($output.selector);
-    return $output.text() == newOutputValue;
+    return $output.text() === newOutputValue;
   }, function () {
     $output = jQueryFrame($output.selector);
     assert.equal($output.text(), newOutputValue);
@@ -133,7 +133,7 @@ QUnit.test("ajax: click 'Two'", function
 
   waitForAjax(function () {
     $output = jQueryFrame($output.selector);
-    return $output.text() == newOutputValue;
+    return $output.text() === newOutputValue;
   }, function () {
     $output = jQueryFrame($output.selector);
     assert.equal($output.text(), newOutputValue);

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/10-sort/sheet-sorting.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/10-sort/sheet-sorting.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/10-sort/sheet-sorting.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/10-sort/sheet-sorting.test.js Wed May 31 16:30:11 2017
@@ -24,13 +24,13 @@ QUnit.test("Basics: Name", function (ass
   var $rows = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-bodyTable tbody .tobago-sheet-row");
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-paging-markup-left input");
 
-  if ($colName.find(".fa-angle-up").length != 1) {
+  if ($colName.find(".fa-angle-up").length !== 1) {
     $colName.click();
   }
 
   waitForAjax(function () {
     $colName = jQueryFrame($colName.selector);
-    return step == 1 && $colName.find(".fa-angle-up").length == 1;
+    return step === 1 && $colName.find(".fa-angle-up").length === 1;
   }, function () {
     $colName = jQueryFrame($colName.selector);
     assert.equal($colName.find(".fa-angle-up").length, 1);
@@ -40,7 +40,7 @@ QUnit.test("Basics: Name", function (ass
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "Earth", "365.26", "",
               "Elara", "259.65", "1905",
               "Enceladus", "1.37", "1789",
@@ -57,7 +57,7 @@ QUnit.test("Basics: Name", function (ass
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "Proteus", "1.12", "1989",
                 "Prospero", "-1962.95", "1999",
                 "Prometheus", "0.61", "1980",
@@ -74,7 +74,7 @@ QUnit.test("Basics: Name", function (ass
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return step == 4 && ajaxWaitingBodyTableCheck($rows,
+          return step === 4 && ajaxWaitingBodyTableCheck($rows,
                   "Earth", "365.26", "",
                   "Elara", "259.65", "1905",
                   "Enceladus", "1.37", "1789",
@@ -109,13 +109,13 @@ QUnit.test("Basics: Period", function (a
   var $rows = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-bodyTable tbody .tobago-sheet-row");
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-paging-markup-left input");
 
-  if ($colPeriod.find(".fa-angle-up").length != 1) {
+  if ($colPeriod.find(".fa-angle-up").length !== 1) {
     $colPeriod.click();
   }
 
   waitForAjax(function () {
     $colPeriod = jQueryFrame($colPeriod.selector);
-    return step == 1 && $colPeriod.find(".fa-angle-up").length == 1;
+    return step === 1 && $colPeriod.find(".fa-angle-up").length === 1;
   }, function () {
     $colPeriod = jQueryFrame($colPeriod.selector);
     assert.equal($colPeriod.find(".fa-angle-up").length, 1);
@@ -125,7 +125,7 @@ QUnit.test("Basics: Period", function (a
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "Galatea", "0.43", "1989",
               "Cressida", "0.46", "1986",
               "Desdemona", "0.47", "1986",
@@ -142,7 +142,7 @@ QUnit.test("Basics: Period", function (a
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "Leda", "238.72", "1974",
                 "Venus", "224.7", "",
                 "Themisto", "130.02", "2000",
@@ -159,7 +159,7 @@ QUnit.test("Basics: Period", function (a
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return step == 4 && ajaxWaitingBodyTableCheck($rows,
+          return step === 4 && ajaxWaitingBodyTableCheck($rows,
                   "Galatea", "0.43", "1989",
                   "Cressida", "0.46", "1986",
                   "Desdemona", "0.47", "1986",
@@ -194,13 +194,13 @@ QUnit.test("Basics: Year", function (ass
   var $rows = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-bodyTable tbody .tobago-sheet-row");
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-paging-markup-left input");
 
-  if ($colYear.find(".fa-angle-up").length != 1) {
+  if ($colYear.find(".fa-angle-up").length !== 1) {
     $colYear.click();
   }
 
   waitForAjax(function () {
     $colYear = jQueryFrame($colYear.selector);
-    return $colYear.find(".fa-angle-up").length == 1;
+    return $colYear.find(".fa-angle-up").length === 1;
   }, function () {
     $colYear = jQueryFrame($colYear.selector);
     assert.equal($colYear.find(".fa-angle-up").length, 1);
@@ -210,10 +210,10 @@ QUnit.test("Basics: Year", function (ass
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() == "1789"
-          && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() == "1846"
-          && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() == "1846"
-          && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() == "1848";
+      return $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() === "1789"
+          && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() === "1846"
+          && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() === "1846"
+          && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() === "1848";
     }, function () {
       $rows = jQueryFrame($rows.selector);
       assert.equal($rows.eq(0).find(".tobago-sheet-cell").eq(2).text(), "1789", "row0col2");
@@ -225,10 +225,10 @@ QUnit.test("Basics: Year", function (ass
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() == "1989"
-            && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() == "1989"
-            && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() == "1989"
-            && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() == "1986";
+        return $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() === "1989"
+            && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() === "1989"
+            && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() === "1989"
+            && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() === "1986";
       }, function () {
         $rows = jQueryFrame($rows.selector);
         assert.equal($rows.eq(0).find(".tobago-sheet-cell").eq(2).text(), "1989", "row0col2");
@@ -240,10 +240,10 @@ QUnit.test("Basics: Year", function (ass
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() == "1789"
-              && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() == "1846"
-              && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() == "1846"
-              && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() == "1848";
+          return $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() === "1789"
+              && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() === "1846"
+              && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() === "1846"
+              && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() === "1848";
         }, function () {
           $rows = jQueryFrame($rows.selector);
           assert.equal($rows.eq(0).find(".tobago-sheet-cell").eq(2).text(), "1789", "row0col2");
@@ -277,13 +277,13 @@ QUnit.test("Basics: left paging", functi
   var $rows = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-bodyTable tbody .tobago-sheet-row");
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-paging-markup-left input");
 
-  if ($colName.find(".fa-angle-up").length != 1) {
+  if ($colName.find(".fa-angle-up").length !== 1) {
     $colName.click();
   }
 
   waitForAjax(function () {
     $colName = jQueryFrame($colName.selector);
-    return step == 1 && $colName.find(".fa-angle-up").length == 1;
+    return step === 1 && $colName.find(".fa-angle-up").length === 1;
   }, function () {
     $colName = jQueryFrame($colName.selector);
     assert.equal($colName.find(".fa-angle-up").length, 1);
@@ -293,7 +293,7 @@ QUnit.test("Basics: left paging", functi
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "Bianca", "0.43", "1986",
               "Caliban", "-579.39", "1997",
               "Callirrhoe", "758.8", "2000",
@@ -311,7 +311,7 @@ QUnit.test("Basics: left paging", functi
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "Caliban", "-579.39", "1997",
                 "Callirrhoe", "758.8", "2000",
                 "Callisto", "16.69", "1610",
@@ -349,13 +349,13 @@ QUnit.test("Basics: center paging", func
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-paging-markup-left input");
   var $centerPaging = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-paging-markup-center li .page-link");
 
-  if ($colName.find(".fa-angle-up").length != 1) {
+  if ($colName.find(".fa-angle-up").length !== 1) {
     $colName.click();
   }
 
   waitForAjax(function () {
     $colName = jQueryFrame($colName.selector);
-    return step == 1 && $colName.find(".fa-angle-up").length == 1;
+    return step === 1 && $colName.find(".fa-angle-up").length === 1;
   }, function () {
     $colName = jQueryFrame($colName.selector);
     assert.equal($colName.find(".fa-angle-up").length, 1);
@@ -365,7 +365,7 @@ QUnit.test("Basics: center paging", func
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "1986U10", "0.64", "1999",
               "Adrastea", "0.3", "1979",
               "Amalthea", "0.5", "1892",
@@ -383,7 +383,7 @@ QUnit.test("Basics: center paging", func
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "Epimetheus", "0.69", "1980",
                 "Erinome", "728.3", "2000",
                 "Europa", "3.55", "1610",
@@ -401,7 +401,7 @@ QUnit.test("Basics: center paging", func
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return step == 4 && ajaxWaitingBodyTableCheck($rows,
+          return step === 4 && ajaxWaitingBodyTableCheck($rows,
                   "Phoebe", "-550.48", "1898",
                   "Pluto", "90800.0", "1930",
                   "Portia", "0.51", "1986",
@@ -419,7 +419,7 @@ QUnit.test("Basics: center paging", func
 
           waitForAjax(function () {
             $rows = jQueryFrame($rows.selector);
-            return step == 5 && ajaxWaitingBodyTableCheck($rows,
+            return step === 5 && ajaxWaitingBodyTableCheck($rows,
                     "Neptune", "60190.0", "1846",
                     "Nereid", "360.13", "1949",
                     "Oberon", "13.46", "1787",
@@ -465,13 +465,13 @@ QUnit.test("Basics: right paging", funct
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-paging-markup-left input");
   var $rightPaging = jQueryFrame("#page\\:mainForm\\:s1 .tobago-sheet-paging-markup-right .page-link");
 
-  if ($colName.find(".fa-angle-up").length != 1) {
+  if ($colName.find(".fa-angle-up").length !== 1) {
     $colName.click();
   }
 
   waitForAjax(function () {
     $colName = jQueryFrame($colName.selector);
-    return step == 1 && $colName.find(".fa-angle-up").length == 1;
+    return step === 1 && $colName.find(".fa-angle-up").length === 1;
   }, function () {
     $colName = jQueryFrame($colName.selector);
     assert.equal($colName.find(".fa-angle-up").length, 1);
@@ -481,7 +481,7 @@ QUnit.test("Basics: right paging", funct
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "Earth", "365.26", "",
               "Elara", "259.65", "1905",
               "Enceladus", "1.37", "1789",
@@ -499,7 +499,7 @@ QUnit.test("Basics: right paging", funct
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "1986U10", "0.64", "1999",
                 "Adrastea", "0.3", "1979",
                 "Amalthea", "0.5", "1892",
@@ -517,7 +517,7 @@ QUnit.test("Basics: right paging", funct
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return step == 4 && ajaxWaitingBodyTableCheck($rows,
+          return step === 4 && ajaxWaitingBodyTableCheck($rows,
                   "Ariel", "2.52", "1851",
                   "Atlas", "0.6", "1980",
                   "Belinda", "0.62", "1986",
@@ -535,7 +535,7 @@ QUnit.test("Basics: right paging", funct
 
           waitForAjax(function () {
             $rows = jQueryFrame($rows.selector);
-            return step == 5 && ajaxWaitingBodyTableCheck($rows,
+            return step === 5 && ajaxWaitingBodyTableCheck($rows,
                     "Triton", "-5.88", "1846",
                     "Umbriel", "4.14", "1851",
                     "Uranus", "30685.0", "1781",
@@ -553,7 +553,7 @@ QUnit.test("Basics: right paging", funct
 
             waitForAjax(function () {
               $rows = jQueryFrame($rows.selector);
-              return step == 6 && ajaxWaitingBodyTableCheck($rows,
+              return step === 6 && ajaxWaitingBodyTableCheck($rows,
                       "Thebe", "0.67", "1979",
                       "Themisto", "130.02", "2000",
                       "Titan", "15.95", "1655",
@@ -571,7 +571,7 @@ QUnit.test("Basics: right paging", funct
 
               waitForAjax(function () {
                 $rows = jQueryFrame($rows.selector);
-                return step == 7 && ajaxWaitingBodyTableCheck($rows,
+                return step === 7 && ajaxWaitingBodyTableCheck($rows,
                         "Neptune", "60190.0", "1846",
                         "Nereid", "360.13", "1949",
                         "Oberon", "13.46", "1787",
@@ -615,13 +615,13 @@ QUnit.test("Custom Sorting: Name", funct
   var $rows = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-bodyTable tbody .tobago-sheet-row");
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-paging-markup-left input");
 
-  if ($colName.find(".fa-angle-up").length != 1) {
+  if ($colName.find(".fa-angle-up").length !== 1) {
     $colName.click();
   }
 
   waitForAjax(function () {
     $colName = jQueryFrame($colName.selector);
-    return step == 1 && $colName.find(".fa-angle-up").length == 1;
+    return step === 1 && $colName.find(".fa-angle-up").length === 1;
   }, function () {
     $colName = jQueryFrame($colName.selector);
     assert.equal($colName.find(".fa-angle-up").length, 1);
@@ -631,7 +631,7 @@ QUnit.test("Custom Sorting: Name", funct
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "Earth", "365.26", "",
               "Elara", "259.65", "1905",
               "Enceladus", "1.37", "1789",
@@ -648,7 +648,7 @@ QUnit.test("Custom Sorting: Name", funct
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "Proteus", "1.12", "1989",
                 "Prospero", "-1962.95", "1999",
                 "Prometheus", "0.61", "1980",
@@ -665,7 +665,7 @@ QUnit.test("Custom Sorting: Name", funct
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return step == 4 && ajaxWaitingBodyTableCheck($rows,
+          return step === 4 && ajaxWaitingBodyTableCheck($rows,
                   "Earth", "365.26", "",
                   "Elara", "259.65", "1905",
                   "Enceladus", "1.37", "1789",
@@ -700,13 +700,13 @@ QUnit.test("Custom Sorting: Period", fun
   var $rows = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-bodyTable tbody .tobago-sheet-row");
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-paging-markup-left input");
 
-  if ($colPeriod.find(".fa-angle-up").length != 1) {
+  if ($colPeriod.find(".fa-angle-up").length !== 1) {
     $colPeriod.click();
   }
 
   waitForAjax(function () {
     $colPeriod = jQueryFrame($colPeriod.selector);
-    return step == 1 && $colPeriod.find(".fa-angle-up").length == 1;
+    return step === 1 && $colPeriod.find(".fa-angle-up").length === 1;
   }, function () {
     $colPeriod = jQueryFrame($colPeriod.selector);
     assert.equal($colPeriod.find(".fa-angle-up").length, 1);
@@ -716,7 +716,7 @@ QUnit.test("Custom Sorting: Period", fun
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "Belinda", "0.62", "1986",
               "Pandora", "0.63", "1980",
               "1986U10", "0.64", "1999",
@@ -733,7 +733,7 @@ QUnit.test("Custom Sorting: Period", fun
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "Ananke", "-629.77", "1951",
                 "Praxidike", "625.3", "2000",
                 "Harpalyke", "623.3", "2000",
@@ -750,7 +750,7 @@ QUnit.test("Custom Sorting: Period", fun
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return step == 4 && ajaxWaitingBodyTableCheck($rows,
+          return step === 4 && ajaxWaitingBodyTableCheck($rows,
                   "Belinda", "0.62", "1986",
                   "Pandora", "0.63", "1980",
                   "1986U10", "0.64", "1999",
@@ -785,13 +785,13 @@ QUnit.test("Custom Sorting: Year", funct
   var $rows = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-bodyTable tbody .tobago-sheet-row");
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-paging-markup-left input");
 
-  if ($colYear.find(".fa-angle-up").length != 1) {
+  if ($colYear.find(".fa-angle-up").length !== 1) {
     $colYear.click();
   }
 
   waitForAjax(function () {
     $colYear = jQueryFrame($colYear.selector);
-    return step == 1 && $colYear.find(".fa-angle-up").length == 1;
+    return step === 1 && $colYear.find(".fa-angle-up").length === 1;
   }, function () {
     $colYear = jQueryFrame($colYear.selector);
     assert.equal($colYear.find(".fa-angle-up").length, 1);
@@ -801,11 +801,11 @@ QUnit.test("Custom Sorting: Year", funct
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2
-          && $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() == "1789"
-          && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() == "1846"
-          && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() == "1846"
-          && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() == "1848";
+      return step === 2
+          && $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() === "1789"
+          && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() === "1846"
+          && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() === "1846"
+          && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() === "1848";
     }, function () {
       $rows = jQueryFrame($rows.selector);
       assert.equal($rows.eq(0).find(".tobago-sheet-cell").eq(2).text(), "1789", "row0col2");
@@ -817,11 +817,11 @@ QUnit.test("Custom Sorting: Year", funct
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3
-            && $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() == "1989"
-            && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() == "1989"
-            && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() == "1989"
-            && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() == "1986";
+        return step === 3
+            && $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() === "1989"
+            && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() === "1989"
+            && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() === "1989"
+            && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() === "1986";
       }, function () {
         $rows = jQueryFrame($rows.selector);
         assert.equal($rows.eq(0).find(".tobago-sheet-cell").eq(2).text(), "1989", "row0col2");
@@ -833,11 +833,11 @@ QUnit.test("Custom Sorting: Year", funct
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return step == 4
-              && $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() == "1789"
-              && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() == "1846"
-              && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() == "1846"
-              && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() == "1848";
+          return step === 4
+              && $rows.eq(0).find(".tobago-sheet-cell").eq(2).text() === "1789"
+              && $rows.eq(1).find(".tobago-sheet-cell").eq(2).text() === "1846"
+              && $rows.eq(2).find(".tobago-sheet-cell").eq(2).text() === "1846"
+              && $rows.eq(3).find(".tobago-sheet-cell").eq(2).text() === "1848";
         }, function () {
           $rows = jQueryFrame($rows.selector);
           assert.equal($rows.eq(0).find(".tobago-sheet-cell").eq(2).text(), "1789", "row0col2");
@@ -871,13 +871,13 @@ QUnit.test("Custom Sorting: left paging"
   var $rows = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-bodyTable tbody .tobago-sheet-row");
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-paging-markup-left input");
 
-  if ($colName.find(".fa-angle-up").length != 1) {
+  if ($colName.find(".fa-angle-up").length !== 1) {
     $colName.click();
   }
 
   waitForAjax(function () {
     $colName = jQueryFrame($colName.selector);
-    return step == 1 && $colName.find(".fa-angle-up").length == 1;
+    return step === 1 && $colName.find(".fa-angle-up").length === 1;
   }, function () {
     $colName = jQueryFrame($colName.selector);
     assert.equal($colName.find(".fa-angle-up").length, 1);
@@ -887,7 +887,7 @@ QUnit.test("Custom Sorting: left paging"
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "Bianca", "0.43", "1986",
               "Caliban", "-579.39", "1997",
               "Callirrhoe", "758.8", "2000",
@@ -905,7 +905,7 @@ QUnit.test("Custom Sorting: left paging"
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "Caliban", "-579.39", "1997",
                 "Callirrhoe", "758.8", "2000",
                 "Callisto", "16.69", "1610",
@@ -943,13 +943,13 @@ QUnit.test("Custom Sorting: center pagin
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-paging-markup-left input");
   var $centerPaging = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-paging-markup-center li .page-link");
 
-  if ($colName.find(".fa-angle-up").length != 1) {
+  if ($colName.find(".fa-angle-up").length !== 1) {
     $colName.click();
   }
 
   waitForAjax(function () {
     $colName = jQueryFrame($colName.selector);
-    return step == 1 && $colName.find(".fa-angle-up").length == 1;
+    return step === 1 && $colName.find(".fa-angle-up").length === 1;
   }, function () {
     $colName = jQueryFrame($colName.selector);
     assert.equal($colName.find(".fa-angle-up").length, 1);
@@ -959,7 +959,7 @@ QUnit.test("Custom Sorting: center pagin
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "1986U10", "0.64", "1999",
               "Adrastea", "0.3", "1979",
               "Amalthea", "0.5", "1892",
@@ -977,7 +977,7 @@ QUnit.test("Custom Sorting: center pagin
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "Epimetheus", "0.69", "1980",
                 "Erinome", "728.3", "2000",
                 "Europa", "3.55", "1610",
@@ -995,7 +995,7 @@ QUnit.test("Custom Sorting: center pagin
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return step == 4 && ajaxWaitingBodyTableCheck($rows,
+          return step === 4 && ajaxWaitingBodyTableCheck($rows,
                   "Phoebe", "-550.48", "1898",
                   "Pluto", "90800.0", "1930",
                   "Portia", "0.51", "1986",
@@ -1013,7 +1013,7 @@ QUnit.test("Custom Sorting: center pagin
 
           waitForAjax(function () {
             $rows = jQueryFrame($rows.selector);
-            return step == 5 && ajaxWaitingBodyTableCheck($rows,
+            return step === 5 && ajaxWaitingBodyTableCheck($rows,
                     "Neptune", "60190.0", "1846",
                     "Nereid", "360.13", "1949",
                     "Oberon", "13.46", "1787",
@@ -1059,13 +1059,13 @@ QUnit.test("Custom Sorting: right paging
   var $leftPaging = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-paging-markup-left input");
   var $rightPaging = jQueryFrame("#page\\:mainForm\\:s2 .tobago-sheet-paging-markup-right .page-link");
 
-  if ($colName.find(".fa-angle-up").length != 1) {
+  if ($colName.find(".fa-angle-up").length !== 1) {
     $colName.click();
   }
 
   waitForAjax(function () {
     $colName = jQueryFrame($colName.selector);
-    return step == 1 && $colName.find(".fa-angle-up").length == 1;
+    return step === 1 && $colName.find(".fa-angle-up").length === 1;
   }, function () {
     $colName = jQueryFrame($colName.selector);
     assert.equal($colName.find(".fa-angle-up").length, 1);
@@ -1075,7 +1075,7 @@ QUnit.test("Custom Sorting: right paging
 
     waitForAjax(function () {
       $rows = jQueryFrame($rows.selector);
-      return step == 2 && ajaxWaitingBodyTableCheck($rows,
+      return step === 2 && ajaxWaitingBodyTableCheck($rows,
               "Earth", "365.26", "",
               "Elara", "259.65", "1905",
               "Enceladus", "1.37", "1789",
@@ -1093,7 +1093,7 @@ QUnit.test("Custom Sorting: right paging
 
       waitForAjax(function () {
         $rows = jQueryFrame($rows.selector);
-        return step == 3 && ajaxWaitingBodyTableCheck($rows,
+        return step === 3 && ajaxWaitingBodyTableCheck($rows,
                 "1986U10", "0.64", "1999",
                 "Adrastea", "0.3", "1979",
                 "Amalthea", "0.5", "1892",
@@ -1111,7 +1111,7 @@ QUnit.test("Custom Sorting: right paging
 
         waitForAjax(function () {
           $rows = jQueryFrame($rows.selector);
-          return step == 4 && ajaxWaitingBodyTableCheck($rows,
+          return step === 4 && ajaxWaitingBodyTableCheck($rows,
                   "Ariel", "2.52", "1851",
                   "Atlas", "0.6", "1980",
                   "Belinda", "0.62", "1986",
@@ -1129,7 +1129,7 @@ QUnit.test("Custom Sorting: right paging
 
           waitForAjax(function () {
             $rows = jQueryFrame($rows.selector);
-            return step == 5 && ajaxWaitingBodyTableCheck($rows,
+            return step === 5 && ajaxWaitingBodyTableCheck($rows,
                     "Triton", "-5.88", "1846",
                     "Umbriel", "4.14", "1851",
                     "Uranus", "30685.0", "1781",
@@ -1147,7 +1147,7 @@ QUnit.test("Custom Sorting: right paging
 
             waitForAjax(function () {
               $rows = jQueryFrame($rows.selector);
-              return step == 6 && ajaxWaitingBodyTableCheck($rows,
+              return step === 6 && ajaxWaitingBodyTableCheck($rows,
                       "Thebe", "0.67", "1979",
                       "Themisto", "130.02", "2000",
                       "Titan", "15.95", "1655",
@@ -1165,7 +1165,7 @@ QUnit.test("Custom Sorting: right paging
 
               waitForAjax(function () {
                 $rows = jQueryFrame($rows.selector);
-                return step == 7 && ajaxWaitingBodyTableCheck($rows,
+                return step === 7 && ajaxWaitingBodyTableCheck($rows,
                         "Neptune", "60190.0", "1846",
                         "Nereid", "360.13", "1949",
                         "Oberon", "13.46", "1787",
@@ -1215,10 +1215,10 @@ function ajaxWaitingBodyTableCheck($rows
   var $row3Col1 = $rows.eq(3).find(".tobago-sheet-cell").eq(1).text();
   var $row3Col2 = $rows.eq(3).find(".tobago-sheet-cell").eq(2).text();
 
-  return $row0Col0 == row0col0 && $row0Col1 == row0col1 && $row0Col2 == row0col2
-      && $row1Col0 == row1col0 && $row1Col1 == row1col1 && $row1Col2 == row1col2
-      && $row2Col0 == row2col0 && $row2Col1 == row2col1 && $row2Col2 == row2col2
-      && $row3Col0 == row3col0 && $row3Col1 == row3col1 && $row3Col2 == row3col2;
+  return $row0Col0 === row0col0 && $row0Col1 === row0col1 && $row0Col2 === row0col2
+      && $row1Col0 === row1col0 && $row1Col1 === row1col1 && $row1Col2 === row1col2
+      && $row2Col0 === row2col0 && $row2Col1 === row2col1 && $row2Col2 === row2col2
+      && $row3Col0 === row3col0 && $row3Col1 === row3col1 && $row3Col2 === row3col2;
 }
 
 function ajaxExecuteBodyTableCheck(assert, $rows, row0col0, row0col1, row0col2, row1col0, row1col1, row1col2,

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/30-event/sheet-event.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/30-event/sheet-event.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/30-event/sheet-event.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/080-sheet/30-event/sheet-event.test.js Wed May 31 16:30:11 2017
@@ -31,7 +31,7 @@ QUnit.test("On click with ajax", functio
     $venus = jQueryFrame($venus.selector);
     $jupiter = jQueryFrame($jupiter.selector);
     $saturn = jQueryFrame($saturn.selector);
-    return $venus.length == 1 && $jupiter.length == 1 && $saturn.length == 1;
+    return $venus.length === 1 && $jupiter.length === 1 && $saturn.length === 1;
   }, function () {
     $venus = jQueryFrame($venus.selector);
     $jupiter = jQueryFrame($jupiter.selector);
@@ -45,7 +45,7 @@ QUnit.test("On click with ajax", functio
 
     waitForAjax(function () {
       $namefield = jQueryFrame($namefield.selector);
-      return $namefield.val() == "Venus";
+      return $namefield.val() === "Venus";
     }, function () {
       $namefield = jQueryFrame($namefield.selector);
       assert.equal($namefield.val(), "Venus");
@@ -55,7 +55,7 @@ QUnit.test("On click with ajax", functio
 
       waitForAjax(function () {
         $namefield = jQueryFrame($namefield.selector);
-        return $namefield.val() == "Jupiter";
+        return $namefield.val() === "Jupiter";
       }, function () {
         $namefield = jQueryFrame($namefield.selector);
         assert.equal($namefield.val(), "Jupiter");
@@ -65,7 +65,7 @@ QUnit.test("On click with ajax", functio
 
         waitForAjax(function () {
           $namefield = jQueryFrame($namefield.selector);
-          return $namefield.val() == "Saturn";
+          return $namefield.val() === "Saturn";
         }, function () {
           $namefield = jQueryFrame($namefield.selector);
           assert.equal($namefield.val(), "Saturn");
@@ -93,9 +93,9 @@ QUnit.test("On click with full request",
     $venus = jQueryFrame($venus.selector);
     $jupiter = jQueryFrame($jupiter.selector);
     $saturn = jQueryFrame($saturn.selector);
-    return $venus.length == 1 && $jupiter.length == 1 && $saturn.length == 1;
+    return $venus.length === 1 && $jupiter.length === 1 && $saturn.length === 1;
   }, function () {
-    if (step == 1) {
+    if (step === 1) {
       $venus = jQueryFrame($venus.selector);
       $jupiter = jQueryFrame($jupiter.selector);
       $saturn = jQueryFrame($saturn.selector);
@@ -111,7 +111,7 @@ QUnit.test("On click with full request",
   });
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 2) {
+    if (step === 2) {
       $namefield = jQueryFrame($namefield.selector);
       assert.equal($namefield.val(), "Venus");
 
@@ -120,7 +120,7 @@ QUnit.test("On click with full request",
 
       step++;
       done();
-    } else if (step == 3) {
+    } else if (step === 3) {
       $namefield = jQueryFrame($namefield.selector);
       assert.equal($namefield.val(), "Jupiter");
 
@@ -129,7 +129,7 @@ QUnit.test("On click with full request",
 
       step++;
       done();
-    } else if (step == 4) {
+    } else if (step === 4) {
       $namefield = jQueryFrame($namefield.selector);
       assert.equal($namefield.val(), "Saturn");
 
@@ -156,9 +156,9 @@ QUnit.test("On double click with full re
     $venus = jQueryFrame($venus.selector);
     $jupiter = jQueryFrame($jupiter.selector);
     $saturn = jQueryFrame($saturn.selector);
-    return $venus.length == 1 && $jupiter.length == 1 && $saturn.length == 1;
+    return $venus.length === 1 && $jupiter.length === 1 && $saturn.length === 1;
   }, function () {
-    if (step == 1) {
+    if (step === 1) {
       $venus = jQueryFrame($venus.selector);
       $jupiter = jQueryFrame($jupiter.selector);
       $saturn = jQueryFrame($saturn.selector);
@@ -174,7 +174,7 @@ QUnit.test("On double click with full re
   });
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 2) {
+    if (step === 2) {
       $namefield = jQueryFrame($namefield.selector);
       assert.equal($namefield.val(), "Venus");
 
@@ -183,7 +183,7 @@ QUnit.test("On double click with full re
 
       step++;
       done();
-    } else if (step == 3) {
+    } else if (step === 3) {
       $namefield = jQueryFrame($namefield.selector);
       assert.equal($namefield.val(), "Jupiter");
 
@@ -192,7 +192,7 @@ QUnit.test("On double click with full re
 
       step++;
       done();
-    } else if (step == 4) {
+    } else if (step === 4) {
       $namefield = jQueryFrame($namefield.selector);
       assert.equal($namefield.val(), "Saturn");
 

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/090-tree/01-select/tree-select.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/090-tree/01-select/tree-select.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/090-tree/01-select/tree-select.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/090-tree/01-select/tree-select.test.js Wed May 31 16:30:11 2017
@@ -28,7 +28,7 @@ QUnit.test("single: select Music, select
   $selectableNone.prop("checked", true).trigger("change");
 
   waitForAjax(function () {
-    return step == 1 && jQueryFrame(".tobago-treeSelect input").length == 0;
+    return step === 1 && jQueryFrame(".tobago-treeSelect input").length === 0;
   }, function () {
     assert.equal(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -36,7 +36,7 @@ QUnit.test("single: select Music, select
     $selectableSingle.prop("checked", true).trigger("change");
 
     waitForAjax(function () {
-      return step == 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
+      return step === 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
     }, function () {
       assert.notEqual(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -45,7 +45,7 @@ QUnit.test("single: select Music, select
 
       waitForAjax(function () {
         $output = jQueryFrame($output.selector);
-        return step == 3 && $output.text() == "Music"
+        return step === 3 && $output.text() === "Music"
       }, function () {
         $output = jQueryFrame($output.selector);
         assert.equal($output.text(), "Music");
@@ -55,7 +55,7 @@ QUnit.test("single: select Music, select
 
         waitForAjax(function () {
           $output = jQueryFrame($output.selector);
-          return step == 4 && $output.text() == "Mathematics"
+          return step === 4 && $output.text() === "Mathematics"
         }, function () {
           $output = jQueryFrame($output.selector);
           assert.equal($output.text(), "Mathematics");
@@ -87,7 +87,7 @@ QUnit.test("singleLeafOnly: select Class
   $selectableNone.prop("checked", true).trigger("change");
 
   waitForAjax(function () {
-    return step == 1 && jQueryFrame(".tobago-treeSelect input").length == 0;
+    return step === 1 && jQueryFrame(".tobago-treeSelect input").length === 0;
   }, function () {
     assert.equal(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -95,7 +95,7 @@ QUnit.test("singleLeafOnly: select Class
     $selectableSingleLeafOnly.prop("checked", true).trigger("change");
 
     waitForAjax(function () {
-      return step == 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
+      return step === 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
     }, function () {
       assert.notEqual(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -104,7 +104,7 @@ QUnit.test("singleLeafOnly: select Class
 
       waitForAjax(function () {
         $output = jQueryFrame($output.selector);
-        return step == 3 && $output.text() == "Classic"
+        return step === 3 && $output.text() === "Classic"
       }, function () {
         $output = jQueryFrame($output.selector);
         assert.equal($output.text(), "Classic");
@@ -114,7 +114,7 @@ QUnit.test("singleLeafOnly: select Class
 
         waitForAjax(function () {
           $output = jQueryFrame($output.selector);
-          return step == 4 && $output.text() == "Mathematics"
+          return step === 4 && $output.text() === "Mathematics"
         }, function () {
           $output = jQueryFrame($output.selector);
           assert.equal($output.text(), "Mathematics");
@@ -146,7 +146,7 @@ QUnit.test("multi: select Music, select
   $selectableNone.prop("checked", true).trigger("change");
 
   waitForAjax(function () {
-    return step == 1 && jQueryFrame(".tobago-treeSelect input").length == 0;
+    return step === 1 && jQueryFrame(".tobago-treeSelect input").length === 0;
   }, function () {
     assert.equal(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -154,7 +154,7 @@ QUnit.test("multi: select Music, select
     $selectableMulti.prop("checked", true).trigger("change");
 
     waitForAjax(function () {
-      return step == 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
+      return step === 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
     }, function () {
       assert.notEqual(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -163,7 +163,7 @@ QUnit.test("multi: select Music, select
 
       waitForAjax(function () {
         $output = jQueryFrame($output.selector);
-        return step == 3 && $output.text() == "Music"
+        return step === 3 && $output.text() === "Music"
       }, function () {
         $output = jQueryFrame($output.selector);
         assert.equal($output.text(), "Music");
@@ -173,7 +173,7 @@ QUnit.test("multi: select Music, select
 
         waitForAjax(function () {
           $output = jQueryFrame($output.selector);
-          return step == 4 && $output.text() == "Music, Mathematics"
+          return step === 4 && $output.text() === "Music, Mathematics"
         }, function () {
           $output = jQueryFrame($output.selector);
           assert.equal($output.text(), "Music, Mathematics");
@@ -183,7 +183,7 @@ QUnit.test("multi: select Music, select
 
           waitForAjax(function () {
             $output = jQueryFrame($output.selector);
-            return step == 5 && $output.text() == "Mathematics"
+            return step === 5 && $output.text() === "Mathematics"
           }, function () {
             $output = jQueryFrame($output.selector);
             assert.equal($output.text(), "Mathematics");
@@ -218,7 +218,7 @@ QUnit.test("multiLeafOnly: select Classi
   $selectableNone.prop("checked", true).trigger("change");
 
   waitForAjax(function () {
-    return step == 1 && jQueryFrame(".tobago-treeSelect input").length == 0;
+    return step === 1 && jQueryFrame(".tobago-treeSelect input").length === 0;
   }, function () {
     assert.equal(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -226,7 +226,7 @@ QUnit.test("multiLeafOnly: select Classi
     $selectableMultiLeafOnly.prop("checked", true).trigger("change");
 
     waitForAjax(function () {
-      return step == 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
+      return step === 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
     }, function () {
       assert.notEqual(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -235,7 +235,7 @@ QUnit.test("multiLeafOnly: select Classi
 
       waitForAjax(function () {
         $output = jQueryFrame($output.selector);
-        return step == 3 && $output.text() == "Classic"
+        return step === 3 && $output.text() === "Classic"
       }, function () {
         $output = jQueryFrame($output.selector);
         assert.equal($output.text(), "Classic");
@@ -245,7 +245,7 @@ QUnit.test("multiLeafOnly: select Classi
 
         waitForAjax(function () {
           $output = jQueryFrame($output.selector);
-          return step == 4 && $output.text() == "Classic, Mathematics"
+          return step === 4 && $output.text() === "Classic, Mathematics"
         }, function () {
           $output = jQueryFrame($output.selector);
           assert.equal($output.text(), "Classic, Mathematics");
@@ -255,7 +255,7 @@ QUnit.test("multiLeafOnly: select Classi
 
           waitForAjax(function () {
             $output = jQueryFrame($output.selector);
-            return step == 5 && $output.text() == "Mathematics"
+            return step === 5 && $output.text() === "Mathematics"
           }, function () {
             $output = jQueryFrame($output.selector);
             assert.equal($output.text(), "Mathematics");
@@ -293,7 +293,7 @@ QUnit.test("multiCascade: select Music,
   $selectableNone.prop("checked", true).trigger("change");
 
   waitForAjax(function () {
-    return step == 1 && jQueryFrame(".tobago-treeSelect input").length == 0;
+    return step === 1 && jQueryFrame(".tobago-treeSelect input").length === 0;
   }, function () {
     assert.equal(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -301,7 +301,7 @@ QUnit.test("multiCascade: select Music,
     $selectableMultiCascade.prop("checked", true).trigger("change");
 
     waitForAjax(function () {
-      return step == 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
+      return step === 2 && jQueryFrame(".tobago-treeSelect input").length > 0;
     }, function () {
       assert.notEqual(jQueryFrame(".tobago-treeSelect input").length, 0);
 
@@ -310,7 +310,7 @@ QUnit.test("multiCascade: select Music,
 
       waitForAjax(function () {
         $output = jQueryFrame($output.selector);
-        return step == 3 && $output.text() == "Music, Classic, Pop, World"
+        return step === 3 && $output.text() === "Music, Classic, Pop, World"
       }, function () {
         $output = jQueryFrame($output.selector);
         assert.equal($output.text(), "Music, Classic, Pop, World");
@@ -320,7 +320,7 @@ QUnit.test("multiCascade: select Music,
 
         waitForAjax(function () {
           $output = jQueryFrame($output.selector);
-          return step == 4 && $output.text() == "Music, Classic, Pop, World, Mathematics"
+          return step === 4 && $output.text() === "Music, Classic, Pop, World, Mathematics"
         }, function () {
           $output = jQueryFrame($output.selector);
           assert.equal($output.text(), "Music, Classic, Pop, World, Mathematics");
@@ -330,7 +330,7 @@ QUnit.test("multiCascade: select Music,
 
           waitForAjax(function () {
             $output = jQueryFrame($output.selector);
-            return step == 5 && $output.text() == "Music, Pop, World, Mathematics"
+            return step === 5 && $output.text() === "Music, Pop, World, Mathematics"
           }, function () {
             $output = jQueryFrame($output.selector);
             assert.equal($output.text(), "Music, Pop, World, Mathematics");

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/00/content-validation.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/00/content-validation.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/00/content-validation.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/00/content-validation.test.js Wed May 31 16:30:11 2017
@@ -29,7 +29,7 @@ QUnit.test("Required: Submit without con
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
       assert.equal($textarea.val(), textareaValue);
@@ -53,7 +53,7 @@ QUnit.test("Required: Submit with conten
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       $textarea = jQueryFrame($textarea.selector);
       assert.equal($messages.length, 0);
@@ -78,7 +78,7 @@ QUnit.test("Validate Length: Submit sing
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 
@@ -101,7 +101,7 @@ QUnit.test("Validate Length: Submit two
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 0);
 
@@ -124,7 +124,7 @@ QUnit.test("Validate Range: Submit no nu
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 
@@ -147,7 +147,7 @@ QUnit.test("Validate Range: Submit numbe
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 
@@ -170,7 +170,7 @@ QUnit.test("Validate Range: Submit numbe
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 
@@ -193,7 +193,7 @@ QUnit.test("Validate Range: Submit numbe
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 0);
 
@@ -216,7 +216,7 @@ QUnit.test("Regex Validation: Submit 'T'
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 
@@ -239,7 +239,7 @@ QUnit.test("Regex Validation: Submit '3'
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 
@@ -262,7 +262,7 @@ QUnit.test("Regex Validation: Submit 'T3
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 0);
 
@@ -285,7 +285,7 @@ QUnit.test("Custom Validator: Submit rej
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 
@@ -308,7 +308,7 @@ QUnit.test("Custom Validator: Submit acc
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 0);
 

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/01/validation-jsr303.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/01/validation-jsr303.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/01/validation-jsr303.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/01/validation-jsr303.test.js Wed May 31 16:30:11 2017
@@ -28,7 +28,7 @@ QUnit.test("Required: Submit without con
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 
@@ -51,7 +51,7 @@ QUnit.test("Required: Submit with conten
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 0);
 
@@ -74,7 +74,7 @@ QUnit.test("Length: Submit single charac
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 
@@ -97,7 +97,7 @@ QUnit.test("Length: Submit three charact
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 0);
 
@@ -120,7 +120,7 @@ QUnit.test("Length: Submit five characte
   $submit.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $messages = jQueryFrame($messages.selector);
       assert.equal($messages.length, 1);
 

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/08-form/10-required/form-required.test.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/08-form/10-required/form-required.test.js?rev=1797071&r1=1797070&r2=1797071&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/08-form/10-required/form-required.test.js (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/08-form/10-required/form-required.test.js Wed May 31 16:30:11 2017
@@ -26,7 +26,7 @@ QUnit.test("submit inner form 1 without
   $form1SubmitButton.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $form1InputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm1\\:in\\:\\:field");
       var $form1OutputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm1\\:out span");
       var $alert = jQueryFrame("#page\\:messages .alert-danger label");
@@ -55,7 +55,7 @@ QUnit.test("submit inner form 2, violate
   $form2SubmitButton.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $form2InputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:in\\:\\:field");
       var $form2OutputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:out span");
       var $alert = jQueryFrame("#page\\:messages .alert-danger label");
@@ -82,7 +82,7 @@ QUnit.test("submit inner form 2 without
   $form2SubmitButton.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $form2InputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:in\\:\\:field");
       var $form2OutputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:out span");
       var $alert = jQueryFrame("#page\\:messages .alert-danger label");
@@ -113,7 +113,7 @@ QUnit.test("submit outer form, violate b
   $outerFormSubmitButton.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $form2InputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:in\\:\\:field");
       var $form2OutputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:out span");
       $outerFormInputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:in\\:\\:field");
@@ -150,7 +150,7 @@ QUnit.test("submit outer form, violate r
   $outerFormSubmitButton.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $form2InputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:in\\:\\:field");
       var $form2OutputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:out span");
       $outerFormInputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:in\\:\\:field");
@@ -187,7 +187,7 @@ QUnit.test("submit outer form, violate r
   $outerFormSubmitButton.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $form2InputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:in\\:\\:field");
       var $form2OutputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:out span");
       $outerFormInputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:in\\:\\:field");
@@ -223,7 +223,7 @@ QUnit.test("submit outer form without vi
   $outerFormSubmitButton.click();
 
   jQuery("#page\\:testframe").load(function () {
-    if (step == 1) {
+    if (step === 1) {
       $form1InputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm1\\:in\\:\\:field");
       var $form1OutputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm1\\:out span");
       $form2InputField = jQueryFrame("#page\\:mainForm\\:outerForm\\:innerForm2\\:in\\:\\:field");



Mime
View raw message