Macadamian/titanium_mobile — pull request #152 by dlifshitz-maca (2012-09-07 15:48:06+00:00)
Title: TIMOB-9840: BlackBerry: Integrate Anvil unit test framework and get tests to run

Reviewer: JP

```
[Issues Fixed]
TIMOB-9840: BlackBerry: Integrate Anvil unit test framework and get tests to run

[Description]
The latest merge changed from using / to separate paths to using the node.js' path.join function. This caused the paths on Windows to use \, but the cp command fails with that.
For now, we'll just change the separators, but this should be removed when a proper fix is implemented.

[Changes]
common.js
- use function fixPathSeparator
- change to not put two cp args into the path.join call so it won't add an extra path separator

driverUtils.js
- added function fixPathSeparator

[Tests]
Test 1: Run Anvil
1) Set the variables in config.js
2) Run Anvil
3) Verify all the tests run and there are no errors
```