Files
huangguo_android/m3u8_downloader-master/test/m3u8_downloader_test.dart
T
2026-09-15 15:44:13 +07:00

23 lines
510 B
Dart

import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
const MethodChannel channel = MethodChannel('m3u8_downloader');
TestWidgetsFlutterBinding.ensureInitialized();
setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
return '42';
});
});
tearDown(() {
channel.setMockMethodCallHandler(null);
});
test('getPlatformVersion', () async {
// expect(await M3u8Downloader.platformVersion, '42');
});
}