Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-9279: BlackBerry: Add --blackberry-device and --blackberry-password to drillbit #78

Merged
merged 2 commits into from
Jun 15, 2012

Commits on Jun 12, 2012

  1. TIMOB-9279: BlackBerry: Add --blackberry-device and --blackberry-pass…

    …word to drillbit
    
    [Issues Fixed]
    TIMOB-9279: BlackBerry: Add --blackberry-device and --blackberry-password to drillbit
    
    [Changes]
    drillbit.py
    - added usage
    
    blackberry.js
    - function BlackBerrySimulator
      - store the blackberry args
    - function createDeviceManagementProcess
      - replace the unused args with the used ones
    - functions isTestHarnessRunning, pushTestJS, launchTestHarness, killTestHarness
      - use the builder process instead of devicemanagement
    
    builder.py
    - functions __init__, __name__
      - add useLogFile param to direct output to log file or stdout based on the command
    - function run
      - move the package name to a reusable function getPackage
    - added functions terminateApp, isAppRunning, printExitCode, getFile, putFile, appLog
    - function __name__
      - added usage, options, and handling for the new commands
    
    devicemanagement.py
    - use optparse instead of argparse
    - move package-related commands to builder.py
    
    [Tests]
    Test 1: Run drillbit
    1) Run scons to build the mobile sdk
    2) Run the following command:
    drillbit\drillbit.py --platforms=blackberry --blackberry-device=<ip address>
    3) Click "run tests"
    4) Verify the test_harness app is built, deployed, and run
    5) Verify the logs are printed
    Note: The test will fail because some things aren't implemented
    dlifshitz-maca committed Jun 12, 2012
    Configuration menu
    Copy the full SHA
    cd8c694 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2012

  1. TIMOB-9279: BlackBerry: Add --blackberry-device and --blackberry-pass…

    …word to drillbit
    
    fix usage and required
    dlifshitz-maca committed Jun 14, 2012
    Configuration menu
    Copy the full SHA
    b2a831e View commit details
    Browse the repository at this point in the history