TestConfiguration.php.dist 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872
  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-2015 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. * GENERAL SETTINGS
  35. *
  36. * OB_ENABLED should be enabled for some tests to check if all functionality
  37. * works as expected. Such tests include those for Zend_Soap and Zend_Session,
  38. * which require that headers not be sent in order to work.
  39. */
  40. defined('TESTS_ZEND_OB_ENABLED') || define('TESTS_ZEND_OB_ENABLED', false);
  41. /**
  42. * Zend_Auth_Adapter_DbTable tests
  43. */
  44. defined('TESTS_ZEND_AUTH_ADAPTER_DBTABLE_PDO_SQLITE_ENABLED') || define('TESTS_ZEND_AUTH_ADAPTER_DBTABLE_PDO_SQLITE_ENABLED', false);
  45. defined('TESTS_ZEND_AUTH_ADAPTER_DBTABLE_PDO_SQLITE_DATABASE') || define('TESTS_ZEND_AUTH_ADAPTER_DBTABLE_PDO_SQLITE_DATABASE', ':memory:');
  46. /**
  47. * Zend_Auth_Adapter_Ldap online tests
  48. * (See also TESTS_ZEND_LDAP_* configuration constants below)
  49. */
  50. defined('TESTS_ZEND_AUTH_ADAPTER_LDAP_ONLINE_ENABLED') || define('TESTS_ZEND_AUTH_ADAPTER_LDAP_ONLINE_ENABLED', false);
  51. /**
  52. * Zend_Cache
  53. *
  54. * TESTS_ZEND_CACHE_SQLITE_ENABLED => sqlite extension has to be enabled
  55. * TESTS_ZEND_CACHE_APC_ENABLED => apc extension has to be enabled
  56. * TESTS_ZEND_CACHE_WINCACHE_ENABLED => wincache extension has to be enabled
  57. * TESTS_ZEND_CACHE_MEMCACHED_ENABLED => memcache extension has to be enabled and
  58. * a memcached server has to be available
  59. * TESTS_ZEND_CACHE_LIBMEMCACHED_ENABLED => memcached extension has to be enabled and
  60. * a memcached server has to be available
  61. * TESTS_ZEND_CACHE_XCACHE_ENABLED => xcache extension has to be enabled
  62. */
  63. defined('TESTS_ZEND_CACHE_SQLITE_ENABLED') || define('TESTS_ZEND_CACHE_SQLITE_ENABLED', false);
  64. defined('TESTS_ZEND_CACHE_APC_ENABLED') || define('TESTS_ZEND_CACHE_APC_ENABLED', false);
  65. defined('TESTS_ZEND_CACHE_WINCACHE_ENABLED') || define('TESTS_ZEND_CACHE_WINCACHE_ENABLED', false);
  66. defined('TESTS_ZEND_CACHE_XCACHE_ENABLED') || define('TESTS_ZEND_CACHE_XCACHE_ENABLED', false);
  67. defined('TESTS_ZEND_CACHE_XCACHE_USER') || define('TESTS_ZEND_CACHE_XCACHE_USER', null);
  68. defined('TESTS_ZEND_CACHE_XCACHE_PASSWORD') || define('TESTS_ZEND_CACHE_XCACHE_PASSWORD', null);
  69. defined('TESTS_ZEND_CACHE_PLATFORM_ENABLED') || define('TESTS_ZEND_CACHE_PLATFORM_ENABLED', false);
  70. defined('TESTS_ZEND_CACHE_MEMCACHED_ENABLED') || define('TESTS_ZEND_CACHE_MEMCACHED_ENABLED', false);
  71. defined('TESTS_ZEND_CACHE_MEMCACHED_HOST') || define('TESTS_ZEND_CACHE_MEMCACHED_HOST', '127.0.0.1');
  72. defined('TESTS_ZEND_CACHE_MEMCACHED_PORT') || define('TESTS_ZEND_CACHE_MEMCACHED_PORT', 11211);
  73. defined('TESTS_ZEND_CACHE_MEMCACHED_PERSISTENT') || define('TESTS_ZEND_CACHE_MEMCACHED_PERSISTENT', true);
  74. defined('TESTS_ZEND_CACHE_LIBMEMCACHED_ENABLED') || define('TESTS_ZEND_CACHE_LIBMEMCACHED_ENABLED', false);
  75. defined('TESTS_ZEND_CACHE_LIBMEMCACHED_HOST') || define('TESTS_ZEND_CACHE_LIBMEMCACHED_HOST', '127.0.0.1');
  76. defined('TESTS_ZEND_CACHE_LIBMEMCACHED_PORT') || define('TESTS_ZEND_CACHE_LIBMEMCACHED_PORT', 11211);
  77. defined('TESTS_ZEND_CACHE_LIBMEMCACHED_WEIGHT') || define('TESTS_ZEND_CACHE_LIBMEMCACHED_WEIGHT', 1);
  78. /**
  79. * Zend_Cloud online tests
  80. *
  81. * You may need to provide connection details for specific adapters under their
  82. * specific configuration settings elsewhere in this file.
  83. */
  84. defined('TESTS_ZEND_CLOUD_STORAGE_WINDOWSAZURE_CONTAINER') || define('TESTS_ZEND_CLOUD_STORAGE_WINDOWSAZURE_CONTAINER', 'simplecloudcontainer');
  85. /**
  86. * Zend_Controller
  87. *
  88. * TESTS_ZEND_CONTROLLER_DISPATCHER_OB => test disabling output buffering in
  89. * dispatcher
  90. */
  91. defined('TESTS_ZEND_CONTROLLER_DISPATCHER_OB') || define('TESTS_ZEND_CONTROLLER_DISPATCHER_OB', false);
  92. /**
  93. * Zend_Db_Adapter_Pdo_Mysql and Zend_Db_Adapter_Mysqli
  94. *
  95. * There are separate properties to enable tests for the PDO_MYSQL adapter and
  96. * the native Mysqli adapters, but the other properties are shared between the
  97. * two MySQL-related Zend_Db adapters.
  98. */
  99. defined('TESTS_ZEND_DB_ADAPTER_PDO_MYSQL_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_PDO_MYSQL_ENABLED', false);
  100. defined('TESTS_ZEND_DB_ADAPTER_MYSQLI_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_MYSQLI_ENABLED', false);
  101. defined('TESTS_ZEND_DB_ADAPTER_MYSQL_HOSTNAME') || define('TESTS_ZEND_DB_ADAPTER_MYSQL_HOSTNAME', '127.0.0.1');
  102. defined('TESTS_ZEND_DB_ADAPTER_MYSQL_USERNAME') || define('TESTS_ZEND_DB_ADAPTER_MYSQL_USERNAME', null);
  103. defined('TESTS_ZEND_DB_ADAPTER_MYSQL_PASSWORD') || define('TESTS_ZEND_DB_ADAPTER_MYSQL_PASSWORD', null);
  104. defined('TESTS_ZEND_DB_ADAPTER_MYSQL_DATABASE') || define('TESTS_ZEND_DB_ADAPTER_MYSQL_DATABASE', 'test');
  105. defined('TESTS_ZEND_DB_ADAPTER_MYSQL_PORT') || define('TESTS_ZEND_DB_ADAPTER_MYSQL_PORT', 3306);
  106. /**
  107. * Zend_Db_Adapter_Pdo_Sqlite
  108. *
  109. * Username and password are irrelevant for SQLite.
  110. */
  111. defined('TESTS_ZEND_DB_ADAPTER_PDO_SQLITE_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_PDO_SQLITE_ENABLED', false);
  112. defined('TESTS_ZEND_DB_ADAPTER_PDO_SQLITE_DATABASE') || define('TESTS_ZEND_DB_ADAPTER_PDO_SQLITE_DATABASE', ':memory:');
  113. /**
  114. * Zend_Db_Adapter_Pdo_Mssql
  115. *
  116. * Note that you need to patch your ntwdblib.dll, the one that
  117. * comes with PHP does not work. See user comments at
  118. * http://us2.php.net/manual/en/ref.mssql.php
  119. */
  120. defined('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_ENABLED', false);
  121. defined('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_HOSTNAME') || define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_HOSTNAME', '127.0.0.1');
  122. defined('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_USERNAME') || define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_USERNAME', null);
  123. defined('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_PASSWORD') || define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_PASSWORD', null);
  124. defined('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_DATABASE') || define('TESTS_ZEND_DB_ADAPTER_PDO_MSSQL_DATABASE', 'test');
  125. /**
  126. * Zend_Db_Adapter_Pdo_Pgsql
  127. */
  128. defined('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_ENABLED', false);
  129. defined('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_HOSTNAME') || define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_HOSTNAME', '127.0.0.1');
  130. defined('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_USERNAME') || define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_USERNAME', null);
  131. defined('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_PASSWORD') || define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_PASSWORD', null);
  132. defined('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_DATABASE') || define('TESTS_ZEND_DB_ADAPTER_PDO_PGSQL_DATABASE', 'postgres');
  133. /**
  134. * Zend_Db_Adapter_Oracle and Zend_Db_Adapter_Pdo_Oci
  135. *
  136. * There are separate properties to enable tests for the PDO_OCI adapter and
  137. * the native Oracle adapter, but the other properties are shared between the
  138. * two Oracle-related Zend_Db adapters.
  139. */
  140. defined('TESTS_ZEND_DB_ADAPTER_PDO_OCI_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_PDO_OCI_ENABLED', false);
  141. defined('TESTS_ZEND_DB_ADAPTER_ORACLE_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_ORACLE_ENABLED', false);
  142. defined('TESTS_ZEND_DB_ADAPTER_ORACLE_HOSTNAME') || define('TESTS_ZEND_DB_ADAPTER_ORACLE_HOSTNAME', '127.0.0.1');
  143. defined('TESTS_ZEND_DB_ADAPTER_ORACLE_USERNAME') || define('TESTS_ZEND_DB_ADAPTER_ORACLE_USERNAME', null);
  144. defined('TESTS_ZEND_DB_ADAPTER_ORACLE_PASSWORD') || define('TESTS_ZEND_DB_ADAPTER_ORACLE_PASSWORD', null);
  145. defined('TESTS_ZEND_DB_ADAPTER_ORACLE_SID') || define('TESTS_ZEND_DB_ADAPTER_ORACLE_SID', 'xe');
  146. /**
  147. * Zend_Db_Adapter_Db2 and Zend_Db_Adapter_Pdo_Ibm
  148. * There are separate properties to enable tests for the PDO_IBM adapter and
  149. * the native DB2 adapter, but the other properties are shared between the
  150. * two related Zend_Db adapters.
  151. */
  152. defined('TESTS_ZEND_DB_ADAPTER_PDO_IBM_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_PDO_IBM_ENABLED', false);
  153. defined('TESTS_ZEND_DB_ADAPTER_DB2_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_DB2_ENABLED', false);
  154. defined('TESTS_ZEND_DB_ADAPTER_DB2_HOSTNAME') || define('TESTS_ZEND_DB_ADAPTER_DB2_HOSTNAME', '127.0.0.1');
  155. defined('TESTS_ZEND_DB_ADAPTER_DB2_PORT') || define('TESTS_ZEND_DB_ADAPTER_DB2_PORT', 50000);
  156. defined('TESTS_ZEND_DB_ADAPTER_DB2_USERNAME') || define('TESTS_ZEND_DB_ADAPTER_DB2_USERNAME', null);
  157. defined('TESTS_ZEND_DB_ADAPTER_DB2_PASSWORD') || define('TESTS_ZEND_DB_ADAPTER_DB2_PASSWORD', null);
  158. defined('TESTS_ZEND_DB_ADAPTER_DB2_DATABASE') || define('TESTS_ZEND_DB_ADAPTER_DB2_DATABASE', 'sample');
  159. /**
  160. * Zend_Db_Adapter_Sqlsrv
  161. * Note: Make sure that you create the "test" database and set a
  162. * username and password
  163. *
  164. */
  165. defined('TESTS_ZEND_DB_ADAPTER_SQLSRV_ENABLED') || define('TESTS_ZEND_DB_ADAPTER_SQLSRV_ENABLED', false);
  166. defined('TESTS_ZEND_DB_ADAPTER_SQLSRV_HOSTNAME') || define('TESTS_ZEND_DB_ADAPTER_SQLSRV_HOSTNAME', 'localhost\SQLEXPRESS');
  167. defined('TESTS_ZEND_DB_ADAPTER_SQLSRV_USERNAME') || define('TESTS_ZEND_DB_ADAPTER_SQLSRV_USERNAME', null);
  168. defined('TESTS_ZEND_DB_ADAPTER_SQLSRV_PASSWORD') || define('TESTS_ZEND_DB_ADAPTER_SQLSRV_PASSWORD', null);
  169. defined('TESTS_ZEND_DB_ADAPTER_SQLSRV_DATABASE') || define('TESTS_ZEND_DB_ADAPTER_SQLSRV_DATABASE', 'test');
  170. /**
  171. * Zend_Feed_Rss/Zend_Feed_Atom online tests
  172. *
  173. * Set the BASEURI to a vhost pointed at the tests/Zend/Feed/_files
  174. * subdirectory to enable these tests.
  175. */
  176. defined('TESTS_ZEND_FEED_IMPORT_ONLINE_BASEURI') || define('TESTS_ZEND_FEED_IMPORT_ONLINE_BASEURI', false);
  177. /**
  178. * Zend_Feed_Reader tests
  179. *
  180. * If the ONLINE_ENABLED property is false, only tests that can be executed
  181. * without network connectivity are run; when enabled, all tests will run.
  182. */
  183. defined('TESTS_ZEND_FEED_READER_ONLINE_ENABLED') || define('TESTS_ZEND_FEED_READER_ONLINE_ENABLED', false);
  184. /**
  185. * Zend_Gdata tests
  186. *
  187. * If the ONLINE_ENABLED property is false, only tests that can be executed with
  188. * a mock HTTP client are run. No request is sent to the Google Gdata servers.
  189. * If ONLINE_ENABLED is true, some tests may make requests to the remote
  190. * servers. This does not work if you are running tests on a disconnected
  191. * client host. Also, the tests may show as failures if the Google servers
  192. * cannot be reached or if they do not respond for another reason.
  193. *
  194. * If the CLIENTLOGIN_ENABLED property below is false, the authenticated
  195. * tests are reported Skipped in the test run. Set this property to true
  196. * to enable tests that require ClientLogin authentication. Enter your
  197. * Google login credentials in the EMAIL and PASSWORD properties below.
  198. *
  199. * Edit TestConfiguration.php, not TestConfiguration.php.dist.
  200. * Never commit plaintext passwords to the source code repository.
  201. *
  202. * Note: the GData tests currently require that the TZID env variable
  203. * be set or the timezone otherwise configured. You'll see errors from the
  204. * tests if this is not the case.
  205. */
  206. defined('TESTS_ZEND_GDATA_ONLINE_ENABLED') || define('TESTS_ZEND_GDATA_ONLINE_ENABLED', false);
  207. defined('TESTS_ZEND_GDATA_CLIENTLOGIN_ENABLED') || define('TESTS_ZEND_GDATA_CLIENTLOGIN_ENABLED', false);
  208. /*
  209. * The credentials provided here should be only for a TEST account.
  210. * Data for various services in this account may be added to, updated,
  211. * or deleted based upon the actions of these test accounts.
  212. */
  213. defined('TESTS_ZEND_GDATA_CLIENTLOGIN_EMAIL') || define('TESTS_ZEND_GDATA_CLIENTLOGIN_EMAIL', 'example@example.com');
  214. defined('TESTS_ZEND_GDATA_CLIENTLOGIN_PASSWORD') || define('TESTS_ZEND_GDATA_CLIENTLOGIN_PASSWORD', 'password');
  215. /*
  216. * This is the ID of a blank blog. There is no need to have
  217. * any content in this blog. Also, blogs can only be used
  218. * several times for the purpose of these test cases before
  219. * they must be deleted and recreated. Otherwise, the tests
  220. * will start failing, as posts to Blogger will return a 201 Created
  221. * response even though the entry was not posted to the blog.
  222. * This problem is being investigated.
  223. */
  224. defined('TESTS_ZEND_GDATA_BLOGGER_ONLINE_ENABLED') || define('TESTS_ZEND_GDATA_BLOGGER_ONLINE_ENABLED', false);
  225. defined('TESTS_ZEND_GDATA_BLOG_ID') || define('TESTS_ZEND_GDATA_BLOG_ID', '1111111111111111111');
  226. /*
  227. * This is the key for a spreadsheet with data only in the first row of
  228. * the spreadsheet. The strings 'a1', 'b1', 'c1', 'd1' should be in the
  229. * corresponding cell locations.
  230. */
  231. defined('TESTS_ZEND_GDATA_SPREADSHEETS_ONLINE_ENABLED') || define('TESTS_ZEND_GDATA_SPREADSHEETS_ONLINE_ENABLED', false);
  232. defined('TESTS_ZEND_GDATA_SPREADSHEETS_SPREADSHEETKEY') || define('TESTS_ZEND_GDATA_SPREADSHEETS_SPREADSHEETKEY', 'o01111111111111111111.1111111111111111111');
  233. defined('TESTS_ZEND_GDATA_SPREADSHEETS_WORKSHEETID') || define('TESTS_ZEND_GDATA_SPREADSHEETS_WORKSHEETID', 'default');
  234. /*
  235. * This indicates that online tests for the Google Calendar API should
  236. * be performed. The default calendar will be used.
  237. */
  238. defined('TESTS_ZEND_GDATA_CALENDAR_ONLINE_ENABLED') || define('TESTS_ZEND_GDATA_CALENDAR_ONLINE_ENABLED', false);
  239. /*
  240. * This is the fully-qualified domain name for a domiain hosted using
  241. * Google Apps. This domain must be registered with Google Apps and
  242. * have API access enabled. This should be a TEST domain only.
  243. */
  244. defined('TESTS_ZEND_GDATA_GAPPS_ONLINE_ENABLED') || define('TESTS_ZEND_GDATA_GAPPS_ONLINE_ENABLED', false);
  245. defined('TESTS_ZEND_GDATA_GAPPS_DOMAIN') || define('TESTS_ZEND_GDATA_GAPPS_DOMAIN', 'example.com.invalid');
  246. defined('TESTS_ZEND_GDATA_GAPPS_EMAIL') || define('TESTS_ZEND_GDATA_GAPPS_EMAIL', 'example@example.com');
  247. defined('TESTS_ZEND_GDATA_GAPPS_PASSWORD') || define('TESTS_ZEND_GDATA_GAPPS_PASSWORD', 'password');
  248. /*
  249. * This indicates that online tests for the Books Search data API
  250. * should be performed.
  251. */
  252. defined('TESTS_ZEND_GDATA_BOOKS_ONLINE_ENABLED') || define('TESTS_ZEND_GDATA_BOOKS_ONLINE_ENABLED', false);
  253. /*
  254. * This indicates that online tests for the YouTube data API should
  255. * be performed.
  256. */
  257. defined('TESTS_ZEND_GDATA_YOUTUBE_ONLINE_ENABLED') || define('TESTS_ZEND_GDATA_YOUTUBE_ONLINE_ENABLED', false);
  258. /*
  259. * This is the username to use for retrieving subscriptions, etc
  260. */
  261. defined('TESTS_ZEND_GDATA_YOUTUBE_ACCOUNT') || define('TESTS_ZEND_GDATA_YOUTUBE_ACCOUNT', 'zfgdata');
  262. /*
  263. * This is the developer key to access the YouTube API
  264. */
  265. defined('TESTS_ZEND_GDATA_YOUTUBE_DEVELOPER_KEY') || define('TESTS_ZEND_GDATA_YOUTUBE_DEVELOPER_KEY', 'your_developer_key_here');
  266. /*
  267. * This is the client ID to access the YouTube API
  268. */
  269. defined('TESTS_ZEND_GDATA_YOUTUBE_CLIENT_ID') || define('TESTS_ZEND_GDATA_YOUTUBE_CLIENT_ID', 'ZF_UnitTests_unknown');
  270. /*
  271. * This indicates that online tests for the Google Documents API should
  272. * be performed.
  273. */
  274. defined('TESTS_ZEND_GDATA_DOCS_ONLINE_ENABLED') || define('TESTS_ZEND_GDATA_DOCS_ONLINE_ENABLED', false);
  275. /*
  276. * This indicates that online tests for the GData Photos API should
  277. * be performed.
  278. */
  279. defined('TESTS_ZEND_GDATA_PHOTOS_ONLINE_ENABLED') || define('TESTS_ZEND_GDATA_PHOTOS_ONLINE_ENABLED', false);
  280. /**
  281. * Zend_Http_Client tests
  282. *
  283. * To enable the dynamic Zend_Http_Client tests, you will need to symbolically
  284. * link or copy the files in tests/Zend/Http/Client/_files to a directory
  285. * under your web server(s) document root and set this constant to point to the
  286. * URL of this directory.
  287. */
  288. defined('TESTS_ZEND_HTTP_CLIENT_BASEURI') || define('TESTS_ZEND_HTTP_CLIENT_BASEURI', false);
  289. /**
  290. * Zend_Http_Client_Proxy tests
  291. *
  292. * HTTP proxy to be used for testing the Proxy adapter. Set to a string of
  293. * the form 'host:port'. Set to null to skip HTTP proxy tests.
  294. */
  295. defined('TESTS_ZEND_HTTP_CLIENT_HTTP_PROXY') || define('TESTS_ZEND_HTTP_CLIENT_HTTP_PROXY', false);
  296. defined('TESTS_ZEND_HTTP_CLIENT_HTTP_PROXY_USER') || define('TESTS_ZEND_HTTP_CLIENT_HTTP_PROXY_USER', '');
  297. defined('TESTS_ZEND_HTTP_CLIENT_HTTP_PROXY_PASS') || define('TESTS_ZEND_HTTP_CLIENT_HTTP_PROXY_PASS', '');
  298. /**
  299. * Zend_Http_UserAgent tests
  300. *
  301. * Location of WURFL library and config file, for testing mobile device
  302. * detection.
  303. */
  304. defined('TESTS_ZEND_HTTP_USERAGENT_WURFL_LIB_DIR') || define('TESTS_ZEND_HTTP_USERAGENT_WURFL_LIB_DIR', false);
  305. defined('TESTS_ZEND_HTTP_USERAGENT_WURFL_CONFIG_FILE') || define('TESTS_ZEND_HTTP_USERAGENT_WURFL_CONFIG_FILE', false);
  306. /**
  307. * Location of DeviceAtlas library and data file, for testing mobile device
  308. * detection against DeviceAtlas
  309. */
  310. defined('TESTS_ZEND_HTTP_USERAGENT_DEVICEATLAS_LIB_DIR') || define('TESTS_ZEND_HTTP_USERAGENT_DEVICEATLAS_LIB_DIR', false);
  311. defined('TESTS_ZEND_HTTP_USERAGENT_DEVICEATLAS_DATA_FILE') || define('TESTS_ZEND_HTTP_USERAGENT_DEVICEATLAS_DATA_FILE', false);
  312. /**
  313. * Location of TeraWurfl library and data file, for testing mobile device
  314. * detection against TeraWurfl
  315. */
  316. defined('TESTS_ZEND_HTTP_USERAGENT_TERAWURFL_LIB_DIR') || define('TESTS_ZEND_HTTP_USERAGENT_TERAWURFL_LIB_DIR', false);
  317. /**
  318. * Zend_Loader_Autoloader multi-version support tests
  319. *
  320. * ENABLED: whether or not to run the multi-version tests
  321. * PATH: path to a directory containing multiple ZF version installs
  322. * LATEST: most recent ZF version in the PATH
  323. * e.g., "1.9.2"
  324. * LATEST_MAJOR: most recent ZF major version in the PATH to test against
  325. * e.g., "1.9.2"
  326. * LATEST_MINOR: most recent ZF minor version in the PATH to test against
  327. * e.g., "1.8.4PL1"
  328. * SPECIFIC: specific ZF version in the PATH to test against
  329. * e.g., "1.7.6"
  330. * As an example, consider the following tree:
  331. * ZendFramework/
  332. * |-- 1.9.2
  333. * |-- ZendFramework-1.9.1-minimal
  334. * |-- 1.8.4PL1
  335. * |-- 1.8.4
  336. * |-- ZendFramework-1.8.3
  337. * |-- 1.7.8
  338. * |-- 1.7.7
  339. * |-- 1.7.6
  340. * You would then set the value of "LATEST" and "LATEST_MAJOR" to "1.9.2", and
  341. * could choose between "1.9.2", "1.8.4PL1", and "1.7.8" for "LATEST_MINOR",
  342. * and any version number for "SPECIFIC". "PATH" would point to the parent
  343. * "ZendFramework" directory.
  344. */
  345. defined('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_ENABLED') || define('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_ENABLED', false);
  346. defined('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_PATH') || define('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_PATH', false);
  347. defined('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_LATEST') || define('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_LATEST', false);
  348. defined('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_LATEST_MAJOR') || define('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_LATEST_MAJOR', false);
  349. defined('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_LATEST_MINOR') || define('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_LATEST_MINOR', false);
  350. defined('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_SPECIFIC') || define('TESTS_ZEND_LOADER_AUTOLOADER_MULTIVERSION_SPECIFIC', false);
  351. /**
  352. * Zend_Ldap online tests
  353. */
  354. defined('TESTS_ZEND_LDAP_ONLINE_ENABLED') || define('TESTS_ZEND_LDAP_ONLINE_ENABLED', false);
  355. /* These largely map to the options described in the Zend_Ldap and
  356. * Zend_Auth_Adapter_Ldap documentation.
  357. *
  358. * Example Configuration for Active Directory:
  359. * HOST: dc1.w.net
  360. * USE_START_TLS: true
  361. * USE_SSL: false
  362. * USERNAME: CN=User 1,CN=Users,DC=w,DC=net
  363. * PRINCIPAL_NAME: user1@w.net
  364. * LDAP_PASSWORD: pass1
  365. * BASE_DN: CN=Users,DC=w,DC=net
  366. * DOMAIN_NAME: w.net
  367. * ACCOUNT_DOMAIN_NAME_SHORT: W
  368. * ALT_USERNAME: user2
  369. * ALT_DN: CN=User 2,CN=Users,DC=w,DC=net
  370. * ALT_PASSWORD: pass2
  371. *
  372. * Example Configuration for OpenLDAP
  373. * HOST: s0.foo.net
  374. * USERNAME: CN=user1,DC=foo,DC=net
  375. * PRINCIPAL_NAME: user1@foo.net
  376. * LDAP_PASSWORD: pass1
  377. * BIND_REQUIRES_DN: true
  378. * BASE_DN: OU=Sales,DC=w,DC=net
  379. * DOMAIN_NAME: foo.net
  380. * ACCOUNT_DOMAIN_NAME_SHORT: FOO
  381. * ALT_USERNAME: abaker
  382. * ALT_DN: CN=Alice Baker,OU=Sales,DC=foo,DC=net
  383. * ALT_PASSWORD: apass
  384. */
  385. defined('TESTS_ZEND_LDAP_HOST') || define('TESTS_ZEND_LDAP_HOST', 'localhost');
  386. //defined('TESTS_ZEND_LDAP_PORT') || define('TESTS_ZEND_LDAP_PORT', 389);
  387. defined('TESTS_ZEND_LDAP_USE_START_TLS') || define('TESTS_ZEND_LDAP_USE_START_TLS', true);
  388. //defined('TESTS_ZEND_LDAP_USE_SSL') || define('TESTS_ZEND_LDAP_USE_SSL', false);
  389. defined('TESTS_ZEND_LDAP_USERNAME') || define('TESTS_ZEND_LDAP_USERNAME', 'CN=someUser,DC=example,DC=com');
  390. defined('TESTS_ZEND_LDAP_PRINCIPAL_NAME') || define('TESTS_ZEND_LDAP_PRINCIPAL_NAME', 'someUser@example.com');
  391. defined('TESTS_ZEND_LDAP_PASSWORD') || define('TESTS_ZEND_LDAP_PASSWORD', null);
  392. defined('TESTS_ZEND_LDAP_BIND_REQUIRES_DN') || define('TESTS_ZEND_LDAP_BIND_REQUIRES_DN', true);
  393. defined('TESTS_ZEND_LDAP_BASE_DN') || define('TESTS_ZEND_LDAP_BASE_DN', 'OU=Sales,DC=example,DC=com');
  394. //defined('TESTS_ZEND_LDAP_ACCOUNT_FILTER_FORMAT') || define('TESTS_ZEND_LDAP_ACCOUNT_FILTER_FORMAT', '(&(objectClass=posixAccount)(uid=%s))');
  395. defined('TESTS_ZEND_LDAP_ACCOUNT_DOMAIN_NAME') || define('TESTS_ZEND_LDAP_ACCOUNT_DOMAIN_NAME', 'example.com');
  396. defined('TESTS_ZEND_LDAP_ACCOUNT_DOMAIN_NAME_SHORT') || define('TESTS_ZEND_LDAP_ACCOUNT_DOMAIN_NAME_SHORT', 'EXAMPLE');
  397. defined('TESTS_ZEND_LDAP_ALT_USERNAME') || define('TESTS_ZEND_LDAP_ALT_USERNAME', 'anotherUser');
  398. defined('TESTS_ZEND_LDAP_ALT_DN') || define('TESTS_ZEND_LDAP_ALT_DN', 'CN=Another User,OU=Sales,DC=example,DC=com');
  399. defined('TESTS_ZEND_LDAP_ALT_PASSWORD') || define('TESTS_ZEND_LDAP_ALT_PASSWORD', null);
  400. /**
  401. * Zend_Locale tests
  402. *
  403. * If the TESTS_ZEND_LOCALE_FORMAT_SETLOCALE property below is a valid,
  404. * locally recognized locale (try "locale -a"), then all tests in
  405. * tests/Zend/Locale/ test suites will execute *after*
  406. * setlocale(LC_ALL, TESTS_ZEND_LOCALE_FORMAT_SETLOCALE);
  407. * Primarily, this switches certain PHP functions to emit "localized" output,
  408. * including the built-in "to string" for integer and float conversions.
  409. * Thus, a locale of 'fr_FR' yields number-to-string conversions in a
  410. * localized form with the decimal place separator chosen via:
  411. * setlocale(LC_ALL, 'fr_FR@euro');
  412. */
  413. //defined('TESTS_ZEND_LOCALE_FORMAT_SETLOCALE') || define('TESTS_ZEND_LOCALE_FORMAT_SETLOCALE', 'fr');
  414. //defined('TESTS_ZEND_LOCALE_FORMAT_SETLOCALE') || define('TESTS_ZEND_LOCALE_FORMAT_SETLOCALE', 'fr_FR@euro');
  415. defined('TESTS_ZEND_LOCALE_FORMAT_SETLOCALE') || define('TESTS_ZEND_LOCALE_FORMAT_SETLOCALE', false);
  416. /**
  417. * Zend_Date tests
  418. *
  419. * If the BCMATH_ENABLED property below is false, all arithmetic
  420. * operations will use ordinary PHP math operators and functions.
  421. * Otherwise, the bcmath functions will be used for unlimited precision.
  422. *
  423. * If the EXTENDED_COVERAGE property below is false, most of the I18N
  424. * unit tests will not be computed... this speeds tests up to 80 minutes
  425. * when doing reports. *
  426. * Edit TestConfiguration.php, not TestConfiguration.php.dist.
  427. */
  428. defined('TESTS_ZEND_LOCALE_BCMATH_ENABLED') || define('TESTS_ZEND_LOCALE_BCMATH_ENABLED', true);
  429. defined('TESTS_ZEND_I18N_EXTENDED_COVERAGE') || define('TESTS_ZEND_I18N_EXTENDED_COVERAGE', true);
  430. /**
  431. * Zend_Mail_Storage tests
  432. *
  433. * TESTS_ZEND_MAIL_SERVER_TESTDIR and TESTS_ZEND_MAIL_SERVER_FORMAT are used for POP3 and IMAP tests.
  434. * TESTS_ZEND_MAIL_SERVER_FORMAT is the format your test mail server uses: 'mbox' or 'maildir'. The mail
  435. * storage for the user specified in your POP3 or IMAP tests should be TESTS_ZEND_MAIL_SERVER_TESTDIR. Be
  436. * careful: it's cleared before copying the files. If you want to copy the files manually set the dir
  437. * to null (or anything == null).
  438. *
  439. * TESTS_ZEND_MAIL_TEMPDIR is used for testing write operations in local storages. If not set (== null)
  440. * tempnam() is used.
  441. */
  442. defined('TESTS_ZEND_MAIL_SERVER_TESTDIR') || define('TESTS_ZEND_MAIL_SERVER_TESTDIR', null);
  443. defined('TESTS_ZEND_MAIL_SERVER_FORMAT') || define('TESTS_ZEND_MAIL_SERVER_FORMAT', 'mbox');
  444. defined('TESTS_ZEND_MAIL_TEMPDIR') || define('TESTS_ZEND_MAIL_TEMPDIR', null);
  445. /**
  446. * Zend_Mail_Storage_Pop3 / Zend_Mail_Transport_Pop3
  447. *
  448. * IMPORTANT: you need to copy tests/Zend/Mail/_files/test.mbox to your mail
  449. * if you haven't set TESTS_ZEND_MAIL_SERVER_TESTDIR
  450. */
  451. defined('TESTS_ZEND_MAIL_POP3_ENABLED') || define('TESTS_ZEND_MAIL_POP3_ENABLED', false);
  452. defined('TESTS_ZEND_MAIL_POP3_HOST') || define('TESTS_ZEND_MAIL_POP3_HOST', 'localhost');
  453. defined('TESTS_ZEND_MAIL_POP3_USER') || define('TESTS_ZEND_MAIL_POP3_USER', 'test');
  454. defined('TESTS_ZEND_MAIL_POP3_PASSWORD') || define('TESTS_ZEND_MAIL_POP3_PASSWORD', '');
  455. // test SSL connections if enabled in your test server
  456. defined('TESTS_ZEND_MAIL_POP3_SSL') || define('TESTS_ZEND_MAIL_POP3_SSL', true);
  457. defined('TESTS_ZEND_MAIL_POP3_TLS') || define('TESTS_ZEND_MAIL_POP3_TLS', true);
  458. // WRONG_PORT should be an existing server port,
  459. // INVALID_PORT should be a non existing (each on defined host)
  460. defined('TESTS_ZEND_MAIL_POP3_WRONG_PORT') || define('TESTS_ZEND_MAIL_POP3_WRONG_PORT', 80);
  461. defined('TESTS_ZEND_MAIL_POP3_INVALID_PORT') || define('TESTS_ZEND_MAIL_POP3_INVALID_PORT', 3141);
  462. /**
  463. * Zend_Mail_Storage_Imap / Zend_Mail_Transport_Imap
  464. *
  465. * IMPORTANT: you need to copy tests/Zend/Mail/_files/test.mbox to your mail
  466. * if you haven't set TESTS_ZEND_MAIL_SERVER_TESTDIR
  467. */
  468. defined('TESTS_ZEND_MAIL_IMAP_ENABLED') || define('TESTS_ZEND_MAIL_IMAP_ENABLED', false);
  469. defined('TESTS_ZEND_MAIL_IMAP_HOST') || define('TESTS_ZEND_MAIL_IMAP_HOST', 'localhost');
  470. defined('TESTS_ZEND_MAIL_IMAP_USER') || define('TESTS_ZEND_MAIL_IMAP_USER', 'test');
  471. defined('TESTS_ZEND_MAIL_IMAP_PASSWORD') || define('TESTS_ZEND_MAIL_IMAP_PASSWORD', '');
  472. // test SSL connections if enabled in your test server
  473. defined('TESTS_ZEND_MAIL_IMAP_SSL') || define('TESTS_ZEND_MAIL_IMAP_SSL', true);
  474. defined('TESTS_ZEND_MAIL_IMAP_TLS') || define('TESTS_ZEND_MAIL_IMAP_TLS', true);
  475. // WRONG_PORT should be an existing server port,
  476. // INVALID_PORT should be a non-existing (each on defined host)
  477. defined('TESTS_ZEND_MAIL_IMAP_WRONG_PORT') || define('TESTS_ZEND_MAIL_IMAP_WRONG_PORT', 80);
  478. defined('TESTS_ZEND_MAIL_IMAP_INVALID_PORT') || define('TESTS_ZEND_MAIL_IMAP_INVALID_PORT', 3141);
  479. /**
  480. * Zend_Mail_Storage_Maildir test
  481. *
  482. * Before enabling this test you have to unpack messages.tar in
  483. * Zend/Mail/_files/test.maildir/cur/ and remove the tar for this test to work.
  484. * That's because the messages files have a colon in the filename and that's a
  485. * forbidden character on Windows.
  486. */
  487. defined('TESTS_ZEND_MAIL_MAILDIR_ENABLED') || define('TESTS_ZEND_MAIL_MAILDIR_ENABLED', false);
  488. /**
  489. * Zend_Mail_Transport_Smtp
  490. *
  491. * @todo TO be implemented
  492. */
  493. defined('TESTS_ZEND_MAIL_SMTP_ENABLED') || define('TESTS_ZEND_MAIL_SMTP_ENABLED', false);
  494. defined('TESTS_ZEND_MAIL_SMTP_HOST') || define('TESTS_ZEND_MAIL_SMTP_HOST', 'localhost');
  495. defined('TESTS_ZEND_MAIL_SMTP_PORT') || define('TESTS_ZEND_MAIL_SMTP_PORT', 25);
  496. defined('TESTS_ZEND_MAIL_SMTP_USER') || define('TESTS_ZEND_MAIL_SMTP_USER', 'testuser');
  497. defined('TESTS_ZEND_MAIL_SMTP_PASSWORD') || define('TESTS_ZEND_MAIL_SMTP_PASSWORD', 'testpassword');
  498. defined('TESTS_ZEND_MAIL_SMTP_AUTH') || define('TESTS_ZEND_MAIL_SMTP_AUTH', false);
  499. // AUTH can be set to false or a string of AUTH method (e.g. LOGIN, PLAIN, CRAMMD5 or DIGESTMD5)
  500. /**
  501. * Zend_Queue Test Configuration constants
  502. *
  503. * The Zend_Queue_Adapter_Db constant should be a JSON-encoded string
  504. * representing a configuration object for Zend_Db::factory(). For example:
  505. * {
  506. * type: "pdo_mysql",
  507. * host: "127.0.0.1",
  508. * port: 3306,
  509. * username: "queue",
  510. * password: "queue",
  511. * dbname: "queue"
  512. * }
  513. *
  514. * The PlatformJobQueue adapter expects two parameters, the host and password.
  515. * The HOST string should include both the host and port (typically 10003):
  516. * 127.0.0.1:10003
  517. * When running tests against PlatformJobQueue, it's best to do so where
  518. * Platform is installed on localhost and has maximum workers set to 20
  519. * (default is 5); do so with this zend.ini setting:
  520. * zend_jq.max_num_of_request_workers=20
  521. *
  522. * Selectively define the below in order to run tests for them.
  523. */
  524. defined('TESTS_ZEND_QUEUE_ACTIVEMQ_ENABLED') || define('TESTS_ZEND_QUEUE_ACTIVEMQ_ENABLED', false);
  525. defined('TESTS_ZEND_QUEUE_ACTIVEMQ_SCHEME') || define('TESTS_ZEND_QUEUE_ACTIVEMQ_SCHEME', false);
  526. defined('TESTS_ZEND_QUEUE_ACTIVEMQ_HOST') || define('TESTS_ZEND_QUEUE_ACTIVEMQ_HOST', false);
  527. defined('TESTS_ZEND_QUEUE_ACTIVEMQ_PORT') || define('TESTS_ZEND_QUEUE_ACTIVEMQ_PORT', false);
  528. defined('TESTS_ZEND_QUEUE_DB') || define('TESTS_ZEND_QUEUE_DB', false);
  529. defined('TESTS_ZEND_QUEUE_MEMCACHEQ_ENABLED') || define('TESTS_ZEND_QUEUE_MEMCACHEQ_ENABLED', false);
  530. defined('TESTS_ZEND_QUEUE_MEMCACHEQ_HOST') || define('TESTS_ZEND_QUEUE_MEMCACHEQ_HOST', false);
  531. defined('TESTS_ZEND_QUEUE_MEMCACHEQ_PORT') || define('TESTS_ZEND_QUEUE_MEMCACHEQ_PORT', false);
  532. defined('TESTS_ZEND_QUEUE_PLATFORMJQ_ENABLED') || define('TESTS_ZEND_QUEUE_PLATFORMJQ_ENABLED', false);
  533. defined('TESTS_ZEND_QUEUE_PLATFORMJQ_HOST') || define('TESTS_ZEND_QUEUE_PLATFORMJQ_HOST', false);
  534. defined('TESTS_ZEND_QUEUE_PLATFORMJQ_PASS') || define('TESTS_ZEND_QUEUE_PLATFORMJQ_PASS', false);
  535. /**
  536. * Zend_Rest tests
  537. */
  538. defined('TESTS_ZEND_REST_ONLINE_ENABLED') || define('TESTS_ZEND_REST_ONLINE_ENABLED', false);
  539. /**
  540. * Zend_Serializer adapter tests
  541. *
  542. * TESTS_ZEND_SERIALIZER_ADAPTER_WDDX_ENABLED:
  543. * - enable wddx adapter tests
  544. * - needs wddx and SimpleXml php extension installed
  545. *
  546. * TESTS_ZEND_SERIALIZER_ADAPTER_IGBINARY_ENABLED:
  547. * - enable igbinary adapter tests
  548. * - needs igbinary php extension installed
  549. */
  550. defined('TESTS_ZEND_SERIALIZER_ADAPTER_WDDX_ENABLED') || define('TESTS_ZEND_SERIALIZER_ADAPTER_WDDX_ENABLED', false);
  551. defined('TESTS_ZEND_SERIALIZER_ADAPTER_IGBINARY_ENABLED') || define('TESTS_ZEND_SERIALIZER_ADAPTER_IGBINARY_ENABLED', false);
  552. /**
  553. * Zend_Service_Amazon online tests
  554. */
  555. defined('TESTS_ZEND_SERVICE_AMAZON_ONLINE_ENABLED') || define('TESTS_ZEND_SERVICE_AMAZON_ONLINE_ENABLED', false);
  556. defined('TESTS_ZEND_SERVICE_AMAZON_ONLINE_ACCESSKEYID') || define('TESTS_ZEND_SERVICE_AMAZON_ONLINE_ACCESSKEYID', 'Enter AWSAccessKeyId here');
  557. defined('TESTS_ZEND_SERVICE_AMAZON_ONLINE_SECRETKEY') || define('TESTS_ZEND_SERVICE_AMAZON_ONLINE_SECRETKEY', 'Enter AWSSecretKey here');
  558. defined('TESTS_ZEND_SERVICE_AMAZON_EC2_IMAGE_ID') || define('TESTS_ZEND_SERVICE_AMAZON_EC2_IMAGE_ID', 'zftestamazonimageid');
  559. defined('TESTS_ZEND_SERVICE_AMAZON_EC2_ZONE') || define('TESTS_ZEND_SERVICE_AMAZON_EC2_ZONE', 'us-east-1');
  560. defined('TESTS_ZEND_SERVICE_AMAZON_EC2_SECURITY_GROUP') || define('TESTS_ZEND_SERVICE_AMAZON_EC2_SECURITY_GROUP', 'default');
  561. defined('TESTS_ZEND_SERVICE_AMAZON_S3_BUCKET') || define('TESTS_ZEND_SERVICE_AMAZON_S3_BUCKET', 'zftestamazons3bucket');
  562. defined('TESTS_ZEND_SERVICE_AMAZON_SQS_QUEUE') || define('TESTS_ZEND_SERVICE_AMAZON_SQS_QUEUE', 'zftestamazonsqsqueuename');
  563. /**
  564. * Zend_Service_Delicious tests
  565. */
  566. defined('TESTS_ZEND_SERVICE_DELICIOUS_ENABLED') || define('TESTS_ZEND_SERVICE_DELICIOUS_ENABLED', false);
  567. /**
  568. * Zend_Service_DeveloperGarden tests
  569. * Setup your Username and Password to test this Service
  570. */
  571. defined('TESTS_ZEND_SERVICE_DEVELOPERGARDEN_ONLINE_ENABLED') || define('TESTS_ZEND_SERVICE_DEVELOPERGARDEN_ONLINE_ENABLED', false);
  572. defined('TESTS_ZEND_SERVICE_DEVELOPERGARDEN_ONLINE_LOGIN') || define('TESTS_ZEND_SERVICE_DEVELOPERGARDEN_ONLINE_LOGIN', 'ZF_Username');
  573. defined('TESTS_ZEND_SERVICE_DEVELOPERGARDEN_ONLINE_PASSWORD') || define('TESTS_ZEND_SERVICE_DEVELOPERGARDEN_ONLINE_PASSWORD', 'ZF_Password');
  574. /**
  575. * Zend_Service_Ebay online tests
  576. */
  577. defined('TESTS_ZEND_SERVICE_EBAY_ONLINE_ENABLED') || define('TESTS_ZEND_SERVICE_EBAY_ONLINE_ENABLED', false);
  578. defined('TESTS_ZEND_SERVICE_EBAY_ONLINE_APPID') || define('TESTS_ZEND_SERVICE_EBAY_ONLINE_APPID', 'Enter APPID here');
  579. /**
  580. * Zend_Service_Flickr online tests
  581. */
  582. defined('TESTS_ZEND_SERVICE_FLICKR_ONLINE_ENABLED') || define('TESTS_ZEND_SERVICE_FLICKR_ONLINE_ENABLED', false);
  583. defined('TESTS_ZEND_SERVICE_FLICKR_ONLINE_APIKEY') || define('TESTS_ZEND_SERVICE_FLICKR_ONLINE_APIKEY', 'Enter API key here');
  584. /**
  585. * Zend_Service_LiveDocx configuration
  586. *
  587. * Define username and password in order to run unit tests for LiveDocX web
  588. * services.
  589. *
  590. * phpunit/phpunit will typically work.
  591. */
  592. defined('TESTS_ZEND_SERVICE_LIVEDOCX_USERNAME') || define('TESTS_ZEND_SERVICE_LIVEDOCX_USERNAME', false);
  593. defined('TESTS_ZEND_SERVICE_LIVEDOCX_PASSWORD') || define('TESTS_ZEND_SERVICE_LIVEDOCX_PASSWORD', false);
  594. /**
  595. * Zend_Service_Rackspace tests
  596. */
  597. defined('TESTS_ZEND_SERVICE_RACKSPACE_ONLINE_ENABLED') || define('TESTS_ZEND_SERVICE_RACKSPACE_ONLINE_ENABLED', false);
  598. defined('TESTS_ZEND_SERVICE_RACKSPACE_ONLINE_USER') || define('TESTS_ZEND_SERVICE_RACKSPACE_ONLINE_USER', 'Enter user here');
  599. defined('TESTS_ZEND_SERVICE_RACKSPACE_ONLINE_KEY') || define('TESTS_ZEND_SERVICE_RACKSPACE_ONLINE_KEY', 'Enter key here');
  600. defined('TESTS_ZEND_SERVICE_RACKSPACE_ONLINE_REGION') || define('TESTS_ZEND_SERVICE_RACKSPACE_ONLINE_REGION', 'USA');
  601. defined('TESTS_ZEND_SERVICE_RACKSPACE_CONTAINER_NAME') || define('TESTS_ZEND_SERVICE_RACKSPACE_CONTAINER_NAME', 'zf-unit-test');
  602. defined('TESTS_ZEND_SERVICE_RACKSPACE_OBJECT_NAME') || define('TESTS_ZEND_SERVICE_RACKSPACE_OBJECT_NAME','zf-object-test');
  603. defined('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_NAME') || define('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_NAME', 'zf-unit-test');
  604. defined('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_IMAGEID') || define('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_IMAGEID', '49');
  605. defined('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_NEW_IMAGEID') || define('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_NEW_IMAGEID', '49');
  606. defined('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_FLAVORID') || define('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_FLAVORID', '1');
  607. defined('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_IMAGE_NAME') || define('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_IMAGE_NAME', 'ZFunitTestImage');
  608. defined('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_SHARED_IP_GROUP_NAME') || define('TESTS_ZEND_SERVICE_RACKSPACE_SERVER_SHARED_IP_GROUP_NAME', 'ZFgroupIP');
  609. defined('TESTS_ZEND_SERVICE_RACKSPACE_TIMEOUT') || define('TESTS_ZEND_SERVICE_RACKSPACE_TIMEOUT', 60);
  610. /**
  611. * Zend_Service_ReCaptcha tests
  612. */
  613. defined('TESTS_ZEND_SERVICE_RECAPTCHA_ENABLED') || define('TESTS_ZEND_SERVICE_RECAPTCHA_ENABLED', false);
  614. defined('TESTS_ZEND_SERVICE_RECAPTCHA_ONLINE_ENABLED') || define('TESTS_ZEND_SERVICE_RECAPTCHA_ONLINE_ENABLED', false);
  615. defined('TESTS_ZEND_SERVICE_RECAPTCHA_PUBLIC_KEY') || define('TESTS_ZEND_SERVICE_RECAPTCHA_PUBLIC_KEY', 'public key');
  616. defined('TESTS_ZEND_SERVICE_RECAPTCHA_PRIVATE_KEY') || define('TESTS_ZEND_SERVICE_RECAPTCHA_PRIVATE_KEY', 'private key');
  617. defined('TESTS_ZEND_SERVICE_RECAPTCHA_MAILHIDE_PUBLIC_KEY') || define('TESTS_ZEND_SERVICE_RECAPTCHA_MAILHIDE_PUBLIC_KEY', 'public mailhide key');
  618. defined('TESTS_ZEND_SERVICE_RECAPTCHA_MAILHIDE_PRIVATE_KEY') || define('TESTS_ZEND_SERVICE_RECAPTCHA_MAILHIDE_PRIVATE_KEY', 'private mailhide key');
  619. /**
  620. * Zend_Service_ShortUrl tests
  621. */
  622. defined('TESTS_ZEND_SERVICE_SHORTURL_BITLY_ENABLED') || define('TESTS_ZEND_SERVICE_SHORTURL_BITLY_ENABLED', false);
  623. defined('TESTS_ZEND_SERVICE_SHORTURL_ISGD_ENABLED') || define('TESTS_ZEND_SERVICE_SHORTURL_ISGD_ENABLED', false);
  624. defined('TESTS_ZEND_SERVICE_SHORTURL_JDEMCZ_ENABLED') || define('TESTS_ZEND_SERVICE_SHORTURL_JDEMCZ_ENABLED', false);
  625. defined('TESTS_ZEND_SERVICE_SHORTURL_METAMARKNET_ENABLED') || define('TESTS_ZEND_SERVICE_SHORTURL_METAMARKNET_ENABLED', false);
  626. defined('TESTS_ZEND_SERVICE_SHORTURL_TINYURL_ENABLED') || define('TESTS_ZEND_SERVICE_SHORTURL_TINYURL_ENABLED', false);
  627. /**
  628. * Zend_Service_Simpy tests
  629. */
  630. defined('TESTS_ZEND_SERVICE_SIMPY_ENABLED') || define('TESTS_ZEND_SERVICE_SIMPY_ENABLED', false);
  631. defined('TESTS_ZEND_SERVICE_SIMPY_USERNAME') || define('TESTS_ZEND_SERVICE_SIMPY_USERNAME', 'syapizend');
  632. defined('TESTS_ZEND_SERVICE_SIMPY_PASSWORD') || define('TESTS_ZEND_SERVICE_SIMPY_PASSWORD', 'mgt37ge');
  633. /**
  634. * Zend_Service_SlideShare tests
  635. */
  636. defined('TESTS_ZEND_SERVICE_SLIDESHARE_USERNAME') || define('TESTS_ZEND_SERVICE_SLIDESHARE_USERNAME', '');
  637. defined('TESTS_ZEND_SERVICE_SLIDESHARE_PASSWORD') || define('TESTS_ZEND_SERVICE_SLIDESHARE_PASSWORD', '');
  638. defined('TESTS_ZEND_SERVICE_SLIDESHARE_SHAREDSECRET') || define('TESTS_ZEND_SERVICE_SLIDESHARE_SHAREDSECRET', '');
  639. defined('TESTS_ZEND_SERVICE_SLIDESHARE_APIKEY') || define('TESTS_ZEND_SERVICE_SLIDESHARE_APIKEY', '');
  640. // The slide show ID to retrieve during tests
  641. defined('TESTS_ZEND_SERVICE_SLIDESHARE_SLIDESHOWID') || define('TESTS_ZEND_SERVICE_SLIDESHARE_SLIDESHOWID', 0);
  642. // The tag to retrieve during tests
  643. defined('TESTS_ZEND_SERVICE_SLIDESHARE_TAG') || define('TESTS_ZEND_SERVICE_SLIDESHARE_TAG', 'zend');
  644. // The group to retrieve during tests
  645. defined('TESTS_ZEND_SERVICE_SLIDESHARE_GROUP') || define('TESTS_ZEND_SERVICE_SLIDESHARE_GROUP', '');
  646. /**
  647. * Zend_Service_WindowsAzure tests
  648. */
  649. /**
  650. * Proxy settings
  651. */
  652. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_USEPROXY') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_USEPROXY', false);
  653. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_PROXY') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_PROXY', '');
  654. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_PROXY_PORT') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_PROXY_PORT', '8080');
  655. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_PROXY_CREDENTIALS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_PROXY_CREDENTIALS', '');
  656. /**
  657. * Azure hosts
  658. */
  659. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_HOST_DEV') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_HOST_DEV', '127.0.0.1:10000');
  660. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_HOST_DEV') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_HOST_DEV', '127.0.0.1:10001');
  661. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_HOST_DEV') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_HOST_DEV', '127.0.0.1:10002');
  662. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_HOST_PROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_HOST_PROD', 'blob.core.windows.net');
  663. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_HOST_PROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_HOST_PROD', 'queue.core.windows.net');
  664. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_HOST_PROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_HOST_PROD', 'table.core.windows.net');
  665. /**
  666. * Credentials
  667. */
  668. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_CREDENTIALS_RUNTESTS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_CREDENTIALS_RUNTESTS', false);
  669. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_ACCOUNT_DEV') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_ACCOUNT_DEV', 'devstoreaccount1');
  670. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_KEY_DEV') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_KEY_DEV', 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==');
  671. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_ACCOUNT_PROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_ACCOUNT_PROD', 'phptestsdk');
  672. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_KEY_PROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_STORAGE_KEY_PROD', '');
  673. /**
  674. * Blob storage tests
  675. */
  676. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_RUNTESTS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_RUNTESTS', false);
  677. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_RUNONPROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_RUNONPROD', false);
  678. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_RUNLARGEBLOB') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_RUNLARGEBLOB', true);
  679. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_CONTAINER_PREFIX') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_CONTAINER_PREFIX', 'phpazuretestblob');
  680. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOBSTREAM_CONTAINER_PREFIX') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOBSTREAM_CONTAINER_PREFIX', 'phpazureteststream');
  681. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOBSA_CONTAINER_PREFIX') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOBSA_CONTAINER_PREFIX', 'phpazuretestshared');
  682. /**
  683. * Table storage tests
  684. */
  685. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_RUNTESTS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_RUNTESTS', false);
  686. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_RUNONPROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_RUNONPROD', false);
  687. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_TABLENAME_PREFIX') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_TABLENAME_PREFIX', 'phpazuretesttable');
  688. /**
  689. * Queue storage tests
  690. */
  691. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_RUNTESTS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_RUNTESTS', false);
  692. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_RUNONPROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_RUNONPROD', false);
  693. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_PREFIX') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_PREFIX', 'phpazuretestqueue');
  694. /**
  695. * SessionHandler tests
  696. */
  697. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_SESSIONHANDLER_RUNTESTS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_SESSIONHANDLER_RUNTESTS', false);
  698. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_SESSIONHANDLER_RUNONPROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_SESSIONHANDLER_RUNONPROD', false);
  699. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_SESSIONHANDLER_TABLENAME_PREFIX') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_SESSIONHANDLER_TABLENAME_PREFIX', 'phpazuretestsession');
  700. /**
  701. * Diagnostics tests
  702. */
  703. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_DIAGNOSTICS_RUNTESTS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_DIAGNOSTICS_RUNTESTS', false);
  704. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_DIAGNOSTICS_RUNONPROD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_DIAGNOSTICS_RUNONPROD', false);
  705. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_DIAGNOSTICS_CONTAINER_PREFIX') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_DIAGNOSTICS_CONTAINER_PREFIX', 'phpazuretestdiag');
  706. /**
  707. * Management tests
  708. */
  709. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_RUNTESTS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_RUNTESTS', false);
  710. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_CONTAINER') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_CONTAINER', 'phpazuretestmgmt');
  711. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_SERVICENAME') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_SERVICENAME', 'phptest-sdk');
  712. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_SUBSCRIPTIONID') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_SUBSCRIPTIONID', '');
  713. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_CERTIFICATEPASSWORD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_MANAGEMENT_CERTIFICATEPASSWORD', 'phpazure');
  714. /**
  715. * SQL Management tests
  716. */
  717. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_SQLMANAGEMENT_RUNTESTS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_SQLMANAGEMENT_RUNTESTS', true);
  718. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_SQLMANAGEMENT_SUBSCRIPTIONID') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_SQLMANAGEMENT_SUBSCRIPTIONID', '');
  719. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_SQLMANAGEMENT_CERTIFICATEPASSWORD') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_SQLMANAGEMENT_CERTIFICATEPASSWORD', 'phpazure');
  720. /**
  721. * PHPUnit Code Coverage / Test Report
  722. */
  723. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_GENERATE_REPORT') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_GENERATE_REPORT', true);
  724. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_GENERATE_REPORT_TARGET') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_GENERATE_REPORT_TARGET', '/path/to/target');
  725. /**
  726. * Proxy settings used by Zend_Cloud
  727. */
  728. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_ACCOUNTNAME') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_ACCOUNTNAME','');
  729. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_ACCOUNTKEY') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_ACCOUNTKEY','');
  730. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_TABLE_HOST') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_TABLE_HOST','');
  731. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_STORAGE_USEPROXY') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_STORAGE_USEPROXY', false);
  732. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_STORAGE_PROXY_HOST') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_STORAGE_PROXY_HOST', '');
  733. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_STORAGE_PROXY_PORT') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_STORAGE_PROXY_PORT', '8080');
  734. defined('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_STORAGE_PROXY_CREDENTIALS') || define('TESTS_ZEND_SERVICE_WINDOWSAZURE_ONLINE_STORAGE_PROXY_CREDENTIALS', '');
  735. /**
  736. * Zend_Service_Yahoo online tests
  737. */
  738. defined('TESTS_ZEND_SERVICE_YAHOO_ONLINE_ENABLED') || define('TESTS_ZEND_SERVICE_YAHOO_ONLINE_ENABLED', false);
  739. defined('TESTS_ZEND_SERVICE_YAHOO_ONLINE_APPID') || define('TESTS_ZEND_SERVICE_YAHOO_ONLINE_APPID', 'Enter APPID here');
  740. /**
  741. * Zend_Soap_AutoDiscover scenario tests for complex objects and wsdl generation
  742. *
  743. * Copy all the files of zf/tests/Zend/Soap/_files/fulltests into a directory
  744. * that can be reached by webserver and enter the base uri to this directory
  745. * into the variable. The test "Zend_Soap_AutoDiscover_OnlineTest" makes use
  746. * of the servers and AutoDiscover feature.
  747. *
  748. * NOTE: Make sure the servers are using the correct Zend Framework copy,
  749. * when having more than one version installed and include paths are changing.
  750. */
  751. defined('TESTS_ZEND_SOAP_AUTODISCOVER_ONLINE_SERVER_BASEURI') || define('TESTS_ZEND_SOAP_AUTODISCOVER_ONLINE_SERVER_BASEURI', false);
  752. /**
  753. * Zend_Uri tests
  754. *
  755. * Setting CRASH_TEST_ENABLED to true will enable some tests that may
  756. * potentially crash PHP on some systems, due to very deep-nesting regular
  757. * expressions.
  758. *
  759. * Only do this if you know what you are doing!
  760. */
  761. defined('TESTS_ZEND_URI_CRASH_TEST_ENABLED') || define('TESTS_ZEND_URI_CRASH_TEST_ENABLED', false);
  762. /**
  763. * Zend_Version tests
  764. *
  765. * Set ONLINE_ENABLED if you wish to run validators that require network
  766. * connectivity.
  767. */
  768. defined('TESTS_ZEND_VERSION_ONLINE_ENABLED') || define('TESTS_ZEND_VERSION_ONLINE_ENABLED', false);
  769. /**
  770. * Zend_Validate tests
  771. *
  772. * Set ONLINE_ENABLED if you wish to run validators that require network
  773. * connectivity.
  774. */
  775. defined('TESTS_ZEND_VALIDATE_ONLINE_ENABLED') || define('TESTS_ZEND_VALIDATE_ONLINE_ENABLED', false);
  776. /**
  777. * Resources translations ('all' for all translations or 'fr', 'de', ...)
  778. */
  779. defined('TESTS_ZEND_RESOURCES_TRANSLATIONS') || define('TESTS_ZEND_RESOURCES_TRANSLATIONS', 'all');
  780. /**
  781. * PHPUnit Code Coverage / Test Report
  782. */
  783. defined('TESTS_GENERATE_REPORT') || define('TESTS_GENERATE_REPORT', false);
  784. defined('TESTS_GENERATE_REPORT_TARGET') || define('TESTS_GENERATE_REPORT_TARGET', '/path/to/target');