Running TCK for bluecove developers

Start TCK agent, (Preferably on Linux)

'bluecove-tester' can run in console mod from telnet.

  • cd bluecove-examples/bluecove-tester/scripts/linux
  • ./bluecove-gpl.sh or bluecove-gpl-device1.sh
  • Press 'T'

Start Gatling (on Windows or Linux)

  • Import tests to run

    Unzip Bluetooth_1-1-1_002_TCK.zip or OBEX_1-1-1_002_TCK.zip

    Import tests to run
  • Select 'Server Host' as 'tckhost'

    We will use tckhost in scripts

    Server Host
  • Enter bluetooth address of TCK agent

    File -> Open Metadata Config

    Metadata Config
        bluetooth.address=0B1000000002 (address of device with running TCK agent)
        bluetooth.goep_enabled=true
        bluetooth.agent_mtu=512
        device.platform=MIDP
        timeout_short=2000
        timeout_medium=5000
        timeout_long=10000
        bluetooth.master.switch=false
        bluetooth.connected.page=true
        bluetooth.connected.inquiry=true
        bluetooth.connected.inquiry.scan=true
        bluetooth.connected.page.scan=true
        obex.permissions.enabled=true
        bluetooth.permissions.enabled=true
    Metadata Config

    For OBEX tests:

        obex.address=0B1000000002  (address of device with running TCK agent)
        obex.scheme=btgoep
        timeout_short=2000
        timeout_medium=5000
        timeout_long=10000
  • Select tests you want to run ...

    ...

    Select tests
  • Tests -> Start

    ...

    Gatling is ready

Start TCK client on your test system

  • vi /etc/hosts (C:\WINDOWS\system32\drivers\etc\hosts) and add tckhost as IP of your Gatling computer
  • Copy microemulator distribution to ../3p/microemulator;

    3p directory is the same level as bluecove

    Build directory
  • cd bluecove-examples/bluecove-tester/scripts/TCK
  • ./run-me2-gatling-test-gpl.sh (run-me2-gatling-test-widcomm.cmd)