php-src/ext/imap/tests
Máté Kocsis d1764ca330
Make error messages more consistent by fixing capitalization
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
2020-01-17 14:52:46 +01:00
..
bug31142_1.phpt Fixed tests 2018-11-13 17:00:06 +03:00
bug31142_2.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug32589.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug35669.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug40854.phpt Fixed tests 2018-11-13 17:00:06 +03:00
bug44098.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug45705_1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug45705_2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug46918.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug53377.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
bug63126.phpt Fixed tests 2019-10-02 01:09:37 +03:00
bug75774.phpt Make error messages more consistent by fixing capitalization 2020-01-17 14:52:46 +01:00
bug77020.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
bug77153.phpt Disable rsh/ssh functionality in imap by default (bug #77153) 2018-11-20 11:21:29 -08:00
clean.inc Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
imap_8bit_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_alerts_error.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_append_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_base64_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_binary_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_body_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_body.phpt Make error messages more consistent by fixing capitalization 2020-01-17 14:52:46 +01:00
imap_bodystruct_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_clearflag_full_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_close_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_close_error.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_close_variation4.phpt Make error messages more consistent by fixing capitalization 2020-01-17 14:52:46 +01:00
imap_createmailbox_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_errors_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_expunge_error.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_fetch_overview_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetch_overview_error.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetch_overview_variation3.phpt Make error messages more consistent by fixing capitalization 2020-01-17 14:52:46 +01:00
imap_fetch_overview_variation5.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetch_overview_variation6.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetchbody_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetchbody_error.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetchbody_variation4.phpt Make error messages more consistent by fixing capitalization 2020-01-17 14:52:46 +01:00
imap_fetchbody_variation6.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetchheader_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetchheader_error.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetchheader_variation3.phpt Make error messages more consistent by fixing capitalization 2020-01-17 14:52:46 +01:00
imap_fetchheader_variation5.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_fetchstructure_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_gc_error.phpt Make error messages more consistent by fixing capitalization 2020-01-17 14:52:46 +01:00
imap_getsubscribed_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_headerinfo_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_headerinfo_error.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_headers.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_include.inc Fix #78880: Final spelling fixes 2020-01-16 19:14:31 +01:00
imap_list_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_lsub_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_mail_copy_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_mail_copy.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_mail_move_basic.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_mail_move.phpt Clean DONE tags from tests 2019-11-07 21:31:47 +01:00
imap_mutf7_to_utf8.phpt Fixed tests 2019-10-02 01:09:37 +03:00
imap_num_msg_error.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_num_recent_error.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_open_error.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_ping_error.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_renamemailbox_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_rfc822_parse_headers_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_savebody_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_timeout_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_undelete_basic.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_undelete_error.phpt Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
imap_utf8_to_mutf7_basic.phpt Fixed tests 2019-10-02 01:09:37 +03:00
imap_utf8.phpt Fixed tests 2019-10-02 01:09:37 +03:00
README.md [ci skip] Migrate tests READMEs to Markdown 2019-05-12 22:03:10 +02:00
skipif.inc Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00

The imap extension tests

Many of the tests in this directory require a mail server to be running, if there is no mail server the test will skip and warn, see skipif.inc for details.

To make the tests run parameters in the skipif.inc and imap_include.inc files will need to be changed to match the local mailserver configuration.

The tests have been checked using dovecot (on Linux 32 and 64 bit systems) and hMailServer on Windows. The tests are intended to be mailserver agnostic.

The tests can be run without modification with a fairly minimal dovecot installation. For information, the dovecot.conf file used in running the tests is given below. The dovecot password file (dovecotpass) requires a password for one user, webmaster@something.com. It's also necessary to set up one additional user ID (vmail) to own the mail directory.

protocols = imap imaps

listen = *

ssl_disable = yes

disable_plaintext_auth=yes

## Mailbox locations and namespaces

mail_location = maildir:/home/vmail/mail/%d/%n/Maildir

auth_verbose = yes

auth_debug = yes

auth default {
  mechanisms = login

  passdb passwd-file {
    args = /etc/dovecot/dovecotpass
  }

  userdb static {
    args = uid=11459 gid=1002 home=/home/vmail/dovecot/mail/%d/%n
  }

  user = root
}