[php-src] master: Move SplObjectStorage test to a folder
| From: | Gina Peter Banyard | Date: | Sun, 17 Mar 2024 23:23:06 +0000 |
| Subject: | [php-src] master: Move SplObjectStorage test to a folder | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-127766@lists.php.net to get a copy of this message | ||
Author: Gina Peter Banyard (Girgias)
Date: 2024-03-17T23:08:47Z
Commit: https://github.com/php/php-src/commit/610c7a07b1ca31b9c5b2539cf9d83040494507dd
Raw diff: https://github.com/php/php-src/commit/610c7a07b1ca31b9c5b2539cf9d83040494507dd.diff
Move SplObjectStorage test to a folder
Changed paths:
A ext/spl/tests/SplObjectStorage/SplObjectStorage_coalesce.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_current_empty_storage.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_getHash.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_getInfo_empty_storage.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_offsetGet.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_offsetGet_missing_object.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_removeAllExcept_basic.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_setInfo_empty_storage.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_bad.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_invalid_parameter2.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_invalid_parameter3.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_nested.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_reference.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_unset.phpt
A ext/spl/tests/SplObjectStorage/SplObjectStorage_var_dump.phpt
A ext/spl/tests/SplObjectStorage/bug49263.phpt
A ext/spl/tests/SplObjectStorage/bug53071.phpt
A ext/spl/tests/SplObjectStorage/bug53144.phpt
A ext/spl/tests/SplObjectStorage/bug61453.phpt
A ext/spl/tests/SplObjectStorage/bug65967.phpt
A ext/spl/tests/SplObjectStorage/bug67582.phpt
A ext/spl/tests/SplObjectStorage/bug69108.phpt
A ext/spl/tests/SplObjectStorage/bug69227.phpt
A ext/spl/tests/SplObjectStorage/bug70168.phpt
A ext/spl/tests/SplObjectStorage/bug70365.phpt
D ext/spl/tests/SplObjectStorage_coalesce.phpt
D ext/spl/tests/SplObjectStorage_current_empty_storage.phpt
D ext/spl/tests/SplObjectStorage_getHash.phpt
D ext/spl/tests/SplObjectStorage_getInfo_empty_storage.phpt
D ext/spl/tests/SplObjectStorage_offsetGet.phpt
D ext/spl/tests/SplObjectStorage_offsetGet_missing_object.phpt
D ext/spl/tests/SplObjectStorage_removeAllExcept_basic.phpt
D ext/spl/tests/SplObjectStorage_setInfo_empty_storage.phpt
D ext/spl/tests/SplObjectStorage_unserialize_bad.phpt
D ext/spl/tests/SplObjectStorage_unserialize_invalid_parameter2.phpt
D ext/spl/tests/SplObjectStorage_unserialize_invalid_parameter3.phpt
D ext/spl/tests/SplObjectStorage_unserialize_nested.phpt
D ext/spl/tests/SplObjectStorage_unserialize_reference.phpt
D ext/spl/tests/SplObjectStorage_unset.phpt
D ext/spl/tests/SplObjectStorage_var_dump.phpt
D ext/spl/tests/bug49263.phpt
D ext/spl/tests/bug53071.phpt
D ext/spl/tests/bug53144.phpt
D ext/spl/tests/bug61453.phpt
D ext/spl/tests/bug65967.phpt
D ext/spl/tests/bug67582.phpt
D ext/spl/tests/bug69108.phpt
D ext/spl/tests/bug69227.phpt
D ext/spl/tests/bug70168.phpt
D ext/spl/tests/bug70365.phpt
Diff:
diff --git a/ext/spl/tests/SplObjectStorage_coalesce.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_coalesce.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_coalesce.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_coalesce.phpt
diff --git a/ext/spl/tests/SplObjectStorage_current_empty_storage.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_current_empty_storage.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_current_empty_storage.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_current_empty_storage.phpt
diff --git a/ext/spl/tests/SplObjectStorage_getHash.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_getHash.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_getHash.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_getHash.phpt
diff --git a/ext/spl/tests/SplObjectStorage_getInfo_empty_storage.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_getInfo_empty_storage.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_getInfo_empty_storage.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_getInfo_empty_storage.phpt
diff --git a/ext/spl/tests/SplObjectStorage_offsetGet.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_offsetGet.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_offsetGet.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_offsetGet.phpt
diff --git a/ext/spl/tests/SplObjectStorage_offsetGet_missing_object.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_offsetGet_missing_object.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_offsetGet_missing_object.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_offsetGet_missing_object.phpt
diff --git a/ext/spl/tests/SplObjectStorage_removeAllExcept_basic.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_removeAllExcept_basic.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_removeAllExcept_basic.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_removeAllExcept_basic.phpt
diff --git a/ext/spl/tests/SplObjectStorage_setInfo_empty_storage.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_setInfo_empty_storage.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_setInfo_empty_storage.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_setInfo_empty_storage.phpt
diff --git a/ext/spl/tests/SplObjectStorage_unserialize_bad.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_bad.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_unserialize_bad.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_bad.phpt
diff --git a/ext/spl/tests/SplObjectStorage_unserialize_invalid_parameter2.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_invalid_parameter2.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_unserialize_invalid_parameter2.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_invalid_parameter2.phpt
diff --git a/ext/spl/tests/SplObjectStorage_unserialize_invalid_parameter3.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_invalid_parameter3.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_unserialize_invalid_parameter3.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_invalid_parameter3.phpt
diff --git a/ext/spl/tests/SplObjectStorage_unserialize_nested.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_nested.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_unserialize_nested.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_nested.phpt
diff --git a/ext/spl/tests/SplObjectStorage_unserialize_reference.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_reference.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_unserialize_reference.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_unserialize_reference.phpt
diff --git a/ext/spl/tests/SplObjectStorage_unset.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_unset.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_unset.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_unset.phpt
diff --git a/ext/spl/tests/SplObjectStorage_var_dump.phpt
b/ext/spl/tests/SplObjectStorage/SplObjectStorage_var_dump.phpt
similarity index 100%
rename from ext/spl/tests/SplObjectStorage_var_dump.phpt
rename to ext/spl/tests/SplObjectStorage/SplObjectStorage_var_dump.phpt
diff --git a/ext/spl/tests/bug49263.phpt b/ext/spl/tests/SplObjectStorage/bug49263.phpt
similarity index 97%
rename from ext/spl/tests/bug49263.phpt
rename to ext/spl/tests/SplObjectStorage/bug49263.phpt
index 28693ef0cf211..23bd0b272a746 100644
--- a/ext/spl/tests/bug49263.phpt
+++ b/ext/spl/tests/SplObjectStorage/bug49263.phpt
@@ -5,7 +5,7 @@ SPL: SplObjectStorage serialization references
$o1 = new stdClass;
$o2 = new stdClass;
-$s = new splObjectStorage();
+$s = new SplObjectStorage();
$s->attach($o1, array('prev' => 2, 'next' => $o2));
$s->attach($o2, array('prev' => $o1));
diff --git a/ext/spl/tests/bug53071.phpt b/ext/spl/tests/SplObjectStorage/bug53071.phpt
similarity index 87%
rename from ext/spl/tests/bug53071.phpt
rename to ext/spl/tests/SplObjectStorage/bug53071.phpt
index 9ab108cfd5789..e3bd5e1155b3f 100644
--- a/ext/spl/tests/bug53071.phpt
+++ b/ext/spl/tests/SplObjectStorage/bug53071.phpt
@@ -1,5 +1,5 @@
--TEST--
-Bug #53071 (Usage of SPLObjectStorage defeats gc_collect_cycles)
+Bug #53071 (Usage of SplObjectStorage defeats gc_collect_cycles)
--FILE--
<?php
gc_enable();
diff --git a/ext/spl/tests/bug53144.phpt b/ext/spl/tests/SplObjectStorage/bug53144.phpt
similarity index 100%
rename from ext/spl/tests/bug53144.phpt
rename to ext/spl/tests/SplObjectStorage/bug53144.phpt
diff --git a/ext/spl/tests/bug61453.phpt b/ext/spl/tests/SplObjectStorage/bug61453.phpt
similarity index 100%
rename from ext/spl/tests/bug61453.phpt
rename to ext/spl/tests/SplObjectStorage/bug61453.phpt
diff --git a/ext/spl/tests/bug65967.phpt b/ext/spl/tests/SplObjectStorage/bug65967.phpt
similarity index 100%
rename from ext/spl/tests/bug65967.phpt
rename to ext/spl/tests/SplObjectStorage/bug65967.phpt
diff --git a/ext/spl/tests/bug67582.phpt b/ext/spl/tests/SplObjectStorage/bug67582.phpt
similarity index 100%
rename from ext/spl/tests/bug67582.phpt
rename to ext/spl/tests/SplObjectStorage/bug67582.phpt
diff --git a/ext/spl/tests/bug69108.phpt b/ext/spl/tests/SplObjectStorage/bug69108.phpt
similarity index 100%
rename from ext/spl/tests/bug69108.phpt
rename to ext/spl/tests/SplObjectStorage/bug69108.phpt
diff --git a/ext/spl/tests/bug69227.phpt b/ext/spl/tests/SplObjectStorage/bug69227.phpt
similarity index 100%
rename from ext/spl/tests/bug69227.phpt
rename to ext/spl/tests/SplObjectStorage/bug69227.phpt
diff --git a/ext/spl/tests/bug70168.phpt b/ext/spl/tests/SplObjectStorage/bug70168.phpt
similarity index 100%
rename from ext/spl/tests/bug70168.phpt
rename to ext/spl/tests/SplObjectStorage/bug70168.phpt
diff --git a/ext/spl/tests/bug70365.phpt b/ext/spl/tests/SplObjectStorage/bug70365.phpt
similarity index 100%
rename from ext/spl/tests/bug70365.phpt
rename to ext/spl/tests/SplObjectStorage/bug70365.phpt