remove 'mobile: ' interface for appium commands

leave the gesture commands for now incase we need the clients to fall
back to them pending full working through the touchaction/multiaction
api
This commit is contained in:
Jonathan Lipps
2014-04-14 15:07:23 -07:00
parent 517b7f1964
commit caa5463dba
-24
View File
@@ -1014,36 +1014,12 @@ var mobileCmdMap = {
, 'swipe': exports.mobileSwipe
, 'scrollTo': exports.mobileScrollTo
, 'scroll': exports.mobileScroll
, 'shake': exports.mobileShake
, 'hideKeyboard': exports.hideKeyboard
, 'setCommandTimeout': exports.setCommandTimeout
, 'setValue' : exports.setValueImmediate
, 'reset' : exports.reset
, 'lock' : exports.lock
, 'background' : exports.background
, 'keyevent' : exports.keyevent
, 'find': exports.find
, 'currentActivity': exports.getCurrentActivity
, 'installApp': exports.installApp
, 'removeApp': exports.removeApp
, 'isAppInstalled': exports.isAppInstalled
, 'launchApp': exports.launchApp
, 'closeApp': exports.closeApp
, 'rotate': exports.mobileRotation
, 'longClick' : exports.touchLongClick
, 'down' : exports.touchDown
, 'up' : exports.touchUp
, 'move' : exports.touchMove
, 'pinchClose': exports.mobilePinchClose
, 'pinchOpen': exports.mobilePinchOpen
, 'getStrings': exports.getStrings
, 'toggleData': exports.toggleData
, 'toggleFlightMode': exports.toggleFlightMode
, 'toggleWiFi': exports.toggleWiFi
, 'toggleLocationServices': exports.toggleLocationServices
, 'endCoverage': exports.endCoverage
, 'pushFile': exports.pushFile
, 'pullFile': exports.pullFile
};
exports.produceError = function (req, res) {