Files
GSFV2/test/flutter_swift_method_channel_test.dart
2024-04-10 12:51:20 +05:30

25 lines
629 B
Dart

import 'package:flutter/services.dart';
import 'package:icdevicemanager_flutter/ic_bluetooth_sdk_method_channel.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
MethodChannelIcBluetoothSdk platform = MethodChannelIcBluetoothSdk();
const MethodChannel channel = MethodChannel('ic_bluetooth_sdk');
TestWidgetsFlutterBinding.ensureInitialized();
setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
return '42';
});
});
tearDown(() {
channel.setMockMethodCallHandler(null);
});
test('getPlatformVersion', () async {
});
}