<?php
/**
 * @package UnitTests
 *
 * This file defines configuration for running the unit tests for the Zend Framework Incubator.
 * Some tests have dependencies to PHP extensions or databases which may not necessary
 * installed on the target system.  For these cases, the ability to disable or configure
 * testing is provided below.  Tests for components which should run universally, such
 * as "Zend" or "Zend_InputFilter", are always run by the master suite and cannot be disabled.
 */

/**
 * Zend_Mail_Pop3 / Zend_Mail_Transport_Pop3
 *
 * IMPORTANT: you need to copy tests/Zend/Mail/_files/test.mbox to your mail directory
 * for the tests to work.
 */
define('TESTS_ZEND_MAIL_POP3_ENABLED', false);
define('TESTS_ZEND_MAIL_POP3_HOST', 'localhost');
define('TESTS_ZEND_MAIL_POP3_USER', 'test');
define('TESTS_ZEND_MAIL_POP3_PASSWORD', '');
// test SSL connections if enabled in your test server
define('TESTS_ZEND_MAIL_POP3_SSL', true);
define('TESTS_ZEND_MAIL_POP3_TLS', true);
// wrong port should be an existing server port, invalid a non existing (each on defined host)
define('TESTS_ZEND_MAIL_POP3_WRONG_PORT', 80);
define('TESTS_ZEND_MAIL_POP3_INVALID_PORT', 3141);

/**
 * Zend_Mail_Imap / Zend_Mail_Transport_Imap
 *
 * IMPORTANT: you need to copy tests/Zend/Mail/_files/test.mbox to your mail directory
 * for the tests to work.
 */
define('TESTS_ZEND_MAIL_IMAP_ENABLED', false);
define('TESTS_ZEND_MAIL_IMAP_HOST', 'localhost');
define('TESTS_ZEND_MAIL_IMAP_USER', 'test');
define('TESTS_ZEND_MAIL_IMAP_PASSWORD', '');
// test SSL connections if enabled in your test server
define('TESTS_ZEND_MAIL_IMAP_SSL', true);
define('TESTS_ZEND_MAIL_IMAP_TLS', true);
// wrong port should be an existing server port, invalid a non existing (each on defined host)
define('TESTS_ZEND_MAIL_IMAP_WRONG_PORT', 80);
define('TESTS_ZEND_MAIL_IMAP_INVALID_PORT', 3141);


/**
 * Zend_Mail_Maildir test
 *
 * Before enabling this test you have to unpack messages.tar in Zend/Mail/_files/test.maildir/cur/
 * and remove the tar for this test to work. That's because the messages files have a colon in the
 * filename and that's a forbidden character on Windows.
 */
define('TESTS_ZEND_MAIL_MAILDIR_ENABLED', false);


/**
 * PHPUnit Code Coverage / Test Report
 */
define('TESTS_GENERATE_REPORT', false);
define('TESTS_GENERATE_REPORT_TARGET', '/path/to/target');
