Skip to content

Commit f4e3457

Browse files
committed
test [nfc]: Comment on where to find topic-action-sheet tests
These are natural places for someone to look for such tests.
1 parent 210f1d9 commit f4e3457

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/widgets/inbox_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ void main() {
206206
// TODO test that tapping a conversation row opens the message list
207207
// for the conversation
208208

209+
// Tests for the topic action sheet are in test/widgets/action_sheet_test.dart.
210+
209211
group('muting', () { // aka topic visibility
210212
testWidgets('baseline', (tester) async {
211213
final stream = eg.stream();

test/widgets/message_list_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ void main() {
133133
});
134134

135135
group('app bar', () {
136+
// Tests for the topic action sheet are in test/widgets/action_sheet_test.dart.
137+
136138
testWidgets('has channel-feed action for topic narrows', (tester) async {
137139
final pushedRoutes = <Route<void>>[];
138140
final navObserver = TestNavigatorObserver()
@@ -748,6 +750,8 @@ void main() {
748750

749751
group('recipient headers', () {
750752
group('StreamMessageRecipientHeader', () {
753+
// Tests for the topic action sheet are in test/widgets/action_sheet_test.dart.
754+
751755
final stream = eg.stream(name: 'stream name');
752756
const topic = 'topic name';
753757
final message = eg.streamMessage(stream: stream, topic: topic);

0 commit comments

Comments
 (0)