-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new timeline modes TimelineMode.always and TimelineMode.reportOnE…
…rror (#68)
- Loading branch information
Showing
10 changed files
with
155 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
test/timeline/drag/global/global_always_timeline_drag_test.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import 'package:flutter_test/flutter_test.dart'; | ||
import 'package:spot/src/timeline/timeline.dart'; | ||
|
||
import '../act_drag_timeline_test_bodies.dart'; | ||
|
||
void main() { | ||
globalTimelineMode = TimelineMode.always; | ||
group('Global: always', () { | ||
testWidgets('turn off during test', (tester) async { | ||
await ActDragTimelineTestBodies.recordTurnOff(tester); | ||
}); | ||
testWidgets('no error print nothing', (tester) async { | ||
await ActDragTimelineTestBodies.alwaysNoError(tester); | ||
}); | ||
test('with error, prints timeline and html', () async { | ||
await ActDragTimelineTestBodies.recordWithErrorPrintsHTML(); | ||
}); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.