1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sat, 18 May 2024 13:10:06 +0200
Subject: Let test Class name match file name
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
PHPUnit 11 compliance
Bug-Debian: https://bugs.debian.org/1070615
---
tests/base_init_test.php | 2 +-
tests/base_options_test.php | 4 ++--
tests/base_test.php | 2 +-
tests/features_unix_test.php | 2 +-
tests/features_windows_test.php | 2 +-
tests/file_calculate_relative_path_test.php | 2 +-
tests/file_copy_recursive_test.php | 2 +-
tests/file_find_recursive_test.php | 2 +-
tests/file_is_absolute_path.php | 2 +-
tests/file_remove_recursive_test.php | 2 +-
tests/metadata_pear_test.php | 2 +-
tests/struct_test.php | 2 +-
12 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/tests/base_init_test.php b/tests/base_init_test.php
index 6d168a3..0f30dcd 100644
--- a/tests/base_init_test.php
+++ b/tests/base_init_test.php
@@ -31,7 +31,7 @@ require_once 'init/base_init_class.php';
* @package Base
* @subpackage Tests
*/
-class ezcBaseInitTest extends ezcTestCase
+class base_init_test extends ezcTestCase
{
public function setUp() : void
{
diff --git a/tests/base_options_test.php b/tests/base_options_test.php
index 823307e..4ec7764 100644
--- a/tests/base_options_test.php
+++ b/tests/base_options_test.php
@@ -30,7 +30,7 @@ require_once dirname( __FILE__ ) . '/test_options.php';
* @package Base
* @subpackage Tests
*/
-class ezcBaseOptionsTest extends ezcTestCase
+class base_options_test extends ezcTestCase
{
public static function suite()
{
@@ -159,4 +159,4 @@ class ezcBaseOptionsTest extends ezcTestCase
}
}
-?>
\ No newline at end of file
+?>
diff --git a/tests/base_test.php b/tests/base_test.php
index ad6b902..d567778 100644
--- a/tests/base_test.php
+++ b/tests/base_test.php
@@ -27,7 +27,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseTest extends ezcTestCase
+class base_test extends ezcTestCase
{
/*
* For use with the method testInvalidClass().
diff --git a/tests/features_unix_test.php b/tests/features_unix_test.php
index 879bf5e..710ec39 100644
--- a/tests/features_unix_test.php
+++ b/tests/features_unix_test.php
@@ -27,7 +27,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseFeaturesUnixTest extends ezcTestCase
+class features_unix_test extends ezcTestCase
{
protected function setUp() : void
{
diff --git a/tests/features_windows_test.php b/tests/features_windows_test.php
index 2db7b2d..4733950 100644
--- a/tests/features_windows_test.php
+++ b/tests/features_windows_test.php
@@ -27,7 +27,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseFeaturesWindowsTest extends ezcTestCase
+class base_features_windows_test extends ezcTestCase
{
protected function setUp() : void
{
diff --git a/tests/file_calculate_relative_path_test.php b/tests/file_calculate_relative_path_test.php
index e24ad16..7e97c1d 100644
--- a/tests/file_calculate_relative_path_test.php
+++ b/tests/file_calculate_relative_path_test.php
@@ -29,7 +29,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseFileCalculateRelativePathTest extends ezcTestCase
+class base_file_calculate_relative_path_test extends ezcTestCase
{
public function testRelative1()
{
diff --git a/tests/file_copy_recursive_test.php b/tests/file_copy_recursive_test.php
index 82e7a0b..33a2a13 100644
--- a/tests/file_copy_recursive_test.php
+++ b/tests/file_copy_recursive_test.php
@@ -29,7 +29,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseFileCopyRecursiveTest extends ezcTestCase
+class base_file_copy_recursive_test extends ezcTestCase
{
protected $tempDir;
diff --git a/tests/file_find_recursive_test.php b/tests/file_find_recursive_test.php
index 515198b..b695198 100644
--- a/tests/file_find_recursive_test.php
+++ b/tests/file_find_recursive_test.php
@@ -29,7 +29,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseFileFindRecursiveTest extends ezcTestCase
+class base_file_find_recursive_test extends ezcTestCase
{
public function __ignore__testRecursive1()
{
diff --git a/tests/file_is_absolute_path.php b/tests/file_is_absolute_path.php
index f6ebb21..3670ee1 100644
--- a/tests/file_is_absolute_path.php
+++ b/tests/file_is_absolute_path.php
@@ -29,7 +29,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseFileIsAbsoluteTest extends ezcTestCase
+class base_file_is_absolute_test extends ezcTestCase
{
public static function testAbsoluteWindows1()
{
diff --git a/tests/file_remove_recursive_test.php b/tests/file_remove_recursive_test.php
index feb3095..2c984a6 100644
--- a/tests/file_remove_recursive_test.php
+++ b/tests/file_remove_recursive_test.php
@@ -29,7 +29,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseFileRemoveRecursiveTest extends ezcTestCase
+class file_remove_recursive_test extends ezcTestCase
{
protected $tempDir;
diff --git a/tests/metadata_pear_test.php b/tests/metadata_pear_test.php
index 0ab4bbf..02d2b45 100644
--- a/tests/metadata_pear_test.php
+++ b/tests/metadata_pear_test.php
@@ -27,7 +27,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseMetaDataPearTest extends ezcTestCase
+class metadata_pear_test extends ezcTestCase
{
public function setUp() : void
{
diff --git a/tests/struct_test.php b/tests/struct_test.php
index 18bf193..37d1682 100644
--- a/tests/struct_test.php
+++ b/tests/struct_test.php
@@ -27,7 +27,7 @@
* @package Base
* @subpackage Tests
*/
-class ezcBaseStructTest extends ezcTestCase
+class struct_test extends ezcTestCase
{
public function testBaseStructGetSet()
{
|