text: /**
   * dojox - A version of dojox.js framework that ported to running on skylarkjs.
   * @author Hudaokeji, Inc.
   * @version v0.9.0
   * @link https://github.com/skylark-integration/dojox/
   * @license MIT
   */
  dojo.addOnLoad(function(){doh.register("dojox.mobile.test.doh.Heading2",[{name:"Heading Verification",timeout:4e3,runTest:function(){var e=new doh.Deferred;return setTimeout(e.getTestCallback(function(){var e=dijit.byId("dojox_mobile_Heading_0");doh.assertTrue("mblHeading mblHeadingRtl mblHeadingCenterTitle"==e.domNode.className||"mblHeading"==e.domNode.className,"Heading 0: class name(s) of demo widget dom node is "+e.domNode.className),doh.assertEqual("General",e.domNode.childNodes[1].childNodes[0].nodeValue),doh.assertEqual("Settings",e.backButton.labelNode.innerHTML),e=dijit.byId("dojox_mobile_Heading_1"),doh.assertTrue("mblHeading mblHeadingRtl mblHeadingCenterTitle"==e.domNode.className||"mblHeading"==e.domNode.className,"Heading 1: class name(s) of demo widget dom node is "+e.domNode.className),doh.assertEqual("Test",e.domNode.childNodes[1].childNodes[0].nodeValue),doh.assertEqual("Go To",e.backButton.labelNode.innerHTML),e=dijit.byId("dojox_mobile_Heading_2"),doh.assertTrue("mblHeading mblHeadingRtl mblHeadingCenterTitle"==e.domNode.className||"mblHeading"==e.domNode.className,"Heading 2: class name(s) of demo widget dom node is "+e.domNode.className),doh.assertEqual("Test",e.domNode.childNodes[1].childNodes[0].nodeValue),doh.assertEqual("Settings",e.backButton.labelNode.innerHTML),e=dijit.byId("dojox_mobile_Heading_3"),doh.assertTrue("mblHeading mblHeadingRtl mblHeadingCenterTitle"==e.domNode.className||"mblHeading mblHeadingRtl"==e.domNode.className||"mblHeading"==e.domNode.className,"Heading 3: class name(s) of demo widget dom node is "+e.domNode.className),doh.assertEqual("Very Very Long Title May Not Be Displayed in the Narrow Space",e.domNode.childNodes[1].childNodes[0].nodeValue),doh.assertEqual("3",e.domNode.childNodes.length),doh.assertEqual("Long Button",e.backButton.labelNode.innerHTML)})),e}},{name:"Set",timeout:1e3,runTest:function(){var e=dijit.byId("dojox_mobile_Heading_2");e.set({back:"Value Changed",label:"Value Changed",moveTo:"bar",transition:"flip"}),doh.assertEqual("Value Changed",e.get("label"),'get("label")'),doh.assertEqual("Value Changed",e.get("back"),'get("back")'),doh.assertEqual("bar",e.get("moveTo")),doh.assertEqual("flip",e.get("transition")),doh.assertEqual("Value Changed",e.backButton.label,"demoWidget.backButton.label"),doh.assertEqual("Value Changed",e.backButton.labelNode.innerHTML,"demoWidget.backButton.labelNode.innerHTML"),(e=dijit.byId("dojox_mobile_Heading_5")).set({transition:"fade"}),doh.assertEqual("fade",e.get("transition"))}},{name:"moveTo",timeout:1e3,runTest:function(){var e=new doh.Deferred,d=dijit.byId("dojox_mobile_Heading_2");return fireOnMouseDown(d.backButton.domNode),fireOnMouseUp(d.backButton.domNode),setTimeout(e.getTestCallback(function(){var e=dijit.byId("bar");doh.assertEqual("inherit",e.domNode.style.visibility)})),e}},{name:"moveTo",timeout:1e3,runTest:function(){setTimeout(function(){var e=new doh.Deferred,d=dijit.byId("dojox_mobile_Heading_5");return fireOnClick(d.domNode.childNodes[0].childNodes[1]),setTimeout(e.getTestCallback(function(){var e=dijit.byId("general");doh.assertEqual("visible",e.domNode.style.visibility)})),e},1500)}}]),doh.run()});
  //# sourceMappingURL=../../../../sourcemaps/mobile/tests/doh/bidi/Heading2_rtl.js.map
  