SkipTests.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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 Zend_Cache
  17. * @subpackage UnitTests
  18. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id$
  21. */
  22. /**
  23. * PHPUnit_Framework_TestCase
  24. */
  25. require_once 'PHPUnit/Framework/TestCase.php';
  26. require_once 'PHPUnit/Util/Filter.php';
  27. PHPUnit_Util_Filter::addFileToFilter(__FILE__);
  28. /**
  29. * @category Zend
  30. * @package Zend_Cache
  31. * @subpackage UnitTests
  32. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  33. * @license http://framework.zend.com/license/new-bsd New BSD License
  34. * @group Zend_Cache
  35. */
  36. abstract class Zend_Cache_BackendTest_SkipTests extends PHPUnit_Framework_TestCase
  37. {
  38. public $message = 'Skipped for unspecified reason';
  39. public function setUp()
  40. {
  41. $this->markTestSkipped($this->message);
  42. }
  43. public function testCacheBackend()
  44. {
  45. // this is here only so we have at least one test
  46. }
  47. }
  48. /**
  49. * @category Zend
  50. * @package Zend_Cache
  51. * @subpackage UnitTests
  52. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  53. * @license http://framework.zend.com/license/new-bsd New BSD License
  54. * @group Zend_Cache
  55. */
  56. class Zend_Cache_ApcBackendTest_SkipTests extends Zend_Cache_BackendTest_SkipTests
  57. {
  58. }
  59. /**
  60. * @category Zend
  61. * @package Zend_Cache
  62. * @subpackage UnitTests
  63. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  64. * @license http://framework.zend.com/license/new-bsd New BSD License
  65. * @group Zend_Cache
  66. */
  67. class Zend_Cache_XcacheBackendTest_SkipTests extends Zend_Cache_BackendTest_SkipTests
  68. {
  69. }
  70. /**
  71. * @category Zend
  72. * @package Zend_Cache
  73. * @subpackage UnitTests
  74. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  75. * @license http://framework.zend.com/license/new-bsd New BSD License
  76. * @group Zend_Cache
  77. */
  78. class Zend_Cache_MemcachedBackendTest_SkipTests extends Zend_Cache_BackendTest_SkipTests
  79. {
  80. }
  81. /**
  82. * @category Zend
  83. * @package Zend_Cache
  84. * @subpackage UnitTests
  85. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  86. * @license http://framework.zend.com/license/new-bsd New BSD License
  87. * @group Zend_Cache
  88. */
  89. class Zend_Cache_SqliteBackendTest_SkipTests extends Zend_Cache_BackendTest_SkipTests
  90. {
  91. }
  92. /**
  93. * @category Zend
  94. * @package Zend_Cache
  95. * @subpackage UnitTests
  96. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  97. * @license http://framework.zend.com/license/new-bsd New BSD License
  98. * @group Zend_Cache
  99. */
  100. class Zend_Cache_ZendPlatformBackendTest_SkipTests extends Zend_Cache_BackendTest_SkipTests
  101. {
  102. }
  103. /**
  104. * @category Zend
  105. * @package Zend_Cache
  106. * @subpackage UnitTests
  107. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  108. * @license http://framework.zend.com/license/new-bsd New BSD License
  109. * @group Zend_Cache
  110. */
  111. class Zend_Cache_TwoLevelsBackendTest_SkipTests extends Zend_Cache_BackendTest_SkipTests
  112. {
  113. }
  114. /**
  115. * @category Zend
  116. * @package Zend_Cache
  117. * @subpackage UnitTests
  118. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  119. * @license http://framework.zend.com/license/new-bsd New BSD License
  120. * @group Zend_Cache
  121. */
  122. class Zend_Cache_ZendServerTest_SkipTests extends Zend_Cache_BackendTest_SkipTests
  123. {
  124. }