Commit Graph
105 Commits
Author SHA1 Message Date
Sahil Kumar f7b9511adb refactor(llc, core, ui): Deprecate .user, .userStream in favor of .currentUser, .currentUserStream
Signed-off-by: xsahil03x <[email protected]>
2021-07-26 14:57:29 +05:30
Sahil Kumar 2acfaf7a7c test(llc): re-add removed tests
Signed-off-by: xsahil03x <[email protected]>
2021-07-23 15:12:52 +05:30
Sahil Kumar 44b4358c3d chore(llc): minor changes
Signed-off-by: xsahil03x <[email protected]>
2021-07-23 14:53:43 +05:30
Salvatore Giordano 7b2bf3c434 add tests 2021-07-23 10:27:47 +02:00
Sahil Kumar efab551fdb fix(llc): channel.stopWatching
Signed-off-by: xsahil03x <[email protected]>
2021-07-21 15:22:36 +05:30
Reuben TurnerandGitHub b306978da6 chore: apply linter to the various example and test directories (#550)
* chore: remove examples and tests from analysis exclusion

* chore: apply linter fixes to stream_chat_flutter_core/example/main.dart

* chore: apply linter fixes to stream_chat_flutter/example/main.dart

* chore: apply linter fixes to stream_chat_persistence/example/main.dart

* chore: apply linter fixes to stream_chat/example/main.dart

* chore: apply linter fixes to stream_chat_flutter/example/split_view.dart

* chore: renamte tutorial files per linter

* chore: apply linter fixes to tutorial_part_1.dart

* chore: apply linter fixes to tutorial_part_2.dart

* chore: apply linter fixes to tutorial_part_3.dart

* chore: apply linter fixes to tutorial_part_4.dart

* chore: apply linter fixes to tutorial_part_5.dart

* chore: make a widget const in tutorial_part_5.dart

* chore: apply linter fixes to tutorial_part_6.dart

* chore: sort and update dependencies in stream_chat_persistence/example/pubspec.yaml

* chore: sort and update dependencies in stream_chat_flutter_core/example/pubspec.yaml

* chore: sort and update dependencies in stream_chat_flutter/example/pubspec.yaml

* chore: sort dependencies in stream_chat_flutter/example/pubspec.yaml

* chore: apply linter fixes to channel_test.dart

* chore: apply linter fixes to client_test.dart

* chore: apply linter fixes to client_test.dart, stream_http_client_test.dart, and token_manager_test.dart

* chore: apply linter fixes to filter_test.dart

* chore: apply linter fixes to reaction_test.dart

* chore: apply linter fixes to chat_persistence_client_test.dart

* chore: apply linter fixes to channel_image_test.dart

* chore: apply linter fixes to deleted_message_test.dart

* chore: apply linter fixes to full_screen_media_test.dart

* chore: apply linter fixes to gallery_footer_theme_test.dart

* chore: apply linter fixes to gallery_header_theme_test.dart

* chore: apply linter fixes to message_text_test.dart

* chore: apply linter fixes to reaction_bubble_test.dart

* chore: apply linter fixes to system_message_test.dart

* chore: apply linter fixes to typing_indicator_test.dart

* chore: apply linter fixes to channel_list_core_test.dart

* chore: apply linter fixes to channels_bloc_test.dart

* chore: apply linter fixes to lazy_load_scroll_view_test.dart

* chore: apply linter fixes to channel_matcher.dart

* chore: apply linter fixes to message_matcher.dart

* chore: apply linter fixes to users_matcher.dart

* chore: apply linter fixes to message_list_core_test.dart

* chore: apply linter fixes to message_search_bloc_test.dart

* chore: apply linter fixes to message_search_list_core_test.dart

* chore: apply linter fixes to stream_channel_test.dart

* chore: apply linter fixes to stream_chat_core_test.dart

* chore: apply linter fixes to user_list_core_test.dart

* chore: apply linter fixes to channel_query_dao_test.dart, message_mapper_test.dart, user_mapper_test.dart, and users_bloc_test.dart

* chore: apply some missed dartfmt

* test: regenerate failinggolden test
2021-07-16 10:49:51 +02:00
Salvatore Giordano 2970763782 minor fix 2021-07-08 10:14:37 +02:00
Salvatore Giordano 0e6acd59b6 fix test 2021-07-02 15:43:59 +02:00
Salvatore Giordano 5d351d82e5 add copywith and merge to ownuser 2021-07-02 15:29:01 +02:00
Salvatore Giordano 7e9944730f add tests 2021-07-02 12:28:36 +02:00
Salvatore Giordano c617b3040a add connectWebsocket property to connectUser calls 2021-07-02 11:58:23 +02:00
Salvatore Giordano c7ea25c672 better user api tests 2021-06-26 13:44:06 +02:00
Salvatore Giordano ddfe015513 better moderation api tests 2021-06-26 13:41:41 +02:00
Salvatore Giordano 9857db0635 better message api tests 2021-06-26 13:37:40 +02:00
Salvatore Giordano ff8ff6d7ce better guest api tests 2021-06-26 13:27:09 +02:00
Salvatore Giordano 1a817a3282 better device api tests 2021-06-26 13:26:25 +02:00
Salvatore Giordano 9cc6ef124c better channel api tests 2021-06-26 13:25:06 +02:00
Salvatore Giordano 56bce0957c fix payload and improve tests 2021-06-26 12:41:52 +02:00
Sahil Kumar 675bffe7b9 fix offline user connection, add tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-18 16:10:34 +05:30
Sahil Kumar dc4b3f11a4 flutter format .
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-17 17:23:53 +05:30
Sahil Kumar a5bc00fe5f add channel.setExtraData tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-17 17:18:47 +05:30
Sahil Kumar 73d6527725 fix analyzer warnings
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-17 17:09:50 +05:30
Sahil KumarandGitHub a98148e0db Update packages/stream_chat/test/src/core/models/reaction_test.dart 2021-06-17 15:01:53 +05:30
Sahil KumarandGitHub 6a2efb18e4 Update packages/stream_chat/test/src/core/models/reaction_test.dart 2021-06-17 15:01:45 +05:30
Salvatore Giordano 907573dab1 add event tests 2021-06-17 10:34:53 +02:00
Salvatore Giordano 91907639ad add more user and channel config test 2021-06-17 10:01:46 +02:00
Salvatore Giordano aef63f3722 add more read test 2021-06-17 09:40:01 +02:00
Salvatore Giordano d4b5154cba add reaction test 2021-06-17 09:31:54 +02:00
Salvatore Giordano 4e9699dbf4 add OwnUser test 2021-06-17 09:31:53 +02:00
Salvatore Giordano 51f8e030f5 add mute test 2021-06-17 09:31:53 +02:00
Salvatore Giordano 2d6cc796e8 move jsons to fixtures 2021-06-17 09:31:53 +02:00
Sahil Kumar e8e1d53aa3 add client_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-16 22:19:00 +05:30
Sahil Kumar 7c9bc3b950 merge origin/develop into ref/segregate-api-layer
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-15 17:32:09 +05:30
Sahil Kumar 2a58ca535d Add retry_queue_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-14 16:56:36 +05:30
Sahil Kumar e2529231fd add initialized channel tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-09 21:01:35 +05:30
Sahil Kumar 89f989003d add core/api tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-08 16:09:17 +05:30
Salvatore Giordano 6239fefbaa Merge branch 'develop' into feat/pinned 2021-06-08 09:43:07 +02:00
Salvatore Giordano 877de57669 use skipPush as a send message param 2021-06-07 13:04:23 +02:00
Deven Joshi 9f60af5e16 fix: fixed pin tests 2021-06-07 12:52:57 +05:30
Deven Joshi e351374100 fix: fixed update tests 2021-06-07 12:44:49 +05:30
Sahil Kumar bdfbc27917 add stream_chat_error_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 17:09:41 +05:30
Sahil Kumar b64aa70b73 remove, refactor old tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 16:27:37 +05:30
Sahil Kumar dbb98811ab push mocks.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 16:26:35 +05:30
Sahil Kumar cb9a8a23a9 add timer_helper_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 16:25:12 +05:30
Sahil Kumar 214d1bcf1d add core/http tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 16:24:52 +05:30
Sahil Kumar 473851684b add platform_detector_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-03 22:29:52 +05:30
Sahil Kumar 7a95192093 add extension_test.dart, serializer_test.dart and utils_test.dart 2021-06-03 21:44:12 +05:30
Sahil Kumar 63d391ba7a add chat_persistence_client_test.dart 2021-06-03 20:04:32 +05:30
Sahil Kumar 1626d7432c add websocket_test.dart 2021-06-03 18:06:56 +05:30
Sahil Kumar d758f3df1d change file structure, replace rate_limit with the pub dependency
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-03 13:38:32 +05:30