From 4583da61d002a7d46707522d2b1be8fb1b9411c0 Mon Sep 17 00:00:00 2001 From: Markin Igor <markin.io210@gmail.com> Date: Wed, 24 Jul 2019 17:13:32 +0500 Subject: [PATCH] Use git link for flutter_web_browser --- deps/flutter_web_browser | 1 - ios/Podfile.lock | 2 +- pubspec.lock | 8 +++++--- pubspec.yaml | 2 +- test/widget_test.dart | 30 ------------------------------ 5 files changed, 7 insertions(+), 36 deletions(-) delete mode 160000 deps/flutter_web_browser delete mode 100644 test/widget_test.dart diff --git a/deps/flutter_web_browser b/deps/flutter_web_browser deleted file mode 160000 index 4a4ca60..0000000 --- a/deps/flutter_web_browser +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4a4ca60794496b2dbf5bf7eb1f345038619b7855 diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 9fef126..82d1b5a 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -48,4 +48,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 097b64e1c00903a097fa4231dd174c10dfb3b629 -COCOAPODS: 1.7.4 +COCOAPODS: 1.7.5 diff --git a/pubspec.lock b/pubspec.lock index 27f5ae1..53b08bf 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -91,9 +91,11 @@ packages: flutter_web_browser: dependency: "direct main" description: - path: "deps/flutter_web_browser" - relative: true - source: path + path: "." + ref: HEAD + resolved-ref: "5d169abf4fb4cb994c26173d5a7a3dd13b6921a2" + url: "git@github.com:markin-io/flutter_web_browser.git" + source: git version: "0.11.0" http: dependency: "direct main" diff --git a/pubspec.yaml b/pubspec.yaml index ca91fcc..c39b0a4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -24,7 +24,7 @@ dependencies: cupertino_icons: ^0.1.2 flutter_web_browser: # Use - path: ./deps/flutter_web_browser + git: git@github.com:markin-io/flutter_web_browser.git uni_links: 0.2.0 http: ^0.12.0 flutter_app_auth_wrapper: ^0.1.1+3 diff --git a/test/widget_test.dart b/test/widget_test.dart deleted file mode 100644 index fc79ec6..0000000 --- a/test/widget_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility that Flutter provides. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:mobile_app/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(MyApp()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -} -- GitLab