File tree Expand file tree Collapse file tree 12 files changed +80
-50
lines changed
tests/unit/Interactions/Internal Expand file tree Collapse file tree 12 files changed +80
-50
lines changed Original file line number Diff line number Diff line change 2626 },
2727 "autoload-dev" : {
2828 "psr-4" : {
29- "Facebook\\ WebDriver\\ " : " tests/functional"
30- }
29+ "Facebook\\ WebDriver\\ " : " tests/unit"
30+ },
31+ "classmap" : [" tests/functional/" ]
3132 }
3233}
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- use Facebook \WebDriver \Interactions \Internal \WebDriverButtonReleaseAction ;
16+ namespace Facebook \WebDriver \Interactions \Internal ;
17+
18+ use Facebook \WebDriver \Internal \WebDriverLocatable ;
19+ use Facebook \WebDriver \WebDriverMouse ;
1720
1821class WebDriverButtonReleaseActionTest extends \PHPUnit_Framework_TestCase {
19- /**
20- * @type WebDriverButtonReleaseAction
21- */
22+ /** @var WebDriverButtonReleaseAction */
2223 private $ webDriverButtonReleaseAction ;
23-
24+ /** @var WebDriverMouse|\PHPUnit_Framework_MockObject_MockObject */
2425 private $ webDriverMouse ;
26+ /** @var WebDriverLocatable|\PHPUnit_Framework_MockObject_MockObject */
2527 private $ locationProvider ;
2628
2729 public function setUp () {
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- use Facebook \WebDriver \Interactions \Internal \WebDriverClickAction ;
16+ namespace Facebook \WebDriver \Interactions \Internal ;
17+
18+ use Facebook \WebDriver \Internal \WebDriverLocatable ;
19+ use Facebook \WebDriver \WebDriverMouse ;
1720
1821class WebDriverClickActionTest extends \PHPUnit_Framework_TestCase {
19- /**
20- * @type WebDriverClickAction
21- */
22+ /** @var WebDriverClickAction */
2223 private $ webDriverClickAction ;
23-
24+ /** @var WebDriverMouse|\PHPUnit_Framework_MockObject_MockObject */
2425 private $ webDriverMouse ;
26+ /** @var WebDriverLocatable|\PHPUnit_Framework_MockObject_MockObject */
2527 private $ locationProvider ;
2628
2729 public function setUp () {
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- use Facebook \WebDriver \Interactions \Internal \WebDriverClickAndHoldAction ;
16+ namespace Facebook \WebDriver \Interactions \Internal ;
17+
18+ use Facebook \WebDriver \Internal \WebDriverLocatable ;
19+ use Facebook \WebDriver \WebDriverMouse ;
1720
1821class WebDriverClickAndHoldActionTest extends \PHPUnit_Framework_TestCase {
19- /**
20- * @type WebDriverClickAndHoldAction
21- */
22+ /** @var WebDriverClickAndHoldAction */
2223 private $ webDriverClickAndHoldAction ;
23-
24+ /** @var WebDriverMouse|\PHPUnit_Framework_MockObject_MockObject */
2425 private $ webDriverMouse ;
26+ /** @var WebDriverLocatable|\PHPUnit_Framework_MockObject_MockObject */
2527 private $ locationProvider ;
2628
2729 public function setUp () {
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- use Facebook \WebDriver \Interactions \Internal \WebDriverContextClickAction ;
16+ namespace Facebook \WebDriver \Interactions \Internal ;
17+
18+ use Facebook \WebDriver \Internal \WebDriverLocatable ;
19+ use Facebook \WebDriver \WebDriverMouse ;
1720
1821class WebDriverContextClickActionTest extends \PHPUnit_Framework_TestCase {
19- /**
20- * @type WebDriverContextClickAction
21- */
22+ /** @var WebDriverContextClickAction */
2223 private $ webDriverContextClickAction ;
23-
24+ /** @var WebDriverMouse|\PHPUnit_Framework_MockObject_MockObject */
2425 private $ webDriverMouse ;
26+ /** @var WebDriverLocatable|\PHPUnit_Framework_MockObject_MockObject */
2527 private $ locationProvider ;
2628
2729 public function setUp () {
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- use Facebook \WebDriver \Interactions \Internal \ WebDriverCoordinates ;
16+ namespace Facebook \WebDriver \Interactions \Internal ;
1717
1818class WebDriverCoordinatesTest extends \PHPUnit_Framework_TestCase {
1919 public function testConstruct () {
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- use Facebook \WebDriver \Interactions \Internal \WebDriverDoubleClickAction ;
16+ namespace Facebook \WebDriver \Interactions \Internal ;
17+
18+ use Facebook \WebDriver \Internal \WebDriverLocatable ;
19+ use Facebook \WebDriver \WebDriverMouse ;
1720
1821class WebDriverDoubleClickActionTest extends \PHPUnit_Framework_TestCase {
19- /**
20- * @type WebDriverDoubleClickAction
21- */
22+ /** @var WebDriverDoubleClickAction */
2223 private $ webDriverDoubleClickAction ;
23-
24+ /** @var WebDriverMouse|\PHPUnit_Framework_MockObject_MockObject */
2425 private $ webDriverMouse ;
26+ /** @var WebDriverLocatable|\PHPUnit_Framework_MockObject_MockObject */
2527 private $ locationProvider ;
2628
2729 public function setUp () {
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- use Facebook \WebDriver \Interactions \Internal \WebDriverKeyDownAction ;
16+ namespace Facebook \WebDriver \Interactions \Internal ;
17+
18+ use Facebook \WebDriver \Internal \WebDriverLocatable ;
19+ use Facebook \WebDriver \WebDriverKeyboard ;
20+ use Facebook \WebDriver \WebDriverMouse ;
1721
1822class WebDriverKeyDownActionTest extends \PHPUnit_Framework_TestCase {
19- /**
20- * @type WebDriverKeyDownAction
21- */
23+ /** @var WebDriverKeyDownAction */
2224 private $ webDriverKeyDownAction ;
23-
25+ /** @var WebDriverKeyboard|\PHPUnit_Framework_MockObject_MockObject */
2426 private $ webDriverKeyboard ;
27+ /** @var WebDriverMouse|\PHPUnit_Framework_MockObject_MockObject */
2528 private $ webDriverMouse ;
29+ /** @var WebDriverLocatable|\PHPUnit_Framework_MockObject_MockObject */
2630 private $ locationProvider ;
2731
2832 public function setUp () {
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- use Facebook \WebDriver \Interactions \Internal \WebDriverKeyUpAction ;
16+ namespace Facebook \WebDriver \Interactions \Internal ;
17+
18+ use Facebook \WebDriver \Internal \WebDriverLocatable ;
19+ use Facebook \WebDriver \WebDriverKeyboard ;
20+ use Facebook \WebDriver \WebDriverMouse ;
1721
1822class WebDriverKeyUpActionTest extends \PHPUnit_Framework_TestCase {
19- /**
20- * @type WebDriverKeyUpAction
21- */
23+ /** @var WebDriverKeyUpAction */
2224 private $ webDriverKeyUpAction ;
23-
25+ /** @var WebDriverKeyboard|\PHPUnit_Framework_MockObject_MockObject */
2426 private $ webDriverKeyboard ;
27+ /** @var WebDriverMouse|\PHPUnit_Framework_MockObject_MockObject */
2528 private $ webDriverMouse ;
29+ /** @var WebDriverLocatable|\PHPUnit_Framework_MockObject_MockObject */
2630 private $ locationProvider ;
2731
2832 public function setUp () {
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- use Facebook \WebDriver \Interactions \Internal \WebDriverMouseMoveAction ;
16+ namespace Facebook \WebDriver \Interactions \Internal ;
17+
18+ use Facebook \WebDriver \Internal \WebDriverLocatable ;
19+ use Facebook \WebDriver \WebDriverMouse ;
1720
1821class WebDriverMouseMoveActionTest extends \PHPUnit_Framework_TestCase {
19- /**
20- * @type WebDriverMouseMoveAction
21- */
22+ /** @var WebDriverMouseMoveAction */
2223 private $ webDriverMouseMoveAction ;
23-
24+ /** @var WebDriverMouse|\PHPUnit_Framework_MockObject_MockObject */
2425 private $ webDriverMouse ;
26+ /** @var WebDriverLocatable|\PHPUnit_Framework_MockObject_MockObject */
2527 private $ locationProvider ;
2628
2729 public function setUp () {
You can’t perform that action at this time.
0 commit comments