PR #3241 #1204
codeql
on: dynamic
Matrix: analyze
Annotations
4 errors
core/test/utils/mail_address_test.dart ► MailAddress advanced test MailAddress.validateAddress() should throw an AddressException with a list of bad address ► user+Dossier%20d%27%C3%A9t%C3%[email protected]:
core/test/utils/mail_address_test.dart#L144
Failed test found in:
test-report-core.json
Error:
Expected: throws <Instance of 'AddressException'>
Actual: <Closure: () => MailAddress>
Which: returned MailAddress:<user+Dossier%20d%27%C3%A9t%C3%[email protected]>
|
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart ► getSubaddress:test ► should throw an error if empty local part:
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart#L623
Failed test found in:
test-report-default.json
Error:
Expected: throws <Instance of 'FormatException'>
Actual: <Closure: () => String>
Which: threw InvalidMailFormatException:<InvalidMailFormatException: @example.com>
stack package:tmail_ui_user/features/mailbox/presentation/mailbox_controller.dart 1549:7 MailboxController.getSubaddress
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 627:38 main.<fn>.<fn>.<fn>
package:matcher expect
package:flutter_test/src/widget_tester.dart 474:18 expect
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 627:7 main.<fn>.<fn>
which is not an instance of 'FormatException'
|
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart ► getSubaddress:test ► should throw an error if empty domain:
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart#L637
Failed test found in:
test-report-default.json
Error:
Expected: throws <Instance of 'FormatException'>
Actual: <Closure: () => String>
Which: threw InvalidMailFormatException:<InvalidMailFormatException: user@>
stack package:tmail_ui_user/features/mailbox/presentation/mailbox_controller.dart 1549:7 MailboxController.getSubaddress
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 641:38 main.<fn>.<fn>.<fn>
package:matcher expect
package:flutter_test/src/widget_tester.dart 474:18 expect
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 641:7 main.<fn>.<fn>
which is not an instance of 'FormatException'
|
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart ► getSubaddress:test ► should throw an error if absent `@`:
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart#L644
Failed test found in:
test-report-default.json
Error:
Expected: throws <Instance of 'FormatException'>
Actual: <Closure: () => String>
Which: threw InvalidMailFormatException:<InvalidMailFormatException: invalid-email-format>
stack package:tmail_ui_user/features/mailbox/presentation/mailbox_controller.dart 1549:7 MailboxController.getSubaddress
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 648:38 main.<fn>.<fn>.<fn>
package:matcher expect
package:flutter_test/src/widget_tester.dart 474:18 expect
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 648:7 main.<fn>.<fn>
which is not an instance of 'FormatException'
|