2
0

TestConfiguration.php.dist 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package UnitTests
  17. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  18. * @license http://framework.zend.com/license/new-bsd New BSD License
  19. * @version $Id$
  20. */
  21. /**
  22. * This file defines configuration for running the unit tests for the Zend
  23. * Framework. Some tests have dependencies to PHP extensions or databases
  24. * which may not necessary installed on the target system. For these cases,
  25. * the ability to disable or configure testing is provided below. Tests for
  26. * components which should run universally are always run by the master
  27. * suite and cannot be disabled.
  28. *
  29. * Do not edit this file. Instead, copy this file to TestConfiguration.php,
  30. * and edit the new file. Never commit plaintext passwords to the source
  31. * code repository.
  32. */
  33. /**
  34. * Zend_Auth_Adapter_DbTable tests
  35. */
  36. define('TESTS_ZEND_AUTH_ADAPTER_DBTABLE_PDO_SQLITE_ENABLED', false);
  37. define('TESTS_ZEND_AUTH_ADAPTER_DBTABLE_PDO_SQLITE_DATABASE', ':memory:');
  38. /**
  39. * Zend_Auth_Adapter_Ldap online tests
  40. * (See also TESTS_ZEND_LDAP_* configuration constants below)
  41. */
  42. define('TESTS_ZEND_AUTH_ADAPTER_LDAP_ONLINE_ENABLED', false);
  43. /**
  44. * Zend_Cache
  45. *
  46. * TESTS_ZEND_CACHE_SQLITE_ENABLED => sqlite extension has to be enabled
  47. * TESTS_ZEND_CACHE_APC_ENABLED => apc extension has to be enabled
  48. * TESTS_ZEND_CACHE_MEMCACHED_ENABLED => memcache extension has to be enabled and
  49. * a memcached server has to be available
  50. * TESTS_ZEND_CACHE_XCACHE_ENABLED => xcache extension has to be enabled
  51. */
  52. define('TESTS_ZEND_CACHE_SQLITE_ENABLED', false);
  53. define('TESTS_ZEND_CACHE_APC_ENABLED', false);
  54. define('TESTS_ZEND_CACHE_XCACHE_ENABLED', true);
  55. define('TESTS_ZEND_CACHE_XCACHE_USER', null);
  56. define('TESTS_ZEND_CACHE_XCACHE_PASSWORD', null);
  57. define('TESTS_ZEND_CACHE_PLATFORM_ENABLED', false);
  58. define('TESTS_ZEND_CACHE_MEMCACHED_ENABLED', false);
  59. define('TESTS_ZEND_CACHE_MEMCACHED_HOST', '127.0.0.1');
  60. define('TESTS_ZEND_CACHE_MEMCACHED_PORT', 11211);
  61. define('TESTS_ZEND_CACHE_MEMCACHED_PERSISTENT', true);
  62. /**
  63. * Zend_Controller
  64. *
  65. * TESTS_ZEND_CONTROLLER_DISPATCHER_OB => test disabling output buffering in
  66. * dispatcher
  67. */
  68. define('TESTS_ZEND_CONTROLLER_DISPATCHER_OB', false);
  69. /**
  70. * Zend_Db_Adapter_Pdo_Mysql and Zend_Db_Adapter_Mysqli
  71. *
  72. * There are separate properties to enable tests for the PDO_MYSQL adapter and
  73. * the native Mysqli adapters, but the other properties are shared between the
  74. * two MySQL-related Zend_Db adapters.
  75. */
  76. define('TESTS_ZEND_DB_ADAPTER_PDO_MYSQL_ENABLED', false);
  77. define('TESTS_ZEND_DB_ADAPTER_MYSQLI_ENABLED', false);
  78. define('TESTS_ZEND_DB_ADAPTER_MYSQL_HOSTNAME', '127.0.0.1');
  79. define('TESTS_ZEND_DB_ADAPTER_MYSQL_USERNAME', null);
  80. define('TESTS_ZEND_DB_ADAPTER_MYSQL_PASSWORD', null);
  81. define('TESTS_ZEND_DB_ADAPTER_MYSQL_DATABASE', 'test');
  82. define('TESTS_ZEND_DB_ADAPTER_MYSQL_PORT', 3306);
  83. /**
  84. * Zend_Db_Adapter_Pdo_Sqlite
  85. *
  86. * Username and password are irrelevant for SQLite.
  87. */
  88. define('TESTS_ZEND_DB_ADAPTER_PDO_SQLITE_ENABLED', false);
  89. define('TESTS_ZEND_DB_ADAPTER_PDO_SQLITE_DATABASE', ':memory:');
  90. /**
  91. * Zend_Db_Adapter_Pdo_Mssql
  92. *
  93. * Note that you need to patch your ntwdblib.dll, the one that
  94. * comes with PHP does not work. See user comments at
  95. * http://us2.php.net/manual/en/ref.mssql.php
  96. */
  97. define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_ENABLED', false);
  98. define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_HOSTNAME', '127.0.0.1');
  99. define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_USERNAME', null);
  100. define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_PASSWORD', null);
  101. define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_DATABASE', 'test');
  102. /**
  103. * Zend_Db_Adapter_Pdo_Pgsql
  104. */
  105. define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_ENABLED', false);
  106. define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_HOSTNAME', '127.0.0.1');
  107. define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_USERNAME', null);
  108. define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_PASSWORD', null);
  109. define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_DATABASE', 'postgres');
  110. /**
  111. * Zend_Db_Adapter_Oracle and Zend_Db_Adapter_Pdo_Oci
  112. *
  113. * There are separate properties to enable tests for the PDO_OCI adapter and
  114. * the native Oracle adapter, but the other properties are shared between the
  115. * two Oracle-related Zend_Db adapters.
  116. */
  117. define('TESTS_ZEND_DB_ADAPTER_PDO_OCI_ENABLED', false);
  118. define('TESTS_ZEND_DB_ADAPTER_ORACLE_ENABLED', false);
  119. define('TESTS_ZEND_DB_ADAPTER_ORACLE_HOSTNAME', '127.0.0.1');
  120. define('TESTS_ZEND_DB_ADAPTER_ORACLE_USERNAME', null);
  121. define('TESTS_ZEND_DB_ADAPTER_ORACLE_PASSWORD', null);
  122. define('TESTS_ZEND_DB_ADAPTER_ORACLE_SID', 'xe');
  123. /**
  124. * Zend_Db_Adapter_Db2 and Zend_Db_Adapter_Pdo_Ibm
  125. * There are separate properties to enable tests for the PDO_IBM adapter and
  126. * the native DB2 adapter, but the other properties are shared between the
  127. * two related Zend_Db adapters.
  128. */
  129. define('TESTS_ZEND_DB_ADAPTER_PDO_IBM_ENABLED', false);
  130. define('TESTS_ZEND_DB_ADAPTER_DB2_ENABLED', false);
  131. define('TESTS_ZEND_DB_ADAPTER_DB2_HOSTNAME', '127.0.0.1');
  132. define('TESTS_ZEND_DB_ADAPTER_DB2_PORT', 50000);
  133. define('TESTS_ZEND_DB_ADAPTER_DB2_USERNAME', null);
  134. define('TESTS_ZEND_DB_ADAPTER_DB2_PASSWORD', null);
  135. define('TESTS_ZEND_DB_ADAPTER_DB2_DATABASE', 'sample');
  136. /**
  137. * Zend_Http_Client tests
  138. *
  139. * To enable the dynamic Zend_Http_Client tests, you will need to symbolically
  140. * link or copy the files in tests/Zend/Http/Client/_files to a directory
  141. * under your web server(s) document root and set this constant to point to the
  142. * URL of this directory.
  143. */
  144. define('TESTS_ZEND_HTTP_CLIENT_BASEURI', false);
  145. /**
  146. * Zend_Http_Client_Proxy tests
  147. *
  148. * HTTP proxy to be used for testing the Proxy adapter. Set to a string of
  149. * the form 'host:port'. Set to null to skip HTTP proxy tests.
  150. */
  151. define('TESTS_ZEND_HTTP_CLIENT_HTTP_PROXY', false);
  152. define('TESTS_ZEND_HTTP_CLIENT_HTTP_PROXY_USER', '');
  153. define('TESTS_ZEND_HTTP_CLIENT_HTTP_PROXY_PASS', '');
  154. /**
  155. * Zend_Gdata tests
  156. *
  157. * If the ONLINE_ENABLED property is false, only tests that can be executed with
  158. * a mock HTTP client are run. No request is sent to the Google Gdata servers.
  159. * If ONLINE_ENABLED is true, some tests may make requests to the remote
  160. * servers. This does not work if you are running tests on a disconnected
  161. * client host. Also, the tests may show as failures if the Google servers
  162. * cannot be reached or if they do not respond for another reason.
  163. *
  164. * If the CLIENTLOGIN_ENABLED property below is false, the authenticated
  165. * tests are reported Skipped in the test run. Set this property to true
  166. * to enable tests that require ClientLogin authentication. Enter your
  167. * Google login credentials in the EMAIL and PASSWORD properties below.
  168. *
  169. * Edit TestConfiguration.php, not TestConfiguration.php.dist.
  170. * Never commit plaintext passwords to the source code repository.
  171. *
  172. * Note: the GData tests currently require that the TZID env variable
  173. * be set or the timezone otherwise configured. You'll see errors from the
  174. * tests if this is not the case.
  175. */
  176. define('TESTS_ZEND_GDATA_ONLINE_ENABLED', false);
  177. define('TESTS_ZEND_GDATA_CLIENTLOGIN_ENABLED', false);
  178. /*
  179. * The credentials provided here should be only for a TEST account.
  180. * Data for various services in this account may be added to, updated,
  181. * or deleted based upon the actions of these test accounts.
  182. */
  183. define('TESTS_ZEND_GDATA_CLIENTLOGIN_EMAIL', 'example@example.com');
  184. define('TESTS_ZEND_GDATA_CLIENTLOGIN_PASSWORD', 'password');
  185. /*
  186. * This is the ID of a blank blog. There is no need to have
  187. * any content in this blog. Also, blogs can only be used
  188. * several times for the purpose of these test cases before
  189. * they must be deleted and recreated. Otherwise, the tests
  190. * will start failing, as posts to Blogger will return a 201 Created
  191. * response even though the entry was not posted to the blog.
  192. * This problem is being investigated.
  193. */
  194. define('TESTS_ZEND_GDATA_BLOGGER_ONLINE_ENABLED', false);
  195. define('TESTS_ZEND_GDATA_BLOG_ID', '1111111111111111111');
  196. /*
  197. * This is the key for a spreadsheet with data only in the first row of
  198. * the spreadsheet. The strings 'a1', 'b1', 'c1', 'd1' should be in the
  199. * corresponding cell locations.
  200. */
  201. define('TESTS_ZEND_GDATA_SPREADSHEETS_ONLINE_ENABLED', false);
  202. define('TESTS_ZEND_GDATA_SPREADSHEETS_SPREADSHEETKEY', 'o01111111111111111111.1111111111111111111');
  203. define('TESTS_ZEND_GDATA_SPREADSHEETS_WORKSHEETID', 'default');
  204. /*
  205. * This indicates that online tests for the Google Calendar API should
  206. * be performed. The default calendar will be used.
  207. */
  208. define('TESTS_ZEND_GDATA_CALENDAR_ONLINE_ENABLED', false);
  209. /*
  210. * This is the fully-qualified domain name for a domiain hosted using
  211. * Google Apps. This domain must be registered with Google Apps and
  212. * have API access enabled. This should be a TEST domain only.
  213. */
  214. define('TESTS_ZEND_GDATA_GAPPS_ONLINE_ENABLED', false);
  215. define('TESTS_ZEND_GDATA_GAPPS_DOMAIN', 'example.com.invalid');
  216. define('TESTS_ZEND_GDATA_GAPPS_EMAIL', 'example@example.com');
  217. define('TESTS_ZEND_GDATA_GAPPS_PASSWORD', 'password');
  218. /*
  219. * This is the ONLINE_ENABLED property for Google Base.
  220. */
  221. define('TESTS_ZEND_GDATA_GBASE_ONLINE_ENABLED', false);
  222. /*
  223. * This indicates that online tests for the Books Search data API
  224. * should be performed.
  225. */
  226. define('TESTS_ZEND_GDATA_BOOKS_ONLINE_ENABLED', false);
  227. /*
  228. * This indicates that online tests for the YouTube data API should
  229. * be performed.
  230. */
  231. define('TESTS_ZEND_GDATA_YOUTUBE_ONLINE_ENABLED', false);
  232. /*
  233. * This is the username to use for retrieving subscriptions, etc
  234. */
  235. define('TESTS_ZEND_GDATA_YOUTUBE_ACCOUNT', 'zfgdata');
  236. /*
  237. * This is the developer key to access the YouTube API
  238. */
  239. define('TESTS_ZEND_GDATA_YOUTUBE_DEVELOPER_KEY', 'your_developer_key_here');
  240. /*
  241. * This is the client ID to access the YouTube API
  242. */
  243. define('TESTS_ZEND_GDATA_YOUTUBE_CLIENT_ID', 'ZF_UnitTests_unknown');
  244. /*
  245. * This indicates that online tests for the Google Documents API should
  246. * be performed.
  247. */
  248. define('TESTS_ZEND_GDATA_DOCS_ONLINE_ENABLED', false);
  249. /*
  250. * This indicates that online tests for the GData Photos API should
  251. * be performed.
  252. */
  253. define('TESTS_ZEND_GDATA_PHOTOS_ONLINE_ENABLED', false);
  254. /*
  255. * This indicates that online tests for the Google Health API should
  256. * be performed.
  257. */
  258. define('TESTS_ZEND_GDATA_HEALTH_ONLINE_ENABLED', false);
  259. /**
  260. * Zend_Date tests
  261. *
  262. * If the BCMATH_ENABLED property below is false, all arithmetic
  263. * operations will use ordinary PHP math operators and functions.
  264. * Otherwise, the bcmath functions will be used for unlimited precision.
  265. *
  266. * If the EXTENDED_COVERAGE property below is false, most of the I18N
  267. * unit tests will not be computed... this speeds tests up to 80 minutes
  268. * when doing reports. *
  269. * Edit TestConfiguration.php, not TestConfiguration.php.dist.
  270. */
  271. define('TESTS_ZEND_LOCALE_BCMATH_ENABLED', true);
  272. define('TESTS_ZEND_I18N_EXTENDED_COVERAGE', true);
  273. /**
  274. * Zend_Ldap online tests
  275. */
  276. define('TESTS_ZEND_LDAP_ONLINE_ENABLED', false);
  277. /* These largely map to the options described in the Zend_Ldap and
  278. * Zend_Auth_Adapter_Ldap documentation.
  279. *
  280. * Example Configuration for Active Directory:
  281. * HOST: dc1.w.net
  282. * USE_START_TLS: true
  283. * USE_SSL: false
  284. * USERNAME: CN=User 1,CN=Users,DC=w,DC=net
  285. * PRINCIPAL_NAME: user1@w.net
  286. * LDAP_PASSWORD: pass1
  287. * BASE_DN: CN=Users,DC=w,DC=net
  288. * DOMAIN_NAME: w.net
  289. * ACCOUNT_DOMAIN_NAME_SHORT: W
  290. * ALT_USERNAME: user2
  291. * ALT_DN: CN=User 2,CN=Users,DC=w,DC=net
  292. * ALT_PASSWORD: pass2
  293. *
  294. * Example Configuration for OpenLDAP
  295. * HOST: s0.foo.net
  296. * USERNAME: CN=user1,DC=foo,DC=net
  297. * PRINCIPAL_NAME: user1@foo.net
  298. * LDAP_PASSWORD: pass1
  299. * BIND_REQUIRES_DN: true
  300. * BASE_DN: OU=Sales,DC=w,DC=net
  301. * DOMAIN_NAME: foo.net
  302. * ACCOUNT_DOMAIN_NAME_SHORT: FOO
  303. * ALT_USERNAME: abaker
  304. * ALT_DN: CN=Alice Baker,OU=Sales,DC=foo,DC=net
  305. * ALT_PASSWORD: apass
  306. */
  307. define('TESTS_ZEND_LDAP_HOST', 'localhost');
  308. //define('TESTS_ZEND_LDAP_PORT', 389);
  309. define('TESTS_ZEND_LDAP_USE_START_TLS', true);
  310. //define('TESTS_ZEND_LDAP_USE_SSL', false);
  311. define('TESTS_ZEND_LDAP_USERNAME', 'CN=someUser,DC=example,DC=com');
  312. define('TESTS_ZEND_LDAP_PRINCIPAL_NAME', 'someUser@example.com');
  313. define('TESTS_ZEND_LDAP_PASSWORD', null);
  314. define('TESTS_ZEND_LDAP_BIND_REQUIRES_DN', true);
  315. define('TESTS_ZEND_LDAP_BASE_DN', 'OU=Sales,DC=example,DC=com');
  316. //define('TESTS_ZEND_LDAP_ACCOUNT_FILTER_FORMAT', '(&(objectClass=posixAccount)(uid=%s))');
  317. define('TESTS_ZEND_LDAP_ACCOUNT_DOMAIN_NAME', 'example.com');
  318. define('TESTS_ZEND_LDAP_ACCOUNT_DOMAIN_NAME_SHORT', 'EXAMPLE');
  319. define('TESTS_ZEND_LDAP_ALT_USERNAME', 'anotherUser');
  320. define('TESTS_ZEND_LDAP_ALT_DN', 'CN=Another User,OU=Sales,DC=example,DC=com');
  321. define('TESTS_ZEND_LDAP_ALT_PASSWORD', null);
  322. /**
  323. * Zend_Locale tests
  324. *
  325. * If the TESTS_ZEND_LOCALE_FORMAT_SETLOCALE property below is a valid,
  326. * locally recognized locale (try "locale -a"), then all tests in
  327. * tests/Zend/Locale/ test suites will execute *after*
  328. * setlocale(LC_ALL, TESTS_ZEND_LOCALE_FORMAT_SETLOCALE);
  329. * Primarily, this switches certain PHP functions to emit "localized" output,
  330. * including the built-in "to string" for integer and float conversions.
  331. * Thus, a locale of 'fr_FR' yields number-to-string conversions in a
  332. * localized form with the decimal place separator chosen via:
  333. * setlocale(LC_ALL, 'fr_FR@euro');
  334. */
  335. //define('TESTS_ZEND_LOCALE_FORMAT_SETLOCALE', 'fr');
  336. //define('TESTS_ZEND_LOCALE_FORMAT_SETLOCALE', 'fr_FR@euro');
  337. define('TESTS_ZEND_LOCALE_FORMAT_SETLOCALE', false);
  338. /**
  339. * Zend_Mail_Storage tests
  340. *
  341. * TESTS_ZEND_MAIL_SERVER_TESTDIR and TESTS_ZEND_MAIL_SERVER_FORMAT are used for POP3 and IMAP tests.
  342. * TESTS_ZEND_MAIL_SERVER_FORMAT is the format your test mail server uses: 'mbox' or 'maildir'. The mail
  343. * storage for the user specified in your POP3 or IMAP tests should be TESTS_ZEND_MAIL_SERVER_TESTDIR. Be
  344. * careful: it's cleared before copying the files. If you want to copy the files manually set the dir
  345. * to null (or anything == null).
  346. *
  347. * TESTS_ZEND_MAIL_TEMPDIR is used for testing write operations in local storages. If not set (== null)
  348. * tempnam() is used.
  349. */
  350. define('TESTS_ZEND_MAIL_SERVER_TESTDIR', null);
  351. define('TESTS_ZEND_MAIL_SERVER_FORMAT', 'mbox');
  352. define('TESTS_ZEND_MAIL_TEMPDIR', null);
  353. /**
  354. * Zend_Mail_Storage_Pop3 / Zend_Mail_Transport_Pop3
  355. *
  356. * IMPORTANT: you need to copy tests/Zend/Mail/_files/test.mbox to your mail
  357. * if you haven't set TESTS_ZEND_MAIL_SERVER_TESTDIR
  358. */
  359. define('TESTS_ZEND_MAIL_POP3_ENABLED', false);
  360. define('TESTS_ZEND_MAIL_POP3_HOST', 'localhost');
  361. define('TESTS_ZEND_MAIL_POP3_USER', 'test');
  362. define('TESTS_ZEND_MAIL_POP3_PASSWORD', '');
  363. // test SSL connections if enabled in your test server
  364. define('TESTS_ZEND_MAIL_POP3_SSL', true);
  365. define('TESTS_ZEND_MAIL_POP3_TLS', true);
  366. // WRONG_PORT should be an existing server port,
  367. // INVALID_PORT should be a non existing (each on defined host)
  368. define('TESTS_ZEND_MAIL_POP3_WRONG_PORT', 80);
  369. define('TESTS_ZEND_MAIL_POP3_INVALID_PORT', 3141);
  370. /**
  371. * Zend_Mail_Storage_Imap / Zend_Mail_Transport_Imap
  372. *
  373. * IMPORTANT: you need to copy tests/Zend/Mail/_files/test.mbox to your mail
  374. * if you haven't set TESTS_ZEND_MAIL_SERVER_TESTDIR
  375. */
  376. define('TESTS_ZEND_MAIL_IMAP_ENABLED', false);
  377. define('TESTS_ZEND_MAIL_IMAP_HOST', 'localhost');
  378. define('TESTS_ZEND_MAIL_IMAP_USER', 'test');
  379. define('TESTS_ZEND_MAIL_IMAP_PASSWORD', '');
  380. // test SSL connections if enabled in your test server
  381. define('TESTS_ZEND_MAIL_IMAP_SSL', true);
  382. define('TESTS_ZEND_MAIL_IMAP_TLS', true);
  383. // WRONG_PORT should be an existing server port,
  384. // INVALID_PORT should be a non-existing (each on defined host)
  385. define('TESTS_ZEND_MAIL_IMAP_WRONG_PORT', 80);
  386. define('TESTS_ZEND_MAIL_IMAP_INVALID_PORT', 3141);
  387. /**
  388. * Zend_Mail_Storage_Maildir test
  389. *
  390. * Before enabling this test you have to unpack messages.tar in
  391. * Zend/Mail/_files/test.maildir/cur/ and remove the tar for this test to work.
  392. * That's because the messages files have a colon in the filename and that's a
  393. * forbidden character on Windows.
  394. */
  395. define('TESTS_ZEND_MAIL_MAILDIR_ENABLED', false);
  396. /**
  397. * Zend_Mail_Transport_Smtp
  398. *
  399. * @todo TO be implemented
  400. */
  401. define('TESTS_ZEND_MAIL_SMTP_ENABLED', false);
  402. define('TESTS_ZEND_MAIL_SMTP_HOST', 'localhost');
  403. define('TESTS_ZEND_MAIL_SMTP_PORT', 25);
  404. define('TESTS_ZEND_MAIL_SMTP_USER', 'testuser');
  405. define('TESTS_ZEND_MAIL_SMTP_PASSWORD', 'testpassword');
  406. define('TESTS_ZEND_MAIL_SMTP_AUTH', false);
  407. // AUTH can be set to false or a string of AUTH method (e.g. LOGIN, PLAIN, CRAMMD5 or DIGESTMD5)
  408. /**
  409. * Zend_Service_Amazon online tests
  410. */
  411. define('TESTS_ZEND_SERVICE_AMAZON_ONLINE_ENABLED', false);
  412. define('TESTS_ZEND_SERVICE_AMAZON_ONLINE_ACCESSKEYID', 'Enter AWSAccessKeyId here');
  413. define('TESTS_ZEND_SERVICE_AMAZON_ONLINE_SECRETKEY', 'Enter AWSSecretKey here');
  414. define('TESTS_ZEND_SERVICE_AMAZON_S3_BUCKET', 'zftestamazons3bucket');
  415. /**
  416. * Zend_Service_Delicious tests
  417. */
  418. define('TESTS_ZEND_SERVICE_DELICIOUS_ENABLED', false);
  419. /**
  420. * Zend_Service_Flickr online tests
  421. */
  422. define('TESTS_ZEND_SERVICE_FLICKR_ONLINE_ENABLED', false);
  423. define('TESTS_ZEND_SERVICE_FLICKR_ONLINE_APIKEY', 'Enter API key here');
  424. /**
  425. * Zend_Service_Simpy tests
  426. */
  427. define('TESTS_ZEND_SERVICE_SIMPY_ENABLED', false);
  428. define('TESTS_ZEND_SERVICE_SIMPY_USERNAME', 'syapizend');
  429. define('TESTS_ZEND_SERVICE_SIMPY_PASSWORD', 'mgt37ge');
  430. /**
  431. * Zend_Service_SlideShare tests
  432. */
  433. define('TESTS_ZEND_SERVICE_SLIDESHARE_USERNAME', '');
  434. define('TESTS_ZEND_SERVICE_SLIDESHARE_PASSWORD', '');
  435. define('TESTS_ZEND_SERVICE_SLIDESHARE_SHAREDSECRET', '');
  436. define('TESTS_ZEND_SERVICE_SLIDESHARE_APIKEY', '');
  437. // The slide show ID to retrieve during tests
  438. define('TESTS_ZEND_SERVICE_SLIDESHARE_SLIDESHOWID', 0);
  439. // The tag to retrieve during tests
  440. define('TESTS_ZEND_SERVICE_SLIDESHARE_TAG', 'zend');
  441. // The group to retrieve during tests
  442. define('TESTS_ZEND_SERVICE_SLIDESHARE_GROUP', '');
  443. /**
  444. * Zend_Service_Yahoo online tests
  445. */
  446. define('TESTS_ZEND_SERVICE_YAHOO_ONLINE_ENABLED', false);
  447. define('TESTS_ZEND_SERVICE_YAHOO_ONLINE_APPID', 'Enter APPID here');
  448. /**
  449. * Zend_Service_ReCaptcha tests
  450. */
  451. define('TESTS_ZEND_SERVICE_RECAPTCHA_ENABLED', false);
  452. define('TESTS_ZEND_SERVICE_RECAPTCHA_ONLINE_ENABLED', false);
  453. define('TESTS_ZEND_SERVICE_RECAPTCHA_PUBLIC_KEY', 'public key');
  454. define('TESTS_ZEND_SERVICE_RECAPTCHA_PRIVATE_KEY', 'private key');
  455. define('TESTS_ZEND_SERVICE_RECAPTCHA_MAILHIDE_PUBLIC_KEY', 'public mailhide key');
  456. define('TESTS_ZEND_SERVICE_RECAPTCHA_MAILHIDE_PRIVATE_KEY', 'private mailhide key');
  457. /**
  458. * Zend_Soap_AutoDiscover scenario tests for complex objects and wsdl generation
  459. *
  460. * Copy all the files of zf/tests/Zend/Soap/_files/fulltests into a directory
  461. * that can be reached by webserver and enter the base uri to this directory
  462. * into the variable. The test "Zend_Soap_AutoDiscover_OnlineTest" makes use
  463. * of the servers and AutoDiscover feature.
  464. *
  465. * NOTE: Make sure the servers are using the correct Zend Framework copy,
  466. * when having more than one version installed and include paths are changing.
  467. */
  468. define('TESTS_ZEND_SOAP_AUTODISCOVER_ONLINE_SERVER_BASEURI', false);
  469. /**
  470. * PHPUnit Code Coverage / Test Report
  471. */
  472. define('TESTS_GENERATE_REPORT', false);
  473. define('TESTS_GENERATE_REPORT_TARGET', '/path/to/target');