Macadamian/titanium_mobile — pull request #48 by dlifshitz-maca (2012-05-10 12:10:52+00:00)
Title: TIMOB-9014: BlackBerry: Add BlackBerry to drillbit test harness app

Reviewers: JP, David C

[Issues Fixed]
TIMOB-9014: BlackBerry: Add BlackBerry to drillbit test harness app

[Changed]
tiapp_harness.xml
- added blackberry xmlns

blackberry.js
- function installTestHarness
- added suite parameter
- call launchTestHarness
- function launchTestHarness
- added suite parameter
- build, deploy, and run the test_harness app
- function runTestHarness
- pass 'blackberry' to handleTestError
- set the status to Running
- pass the suite parameter

drillbitmodule.js
- function initPlatforms
- fix getting the env vars
- function handleTestError
- added parameter platform and use 'android' as the default for backwards compatability

blackberryndk.py, builder.py
- use return code

[Tests]
Test 1: Run drillbit
1) Build tibb
2) change simulator IP in builder.py
3) Run scons to build the mobile sdk
4) Run the following command:
drillbit\drillbit.py --platforms=blackberry
5) Verify the tests are shown
6) Click "run tests"
7) Verify the test_harness app is build and deployed
Note: the BlackBerry tests will not complete because communication with the simulator is not implemented