From richfaces-svn-commits at lists.jboss.org Tue Aug 12 10:04:26 2008 Content-Type: multipart/mixed; boundary="===============2860152073096083073==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r10051 - in trunk/test-applications/seleniumTest/src: main/webapp/pages/orderingList and 2 other directories. Date: Tue, 12 Aug 2008 10:04:25 -0400 Message-ID: --===============2860152073096083073== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: andrei_exadel Date: 2008-08-12 10:04:25 -0400 (Tue, 12 Aug 2008) New Revision: 10051 Modified: trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtml trunk/test-applications/seleniumTest/src/main/webapp/pages/orderingList/= orderingListTest.xhtml trunk/test-applications/seleniumTest/src/test/java/org/richfaces/Seleniu= mTestBase.java trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/= ListShuttleTest.java trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/= OrderingListTest.java Log: Ordering Test refactoring Modified: trunk/test-applications/seleniumTest/src/main/webapp/layout/layou= t.xhtml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtm= l 2008-08-12 13:05:36 UTC (rev 10050) +++ trunk/test-applications/seleniumTest/src/main/webapp/layout/layout.xhtm= l 2008-08-12 14:04:25 UTC (rev 10051) @@ -71,21 +71,21 @@ element.innerHTML =3D 'No'; } = - function fireMouseEvent(id, eventName, x, y) { + function fireMouseEvent(id,eventName, x, y, ctrl) { var e =3D $(id); var evt; if (document.createEvent) { evt =3D document.createEvent("MouseEvents"); - evt.initMouseEvent(eventName, true, true, window,0, x, y, x, y, false,= false, false, false, 0, null); + evt.initMouseEvent(eventName, true, true, window,0, x, y, x, y, ctrl, = false, false, false, 0, null); evt.srcElement =3D e; e.dispatchEvent(evt); - return evt; }else { if (e[eventName]) { return e[eventName](); } } } + =