Uh oh!
There was an error while loading. Please reload this page.
Unit tests for peripheral - #442
Conversation
7ea2b71 to
20c8126CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| Descriptor.fromJson(Map<String, dynamic> jsonObject, | ||
| Characteristic characteristic, ManagerForDescriptor manager, | ||
| {TransactionIdGenerator transactionIdGenerator = | ||
| TransactionIdGenerator.INSTANCE}) |
There was a problem hiding this comment.
| TransactionIdGenerator.INSTANCE}) | |
| TransactionIdGenerator.INSTANCE,}) |
and run formatter
| Peripheral.fromJson(Map<String, dynamic> json, ManagerForPeripheral manager) | ||
| Peripheral.fromJson(Map<String, dynamic> json, ManagerForPeripheral manager, | ||
| {TransactionIdGenerator transactionIdGenerator = | ||
| TransactionIdGenerator.INSTANCE}) |
There was a problem hiding this comment.
| TransactionIdGenerator.INSTANCE}) | |
| TransactionIdGenerator.INSTANCE,}) |
and run formatter
| Service.fromJson(Map<String, dynamic> jsonObject, Peripheral peripheral, | ||
| ManagerForService managerForService, | ||
| {TransactionIdGenerator transactionIdGenerator = | ||
| TransactionIdGenerator.INSTANCE}) |
There was a problem hiding this comment.
| TransactionIdGenerator.INSTANCE}) | |
| TransactionIdGenerator.INSTANCE,}) |
and run formatter
| TransactionIdGenerator _transactionIdGenerator; | ||
| InternalBleManager() { | ||
| InternalBleManager({TransactionIdGenerator transactionIdGenerator = TransactionIdGenerator.INSTANCE}) { |
There was a problem hiding this comment.
| InternalBleManager({TransactionIdGenerator transactionIdGenerator =TransactionIdGenerator.INSTANCE}) { | |
| InternalBleManager({TransactionIdGenerator transactionIdGenerator =TransactionIdGenerator.INSTANCE,}) { |
and run formatter
| abstract class TransactionIdGenerator { | ||
| class TransactionIdGenerator { | ||
| static int _id = 0; | ||
| static const TransactionIdGenerator INSTANCE = const TransactionIdGenerator._internal(); |
| TransactionIdGenerator transactionIdGenerator; | ||
| setUp((){ | ||
| transactionIdGenerator = TransactionIdGenerator.INSTANCE; |
There was a problem hiding this comment.
This will be the same instance in both tests.
No description provided.