From 8b5ad69ff89420ea644c9bc0ed317a9a818f7513 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Fri, 1 Nov 2024 17:22:04 -0700 Subject: [PATCH] Delete unused references to dev.flutter.plugins.e2e. (#158031) Closes https://github.com/flutter/flutter/issues/157826. Like @gmackall I could not find any reference to these, and assume they were boilerplate that was never used (or deleted). --- .../macrobenchmarks/MainActivityTest.java | 16 ---------------- .../flutter/demo/gallery/MainActivityTest.java | 16 ---------------- 2 files changed, 32 deletions(-) delete mode 100644 dev/benchmarks/macrobenchmarks/android/app/src/androidTest/java/com/example/macrobenchmarks/MainActivityTest.java delete mode 100644 dev/integration_tests/flutter_gallery/android/app/src/androidTest/java/io/flutter/demo/gallery/MainActivityTest.java diff --git a/dev/benchmarks/macrobenchmarks/android/app/src/androidTest/java/com/example/macrobenchmarks/MainActivityTest.java b/dev/benchmarks/macrobenchmarks/android/app/src/androidTest/java/com/example/macrobenchmarks/MainActivityTest.java deleted file mode 100644 index 568553827f..0000000000 --- a/dev/benchmarks/macrobenchmarks/android/app/src/androidTest/java/com/example/macrobenchmarks/MainActivityTest.java +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2014 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package com.example.macrobenchmarks; - -import androidx.test.rule.ActivityTestRule; -import dev.flutter.plugins.e2e.FlutterTestRunner; -import org.junit.Rule; -import org.junit.runner.RunWith; - -@RunWith(FlutterTestRunner.class) -public class MainActivityTest { - @Rule - public ActivityTestRule rule = new ActivityTestRule<>(MainActivity.class, true, false); -} diff --git a/dev/integration_tests/flutter_gallery/android/app/src/androidTest/java/io/flutter/demo/gallery/MainActivityTest.java b/dev/integration_tests/flutter_gallery/android/app/src/androidTest/java/io/flutter/demo/gallery/MainActivityTest.java deleted file mode 100644 index 0cbacc2d30..0000000000 --- a/dev/integration_tests/flutter_gallery/android/app/src/androidTest/java/io/flutter/demo/gallery/MainActivityTest.java +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2014 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package io.flutter.demo.gallery; - -import androidx.test.rule.ActivityTestRule; -import dev.flutter.plugins.e2e.FlutterTestRunner; -import org.junit.Rule; -import org.junit.runner.RunWith; - -@RunWith(FlutterTestRunner.class) -public class MainActivityTest { - @Rule - public ActivityTestRule rule = new ActivityTestRule<>(MainActivity.class, true, false); -}