Macadamian/titanium_mobile — pull request #150 by dlifshitz-maca (2012-09-05 20:19:59+00:00)
Title: TIMOB-10713: BlackBerry: Anvil: Add ability to run on device

Reviewer: Alex
Note: Depends on https://github.com/Macadamian/titanium_mobile/pull/149

```
[Issues Fixed]
TIMOB-10713: BlackBerry: Anvil: Add ability to run on device

[Changes]
driver.js
- function loadConfigModule
- make sure blackberryDeviceType is set

exampleConfig.js
- add blackberryDeviceType, blackberryDevicePassword, blackberryDebugToken

blackberry.js
- use the new variables
- centralize common args

blackberryndk.py, builder.py
- add optional password

[Tests]
Test 1: Verify password in build scripts
1) Run builder.py on a device with a password for the follwong commands:
uninstallApp
terminateApp
isAppRunning
printExitCode
getFile
putFile
appLog
2) Verify there are no errors

Test 2: Run Anvil on device
1) Set the variables in config.js to test on a device
2) Run Anvil
3) Verify all the tests run and there are no errors
```