Skip to content

Commit b3a895e

Browse files
authored
[material_ui] Remove widgets imports from card_test.dart, checkbox_list_tile_test.dart (#12054)
Part of flutter/flutter#182636 and flutter/flutter#188395 This PR: * Removed the cross-imports of `widgets/feedback_tester.dart` and `widgets/semantics_tester.dart`. * Removed @Skip tag, all tests in this file have passed. * Moved the files to `test/` folder. ## Pre-Review Checklist exception this PR falls under[^1].
1 parent b3afbc5 commit b3a895e

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

packages/material_ui/temporarily_disabled_tests/card_test.dart renamed to packages/material_ui/test/card_test.dart

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
@Skip(
6-
'This file is skipped due to a cross-import that needs to be fixed. Tracked in https://github.com/flutter/flutter/issues/177028.',
7-
)
8-
import 'package:material_ui/material_ui.dart';
95
import 'package:flutter/rendering.dart';
106
import 'package:flutter_test/flutter_test.dart';
11-
import '../widgets/semantics_tester.dart';
7+
import 'package:material_ui/material_ui.dart';
8+
9+
import 'semantics_tester.dart';
1210

1311
void main() {
1412
testWidgets('Material3 - Card defaults (Elevated card)', (WidgetTester tester) async {

packages/material_ui/temporarily_disabled_tests/checkbox_list_tile_test.dart renamed to packages/material_ui/test/checkbox_list_tile_test.dart

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
@Skip(
6-
'This file is skipped due to a cross-import that needs to be fixed. Tracked in https://github.com/flutter/flutter/issues/177028.',
7-
)
85
import 'package:cupertino_ui/cupertino_ui.dart';
96
import 'package:flutter/foundation.dart';
107
import 'package:flutter/gestures.dart';
11-
import 'package:material_ui/material_ui.dart';
128
import 'package:flutter/rendering.dart';
139
import 'package:flutter_test/flutter_test.dart';
10+
import 'package:material_ui/material_ui.dart';
1411

15-
import '../widgets/feedback_tester.dart';
12+
import 'feedback_tester.dart';
1613

1714
Widget wrap({required Widget child}) {
1815
return MediaQuery(

0 commit comments

Comments
 (0)