Commit Graph

25 Commits

Author SHA1 Message Date
Ankit Mahato
6bbd8d75d2 Update http_client_manager_test.dart 2025-08-06 03:25:56 +05:30
Ankit Mahato
82fe3e710b Disable tests running twice 2025-08-06 03:17:43 +05:30
Ankit Mahato
01553fc1f4 Update sse_test.dart 2025-08-06 03:17:27 +05:30
Ankit Mahato
625254b20f Refactor auth handling in HTTP request functions
Removed redundant AuthModel parameter from sendHttpRequest and streamHttpRequest functions, now using authModel from HttpRequestModel directly. Updated all usages, tests, and related logic to reflect this change. Improved streaming response handling in CollectionStateNotifier and HttpResponseModel.
2025-08-06 02:42:23 +05:30
Ankit Mahato
af87942bdd Remove unused imports from test and widget files
Cleaned up several files by removing unused import statements to improve code clarity and reduce unnecessary dependencies.
2025-08-05 21:22:16 +05:30
Ankit Mahato
c4d6965e93 Simplify cancellation test assertions
Refactored test assertions in gql_test.dart and sse_test.dart to remove the 'reason' parameter from expect calls, making the code more concise.
2025-08-05 19:02:22 +05:30
Ankit Mahato
2680392c2a Update REST API test endpoints and assertions
Changed test URLs from jsonplaceholder to api.apidash.dev and api.github.com. Updated test assertions to match new response formats and status codes. Added debug prints and improved cancellation test logic for streamHttpRequest. Enhanced overrideContentType tests for header validation.
2025-08-05 18:58:22 +05:30
Ankit Mahato
257b30a1e9 Add authData parameter to HTTP request functions
Introduces an optional AuthModel parameter to sendHttpRequest and streamHttpRequest, allowing authentication handling for HTTP requests. Updates all usages and tests to pass null for the new parameter where authentication is not required.
2025-08-05 12:49:33 +05:30
Ankit Mahato
f4e0f82125 Merge branch 'main' into better_networking/sse 2025-08-05 06:18:21 +05:30
Udhay-Adithya
739afca856 tests: improve auth utils tests(coverage 90%) 2025-07-07 22:08:51 +05:30
Udhay-Adithya
dcccc2b761 tests: add api auth model tests(coverage 100%) 2025-07-07 21:49:09 +05:30
Manas Hejmadi
c58f6e6705 collection_providers_test: SSE Output in ResponseBody tested 2025-07-07 20:14:09 +05:30
Udhay-Adithya
8d4eedc21b tests: add authentication unit tests 2025-07-07 02:03:47 +05:30
Manas Hejmadi
ca1d9971a8 better_networking: Tests written for models and services (C : 97.5%) 2025-07-07 01:46:45 +05:30
Manas Hejmadi
77c3e91525 sendHttpRequest & streamHttpRequest: Tests Written; GQLTestFixed 2025-07-07 01:01:54 +05:30
Manas Hejmadi
bf21ccdc98 Added Tests for (/lib/utils): 100% Coverage 2025-07-06 21:20:11 +05:30
Udhay-Adithya
d5ca13b356 feat: enhance JWT support with private key handling and additional algorithms 2025-07-06 12:19:27 +05:30
Manas Hejmadi
d373d171ab stream_request_test: Separated Testing Arch 2025-07-04 17:52:22 +05:30
Manas Hejmadi
008eca6066 SSE: added basic testcases inside stream_request_test 2025-07-04 02:48:25 +05:30
Ankit Mahato
9deac8c0b5 To add to coverage 2025-06-29 06:13:40 +05:30
Ankit Mahato
5e0bd3a43f Update map_extensions_test.dart 2025-06-29 06:12:44 +05:30
Ankit Mahato
421f1eb4e2 Update http_request_utils.dart 2025-06-29 06:11:49 +05:30
Ankit Mahato
4384557c18 format 2025-06-29 06:09:33 +05:30
Manas Hejmadi
1b64d05fc5 refactor: formatting action revert 2025-06-22 21:28:43 +05:30
Manas Hejmadi
6558a4028e apidash_core: contents moved into better_networking package 2025-06-17 23:55:16 +05:30