Commit Graph
48 Commits
Author SHA1 Message Date
Sahil Kumar 658f7f2504 feat(persistence): add support for message.i18n
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 20:06:06 +05:30
Sahil Kumar edd7100888 chore(persistence): fix analysis errors
Signed-off-by: xsahil03x <[email protected]>
2021-07-22 13:29:41 +05:30
Sahil Kumar 0738280a7e chore(persistence): flutter format .
Signed-off-by: xsahil03x <[email protected]>
2021-07-22 13:24:53 +05:30
Sahil KumarandGitHub 891d55ea51 test(persistence): fix flaky channel query test 2021-07-22 13:20:25 +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 c3ae85a282 fix tests 2021-06-18 10:47:11 +02:00
Sahil Kumar 5cada0ce49 Merge branches 'develop' and 'ref/segregate-api-layer' of https://github.com/GetStream/stream-chat-flutter into ref/segregate-api-layer
 Conflicts:
	packages/stream_chat/lib/src/api/channel.dart
	packages/stream_chat/lib/src/client.dart
	packages/stream_chat_persistence/lib/src/db/moor_chat_database.g.dart
2021-05-27 20:07:11 +05:30
Sahil Kumar 839ced618b major refactoring
Signed-off-by: Sahil Kumar <[email protected]>
2021-05-27 19:59:34 +05:30
Salvatore Giordano 229a30bd65 fix persistence not building for web 2021-05-20 11:59:43 +02:00
Salvatore Giordano 084d339cc4 add tests 2021-05-14 12:55:34 +02:00
Salvatore Giordano 0d12e701a0 fix tests 2021-04-30 14:59:54 +02:00
Salvatore Giordano 34888d0fff migrate ui 2021-04-30 14:58:50 +02:00
Sahil Kumar 8c666caa52 refactor (core <-> ui <-> persistence) with the new filter changes.
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-27 15:41:00 +05:30
Sahil Kumar 3bb1b11ee8 migrate to nnbd
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-20 19:52:06 +05:30
Felix Angelov 991b236ea4 fix(stream_chat_persistence): tests 2021-03-24 00:49:11 -05:00
Sahil Kumar cc9388816a test(persistence): add client constructor test in stream chat persistence client
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 18:10:25 +05:30
Sahil Kumar b570d3332a test(persistence): improve message mapper, pinned message mapper test
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 18:03:00 +05:30
Sahil Kumar abbe72709e test(persistence): add return channel with pagination applies test in channel query dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 17:49:50 +05:30
Sahil Kumar 2e3baa020d test(persistence): add extra checks in getMessagesByCid along with pagination test in message, pinned message dao.
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 17:38:07 +05:30
Sahil Kumar ab9990e5bd test(persistence): add getMessagesByCid along with quotedMessage test in message, pinned message dao.
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 17:34:41 +05:30
Sahil Kumar 252783adf6 test(persistence): add getMessagesByCid along with pagination test in message, pinned message dao.
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 16:52:08 +05:30
Sahil Kumar e00881fbdd test(persistence): add getThreadMessagesByParentId along with pagination test in message, pinned message dao.
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 16:42:16 +05:30
Sahil Kumar 4c2a748291 test(persistence): add clear queryCache test in channel query dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 16:14:23 +05:30
Sahil Kumar 66edb12736 test(persistence): add tests moor chat database
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 14:35:46 +05:30
Sahil Kumar bea545b154 test(persistence): add tests for stream chat persistence client
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-18 20:38:26 +05:30
Sahil Kumar 2233528609 test(persistence): add tests for user mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 17:48:39 +05:30
Sahil Kumar 818e91a106 test(persistence): add tests for read mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 17:38:14 +05:30
Sahil Kumar d688d554ce test(persistence): add tests for reaction mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 17:32:12 +05:30
Sahil Kumar a78c230ef0 test(persistence): add tests for pinned message mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 17:25:25 +05:30
Sahil Kumar 6804660c61 test(persistence): add tests for message mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 17:21:57 +05:30
Sahil Kumar 323c5b6cba test(persistence): add tests for member mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 15:43:50 +05:30
Sahil Kumar 60613d44bf test(persistence): add test for event mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 15:03:40 +05:30
Sahil Kumar 830cb0c281 test(persistence): add tests for channel mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 14:57:26 +05:30
Sahil Kumar b738a47c2a test(persistence): add tests for message sending status converter
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 14:19:06 +05:30
Sahil Kumar 28e3e5edc4 test(persistence): add test for map converter
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 14:11:45 +05:30
Sahil Kumar 3854bfcdc9 test(persistence): add test for list converter
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 14:01:39 +05:30
Sahil Kumar e87a8a07a1 test(persistence): add tests for user dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 21:11:07 +05:30
Sahil Kumar 66a577901c test(persistence): minor improvement in update function tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 20:45:41 +05:30
Sahil Kumar 45870d7fab test(persistence): add test for read dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 20:45:11 +05:30
Sahil Kumar 125931d89e test(persistence): add test for reaction dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 20:02:24 +05:30
Sahil Kumar 8fefa3c129 test(persistence): add test for pinned message dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 18:53:07 +05:30
Sahil Kumar a24ec99a44 test(persistence): add tests for message dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 18:42:06 +05:30
Sahil Kumar 2e20616145 test(persistence): add test for member dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 16:42:47 +05:30
Sahil Kumar edc8c4d181 test(persistence): add tests for connection event dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 15:51:41 +05:30
Sahil Kumar 083ca28283 test(persistence): Add test for channel query dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-15 16:48:56 +05:30
Sahil Kumar ae65b2b8b2 refactor(persistence): remove dummy comments
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-15 14:20:00 +05:30
Sahil Kumar 4cbbc059d3 test(persistence): Add tests for channel dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-15 14:17:01 +05:30
39c2106497 feat: codecov (#327)
* [llc] add codecov in gh action

* update flag

* update path

* fix codevcov script

* fix codevcov script

* [persistence]: add basic test

* [persistence] add codecov

* [persistence] vgv action

* update threashold

* fix ci

* add coverage for ui packages

* fix ci

* test gh action

* test gh action

* update threashold

* fix(persistence): fix tests

Signed-off-by: Sahil Kumar <[email protected]>

Co-authored-by: Sahil Kumar <[email protected]>
2021-03-11 16:36:22 +01:00