Index: pkg/scheduled_test/test/scheduled_test/set_up_test.dart |
=================================================================== |
--- pkg/scheduled_test/test/scheduled_test/set_up_test.dart (revision 21816) |
+++ pkg/scheduled_test/test/scheduled_test/set_up_test.dart (working copy) |
@@ -79,46 +79,6 @@ |
test('test 2', () => expect(onExceptionRun, isTrue)); |
}, passing: ['test 2']); |
- expectTestsPass("setUp doesn't apply to child groups", () { |
- var setUpRun = false; |
- setUp(() { |
- setUpRun = true; |
- currentSchedule.onComplete.schedule(() { |
- setUpRun = false; |
- }); |
- }); |
- |
- test('outer', () { |
- expect(setUpRun, isTrue); |
- }); |
- |
- group('group', () { |
- test('inner', () { |
- expect(setUpRun, isFalse); |
- }); |
- }); |
- }); |
- |
- expectTestsPass("setUp doesn't apply to parent groups", () { |
- var setUpRun = false; |
- group('group', () { |
- setUp(() { |
- setUpRun = true; |
- currentSchedule.onComplete.schedule(() { |
- setUpRun = false; |
- }); |
- }); |
- |
- test('inner', () { |
- expect(setUpRun, isTrue); |
- }); |
- }); |
- |
- test('outer', () { |
- expect(setUpRun, isFalse); |
- }); |
- }); |
- |
expectTestsPass("setUp doesn't apply to sibling groups", () { |
var setUpRun = false; |
group('group 1', () { |
@@ -140,4 +100,4 @@ |
}); |
}); |
}); |
-} |
+} |