This commit add some tests related to the mail gateway: more bounce management tests and some additional thread formation tests. Some test asserts about bounce / blacklist management are commented as they are not completely working currently. This will be improved in master soon. Some cleaning in also done in all mail gateway tests. Notably some call to tool methods are cleaned / simplified, duplicate tests are removed. Some low-level checks are removed. A new test model is added for mail gateway: mail.test.gateway. It is a chatter model with blacklist enabled on it. It allows to tests the various blacklist-related overrides and features as well as all basic mail gateway features. Sub-part of task 1853147 (pre-cleaning before implementing mail gateway improvements) Linked to PR #32974
1.5 KiB
1.5 KiB
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_test_performance_mail | access_test_performance_mail | model_test_performance_mail | 1 | 1 | 1 | 1 | |
| 3 | access_mail_test_simple_portal | mail.test.simple.portal | model_mail_test_simple | base.group_portal | 1 | 0 | 0 | 0 |
| 4 | access_mail_test_simple_user | mail.test.simple.user | model_mail_test_simple | base.group_user | 1 | 1 | 1 | 1 |
| 5 | access_mail_test_gateway_portal | mail.test.gateway.portal | model_mail_test_gateway | base.group_portal | 1 | 0 | 0 | 0 |
| 6 | access_mail_test_gateway_user | mail.test.gateway.user | model_mail_test_gateway | base.group_user | 1 | 1 | 1 | 1 |
| 7 | access_mail_test_track_portal | mail.test.track.portal | model_mail_test_track | base.group_portal | 0 | 0 | 0 | 0 |
| 8 | access_mail_test_track_user | mail.test.track.user.employee | model_mail_test_track | base.group_user | 1 | 1 | 1 | 1 |
| 9 | access_mail_test_activity_portal | mail.test.activity.portal | model_mail_test_activity | base.group_portal | 1 | 0 | 0 | 0 |
| 10 | access_mail_test_activity_user | mail.test.activity.user | model_mail_test_activity | base.group_user | 1 | 1 | 1 | 1 |
| 11 | access_mail_test_full_portal | mail.test.full.portal | model_mail_test_full | base.group_portal | 0 | 0 | 0 | 0 |
| 12 | access_mail_test_full_user | mail.test.full.user | model_mail_test_full | base.group_user | 1 | 1 | 1 | 1 |
| 13 | access_mail_test_portal | mail.test.portal | model_mail_test | base.group_portal | 1 | 1 | 0 | 0 |
| 14 | access_mail_test_user | mail.test.user | model_mail_test | base.group_user | 1 | 1 | 1 | 1 |
| 15 | access_mail_test_cc_portal | mail.test.cc.portal | model_mail_test_cc | base.group_portal | 1 | 0 | 0 | 0 |
| 16 | access_mail_test_cc_user | mail.test.cc.user | model_mail_test_cc | base.group_user | 1 | 1 | 1 | 1 |