Browse files

Added tests for NodeList and hasAttr changes

  • Loading branch information...
1 parent 6e63b5d commit cec2e38bdf6697c3420d30424b9803bbfca8d8c0 @danconn danconn committed Mar 29, 2013
Showing with 4 additions and 0 deletions.
  1. +2 −0 tests/basic/expected.js
  2. +2 −0 tests/basic/input.js
View
2 tests/basic/expected.js
@@ -122,6 +122,7 @@ define([
log.debug('This shouldnt be ignored');
domClass.add('class');
domAttr.attr('aria');
+ domAttr.has('data-some-attr');
dojoDom.byId('someId');
dojoDom.setSelectable({}, true);
domConstruct.place('' + title + '', html);
@@ -170,6 +171,7 @@ define([
domClass.toggle();
domClass.remove();
dojoQuery('sdfsdf', dom);
+ dojoQuery.NodeList();
dijitFocus.focus(domelement);
dojoLang.trim(' sdfsdf sdf ');
PTO.service.get('Employee');
View
2 tests/basic/input.js
@@ -37,6 +37,7 @@ dojo.declare('PTO.widget.document.DocumentViewerLoader', [PTO.something.Thing, P
PTO.log.debug('This shouldnt be ignored');
dojo.addClass('class');
dojo.attr('aria');
+ dojo.hasAttr('data-some-attr');
dojo.byId('someId');
dojo.place('' + title + '', html);
dojo.place('<span id="printCaseTitle" style="display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%;">' +
@@ -85,6 +86,7 @@ dojo.declare('PTO.widget.document.DocumentViewerLoader', [PTO.something.Thing, P
dojo.toggleClass();
dojo.removeClass();
dojo.query('sdfsdf', dom);
+ dojo.NodeList();
dijit.focus(domelement);
dojo.trim(' sdfsdf sdf ');
PTO.service.get('Employee');

0 comments on commit cec2e38

Please sign in to comment.