From 3616993659efb65fe2b45092c38be558d837d612 Mon Sep 17 00:00:00 2001 From: Lukas Lihotzki Date: Mon, 19 Apr 2021 20:35:50 +0200 Subject: [PATCH] remove unneeded files --- lib/flutter_openssl_crypto.dart | 14 -------------- test/flutter_openssl_crypto_test.dart | 24 +----------------------- 2 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 lib/flutter_openssl_crypto.dart diff --git a/lib/flutter_openssl_crypto.dart b/lib/flutter_openssl_crypto.dart deleted file mode 100644 index 064f57f..0000000 --- a/lib/flutter_openssl_crypto.dart +++ /dev/null @@ -1,14 +0,0 @@ - -import 'dart:async'; - -import 'package:flutter/services.dart'; - -class FlutterOpensslCrypto { - static const MethodChannel _channel = - const MethodChannel('flutter_openssl_crypto'); - - static Future get platformVersion async { - final String version = await _channel.invokeMethod('getPlatformVersion'); - return version; - } -} diff --git a/test/flutter_openssl_crypto_test.dart b/test/flutter_openssl_crypto_test.dart index 33ef7e9..ab73b3a 100644 --- a/test/flutter_openssl_crypto_test.dart +++ b/test/flutter_openssl_crypto_test.dart @@ -1,23 +1 @@ -import 'package:flutter/services.dart'; -import 'package:flutter_test/flutter_test.dart'; -import 'package:flutter_openssl_crypto/flutter_openssl_crypto.dart'; - -void main() { - const MethodChannel channel = MethodChannel('flutter_openssl_crypto'); - - TestWidgetsFlutterBinding.ensureInitialized(); - - setUp(() { - channel.setMockMethodCallHandler((MethodCall methodCall) async { - return '42'; - }); - }); - - tearDown(() { - channel.setMockMethodCallHandler(null); - }); - - test('getPlatformVersion', () async { - expect(await FlutterOpensslCrypto.platformVersion, '42'); - }); -} +void main() {}