You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2018/11/02 16:10:46 UTC

[myfaces-tobago] branch master updated: improve tests

This is an automated email from the ASF dual-hosted git repository.

hnoeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new c719e18  improve tests
c719e18 is described below

commit c719e18d442ac8c8da47bf31203d7c89474fb516
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Fri Nov 2 16:10:27 2018 +0100

    improve tests
    
    * test on '???' in the page content
---
 .../tobago-example-demo/src/main/webapp/script/tobago-test.js         | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/script/tobago-test.js b/tobago-example/tobago-example-demo/src/main/webapp/script/tobago-test.js
index efe60cb..c8edd8b 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/script/tobago-test.js
+++ b/tobago-example/tobago-example-demo/src/main/webapp/script/tobago-test.js
@@ -57,3 +57,7 @@ QUnit.test("duplicated IDs", function (assert) {
   var duplicatedIDs = getDuplicatedIDs();
   assert.equal(duplicatedIDs.length, 0, "duplicated IDs are: " + duplicatedIDs);
 });
+
+QUnit.test("test '???'", function (assert) {
+  assert.equal(jQueryFrame("*:contains('???')").length, 0, "There must no '???' on the site.");
+});