<?php
define("TEST_CONFIG_PATH", dirname(__FILE__));
echo (TEST_CONFIG_PATH);
define("DEFAULT_WRITABLE_PATH", TEST_CONFIG_PATH . "/tmp");
define("DEFAULT_LIBRARY_PATH", TEST_CONFIG_PATH . "/../lib");
define("FILES_PATH", TEST_CONFIG_PATH . "/files");
/**
* Adjust the values contained inside this class in order to run the tests
* NOTE: SimpleTest is NOT provided with Swift. You must download this from SouceForge yourself.
* Paths given should be either relative to the "tests/units" directory or absolute.
* @package Swift_Tests
* @author Chris Corbyn <
chris@w3style.co.uk>
*/
class TestConfiguration
{
/**
* Somewhere to write to when testing disk cache
*/
const WRITABLE_PATH = DEFAULT_WRITABLE_PATH;
/**
* The location of SimpleTest (Unit Test Tool)
*/
/* const SIMPLETEST_PATH = "/Users/d11wtq/PHPLibs/simpletest"; */
const SIMPLETEST_PATH = "/simpletest";
/**
* The location of the Swift library directory
*/
const SWIFT_LIBRARY_PATH = DEFAULT_LIBRARY_PATH;
/**
* The location of some files used in testing.
*/
const FILES_PATH = FILES_PATH;
/*
* EVERYTHING BELOW IS FOR SMOKE TESTING ONLY
*/
/**
* The connection type to use in testing
* "smtp", "sendmail" or "nativemail"
*/
const CONNECTION_TYPE = "smtp";
/**
* An address to send emails from
*/
const FROM_ADDRESS = "
FromSomeone@yourDomain.com";
/**
* The name of the sender
*/
const FROM_NAME = "Your name - from";
/**
* An address to send emails to
*/
const TO_ADDRESS = "
ToSomeone@SomeonesDomain.com";
/**
* The name of the recipient
*/
const TO_NAME = "The recipiants name - to";
/*
* SMTP SETTINGS - IF APPLICABLE
*/
/**
* The FQDN of the host
*/

const SMTP_HOST = "localhost";
/**
* The remote port of the SMTP server
*/
const SMTP_PORT = 25;
/**
* Encryption to use if any
* "ssl", "tls" or false
*/
const SMTP_ENCRYPTION = false;
/**
* A username for SMTP, if you need to authenticate before sending an email
*/
const SMTP_USER = "YourUserNameForTheEmailAccountYouSendBy";
/**
* Password for SMTP, if you need to authenticate before sending an email
*/
const SMTP_PASS = "YourPasswordForTheEmailAccountYouSendBy";
/*
* SENDMAIL BINARY SETTINGS - IF APPLICABLE
*/
/**
* The path to sendmail, including the -bs options
*/
const SENDMAIL_PATH = "/usr/sbin/sendmail -bs";
}