Macadamian/titanium_mobile — pull request #120 by dlifshitz-maca (2012-07-30 17:19:26+00:00)
Title: TIMOB-10163: BlackBerry: Add BlackBerry to anvil test harness app

Reviewer: Alex

```
[Issues Fixed]
TIMOB-10163: BlackBerry: Add BlackBerry to anvil test harness app
TIMOB-10230: BlackBerry: App.Properties: Can't set same key twice

[Changes]
includes.js
- added BlackBerry text where appropriate

platform.js
- added check for BlackBerry runtime

android/tiapp.xml, android_calendar/tiapp.xml, app/tiapp.xml, default/tiapp.xml, includes/tiapp.xml
- added BlackBerry schema

exampleConfig.js
- added BlackBerry port

android.js, ios.js, mobileweb.js
- fix running python process on Windows

NativeSimpleDBInterface.cpp
- use REPLACE instead of INSERT to replace the simpleValue if the simpleKey exists

[Tests]
Test 1: Force creation of test harness
1) Add blackberry to the platforms in android.js's buildHarness function
2) Start anvil for android and run a test
3) Stop the test once the test harness is created and verify it contains the blackberry files
4) Manually build and run the test harness for blackberry
5) Verify there are no errors and it runs
Note: It will crash due to Socket not being implemented

Test 2: Set more than once using Ti.App.Properties
1) Create a project and write code in app.js to set the same property multiple times
2) Build, package, and run the app
3) Verify the app doesn't crash and the property was successfully written multiple times
```