From 7f0e7f8d5faab48694328fc88ce42885dc57f707 Mon Sep 17 00:00:00 2001 From: hyochan Date: Thu, 30 Aug 2018 02:02:42 +0900 Subject: [PATCH] Get rid of test_driver. --- example/lib/main.dart | 6 ------ example/pubspec.yaml | 2 -- example/test_driver/driver_test.dart | 27 --------------------------- 3 files changed, 35 deletions(-) delete mode 100644 example/test_driver/driver_test.dart diff --git a/example/lib/main.dart b/example/lib/main.dart index 172251bb7..c8c50271c 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,17 +1,11 @@ -import 'package:flutter_driver/driver_extension.dart'; - import 'package:flutter/material.dart'; import 'package:intl/intl.dart' show DateFormat; import 'dart:io'; import 'dart:async'; -import 'dart:convert'; - -import 'package:flutter/services.dart'; import 'package:flutter_sound/flutter_sound.dart'; void main() { - enableFlutterDriverExtension(); runApp(new MyApp()); } diff --git a/example/pubspec.yaml b/example/pubspec.yaml index d6cf398b2..564716ef2 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -21,8 +21,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_driver: - sdk: flutter flutter_sound: path: ../ diff --git a/example/test_driver/driver_test.dart b/example/test_driver/driver_test.dart deleted file mode 100644 index 8aa5df9aa..000000000 --- a/example/test_driver/driver_test.dart +++ /dev/null @@ -1,27 +0,0 @@ -import 'dart:async'; - -// Imports the Flutter Driver API -import 'package:flutter_driver/flutter_driver.dart'; -import 'package:test/test.dart'; - -void main() { - group('AudioRecorder', () { - FlutterDriver driver; - - setUpAll(() async { - // Connects to the app - driver = await FlutterDriver.connect(); - }); - - tearDownAll(() async { - if (driver != null) { - // Closes the connection - driver.close(); - } - }); - - test('startRecorder', () async { - /// Start recorder - }); - }); -}