Skip to content

Commit

Permalink
Rename e2e -> integration_test (fluttercommunity#2918)
Browse files Browse the repository at this point in the history
* e2e -> integration_test and associated version bumps
  • Loading branch information
dnfield authored Aug 19, 2020
1 parent 3e368bc commit 538c758
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.3

* Update package:e2e -> package:integration_test

## 0.4.2

* Update package:e2e reference to use the local version in the flutter/plugins
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package io.flutter.plugins.packageinfoexample;

import androidx.test.rule.ActivityTestRule;
import dev.flutter.plugins.e2e.FlutterTestRunner;
import dev.flutter.plugins.integration_test.FlutterTestRunner;
import org.junit.Rule;
import org.junit.runner.RunWith;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package io.flutter.plugins.packageinfoexample;

import androidx.test.rule.ActivityTestRule;
import dev.flutter.plugins.e2e.FlutterTestRunner;
import dev.flutter.plugins.integration_test.FlutterTestRunner;
import io.flutter.embedding.android.FlutterActivity;
import org.junit.Rule;
import org.junit.runner.RunWith;
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ dependencies:
sdk: flutter
package_info:
path: ../
e2e:
path: ../../e2e
integration_test:
path: ../../integration_test

dev_dependencies:
flutter_driver:
Expand Down
4 changes: 2 additions & 2 deletions example/test_driver/package_info_e2e.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

import 'dart:io';
import 'package:flutter_test/flutter_test.dart';
import 'package:e2e/e2e.dart';
import 'package:integration_test/integration_test.dart';
import 'package:package_info/package_info.dart';
import 'package:package_info_example/main.dart';

void main() {
E2EWidgetsFlutterBinding.ensureInitialized();
IntegrationTestWidgetsFlutterBinding.ensureInitialized();

testWidgets('fromPlatform', (WidgetTester tester) async {
final PackageInfo info = await PackageInfo.fromPlatform();
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage: https://github.com/flutter/plugins/tree/master/packages/package_info
# 0.4.y+z is compatible with 1.0.0, if you land a breaking change bump
# the version to 2.0.0.
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
version: 0.4.2
version: 0.4.3

flutter:
plugin:
Expand All @@ -28,8 +28,8 @@ dev_dependencies:
flutter_driver:
sdk: flutter
test: any
e2e:
path: ../e2e
integration_test:
path: ../integration_test
pedantic: ^1.8.0

environment:
Expand Down

0 comments on commit 538c758

Please sign in to comment.