[MOD-2794] Android BLE: Central Part 1 & 2 - Unit-Tests
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | None |
| Status | Closed |
| Resolution | Done |
| Resolution Date | 2020-12-17T09:00:25.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | BLE |
| Labels | android |
| Reporter | Aakash Jain |
| Assignee | Akansha Maheshwari |
| Created | 2020-10-08T12:54:52.000+0000 |
| Updated | 2020-12-17T09:00:25.000+0000 |
Description
This covers unit-tests handling/implementation for both Central Stories: MOD-2782, MOD-2689,
This covers UTs for below code:
+Scanning Story code+: startScan, retrievePeripherals, stopScan, createPeripheral. Constants: AllThoseRequired, Events:- didDiscoveredperhipheral,
+Connect and Discover Code+:
+BluetoothModule Class+: Methods: cancelPeripheralConnection, connectPeripheral, create peripheral. Properties: N/A, Required Constants. Events:- didConnectPeripheral, didDisconnectedPeripheral, didFailToConnectPeripheral
+Peripheral class:+ Methods: discoverCharacterstics, discoverDescriptorForCharacterstics, discoverIncludedServices, getAddress, requestConnectionPriority, readRssi, discoverServices, Properties: All, Events: thoseRequired
https://github.com/appcelerator/appcelerator.ble/pull/54
https://jenkins.appcelerator.org/job/titanium-sdk/job/appcelerator.ble/job/develop/53/testReport/