tony2001                                 Mon, 31 Aug 2009 15:32:39 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=287921

Log:
nuke duplicated tests

Changed paths:
    D   
php/php-src/branches/PHP_5_3/ext/spl/tests/SplDoublyLinkedList_shift_noParams.phpt
    D   
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFixedarray_offsetExists_larger.phpt
    D   
php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_first.phpt
    D   
php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_first002.phpt
    D   
php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_last.phpt
    D   php/php-src/trunk/ext/spl/tests/SplDoublyLinkedList_shift_noParams.phpt
    D   
php/php-src/trunk/ext/spl/tests/SplDoublylinkedlist_offsetunset_first.phpt
    D   php/php-src/trunk/ext/spl/tests/SplFixedarray_offsetExists_larger.phpt
    D   
php/php-src/trunk/ext/spl/tests/spldoublylinkedlist_offsetunset_first002.phpt
    D   
php/php-src/trunk/ext/spl/tests/spldoublylinkedlist_offsetunset_last.phpt

Deleted: php/php-src/branches/PHP_5_3/ext/spl/tests/SplDoublyLinkedList_shift_noParams.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/spl/tests/SplDoublyLinkedList_shift_noParams.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/branches/PHP_5_3/ext/spl/tests/SplDoublyLinkedList_shift_noParams.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,15 +0,0 @@
---TEST--
-Checks that the shift() method of DoublyLinkedList does not accept args.
---CREDITS--
-PHPNW Test Fest 2009 - Rick Ogden
---FILE--
-<?php
-$ll = new SplDoublyLinkedList();
-$ll->push(1);
-$ll->push(2);
-
-var_dump($ll->shift(1));
-?>
---EXPECTF--
-Warning: SplDoublyLinkedList::shift() expects exactly 0 parameters, 1 given in %s on line %d
-NULL

Deleted: php/php-src/branches/PHP_5_3/ext/spl/tests/SplFixedarray_offsetExists_larger.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/spl/tests/SplFixedarray_offsetExists_larger.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/branches/PHP_5_3/ext/spl/tests/SplFixedarray_offsetExists_larger.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,15 +0,0 @@
---TEST--
-Checks that offsetExists() does not accept a value larger than the array.
---CREDITS--
- PHPNW Test Fest 2009 - Rick Ogden
---FILE--
-<?php
-$ar = new SplFixedArray(3);
-$ar[0] = 1;
-$ar[1] = 2;
-$ar[2] = 3;
-
-var_dump($ar->offsetExists(4));
-?>
---EXPECT--
-bool(false)

Deleted: php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_first.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_first.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_first.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,25 +0,0 @@
---TEST--
-SPL: SplDoublyLinkedList : offsetUnset - first element
---CREDITS--
-PHPNW TestFest2009 - Rowan Merewood <ro...@merewood.org>
---FILE--
-<?php
-$list = new SplDoublyLinkedList();
-$list->push('oh');
-$list->push('hai');
-$list->push('thar');
-$list->offsetUnset(0);
-var_dump($list);
-?>
---EXPECTF--
-object(SplDoublyLinkedList)#1 (2) {
-  [%u|b%"flags":%u|b%"SplDoublyLinkedList":private]=>
-  int(0)
-  [%u|b%"dllist":%u|b%"SplDoublyLinkedList":private]=>
-  array(2) {
-    [0]=>
-    %string|unicode%(3) "hai"
-    [1]=>
-    %string|unicode%(4) "thar"
-  }
-}

Deleted: php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_first002.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_first002.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_first002.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,17 +0,0 @@
---TEST--
-SPL: SplDoublyLinkedList : offsetUnset - first element
---CREDITS--
-PHPNW TestFest2009 - Rowan Merewood <ro...@merewood.org>
---FILE--
-<?php
-$list = new SplDoublyLinkedList();
-$list->push('oh');
-$list->push('hai');
-$list->push('thar');
-echo $list->bottom() . "\n";
-$list->offsetUnset(0);
-echo $list->bottom() . "\n";
-?>
---EXPECT--
-oh
-hai

Deleted: php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_last.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_last.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/branches/PHP_5_3/ext/spl/tests/spldoublylinkedlist_offsetunset_last.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,25 +0,0 @@
---TEST--
-SPL: SplDoublyLinkedList : offsetUnset - last element
---CREDITS--
-PHPNW TestFest2009 - Rowan Merewood <ro...@merewood.org>
---FILE--
-<?php
-$list = new SplDoublyLinkedList();
-$list->push('oh');
-$list->push('hai');
-$list->push('thar');
-$list->offsetUnset(2);
-var_dump($list);
-?>
---EXPECTF--
-object(SplDoublyLinkedList)#1 (2) {
-  [%u|b%"flags":%u|b%"SplDoublyLinkedList":private]=>
-  int(0)
-  [%u|b%"dllist":%u|b%"SplDoublyLinkedList":private]=>
-  array(2) {
-    [0]=>
-    %string|unicode%(2) "oh"
-    [1]=>
-    %string|unicode%(3) "hai"
-  }
-}

Deleted: php/php-src/trunk/ext/spl/tests/SplDoublyLinkedList_shift_noParams.phpt
===================================================================
--- php/php-src/trunk/ext/spl/tests/SplDoublyLinkedList_shift_noParams.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/trunk/ext/spl/tests/SplDoublyLinkedList_shift_noParams.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,15 +0,0 @@
---TEST--
-Checks that the shift() method of DoublyLinkedList does not accept args.
---CREDITS--
-PHPNW Test Fest 2009 - Rick Ogden
---FILE--
-<?php
-$ll = new SplDoublyLinkedList();
-$ll->push(1);
-$ll->push(2);
-
-var_dump($ll->shift(1));
-?>
---EXPECTF--
-Warning: SplDoublyLinkedList::shift() expects exactly 0 parameters, 1 given in %s on line %d
-NULL

Deleted: php/php-src/trunk/ext/spl/tests/SplDoublylinkedlist_offsetunset_first.phpt
===================================================================
--- php/php-src/trunk/ext/spl/tests/SplDoublylinkedlist_offsetunset_first.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/trunk/ext/spl/tests/SplDoublylinkedlist_offsetunset_first.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,25 +0,0 @@
---TEST--
-SPL: SplDoublyLinkedList : offsetUnset - first element
---CREDITS--
-PHPNW TestFest2009 - Rowan Merewood <ro...@merewood.org>
---FILE--
-<?php
-$list = new SplDoublyLinkedList();
-$list->push('oh');
-$list->push('hai');
-$list->push('thar');
-$list->offsetUnset(0);
-var_dump($list);
-?>
---EXPECTF--
-object(SplDoublyLinkedList)#1 (2) {
-  [%u|b%"flags":%u|b%"SplDoublyLinkedList":private]=>
-  int(0)
-  [%u|b%"dllist":%u|b%"SplDoublyLinkedList":private]=>
-  array(2) {
-    [0]=>
-    %string|unicode%(3) "hai"
-    [1]=>
-    %string|unicode%(4) "thar"
-  }
-}

Deleted: php/php-src/trunk/ext/spl/tests/SplFixedarray_offsetExists_larger.phpt
===================================================================
--- php/php-src/trunk/ext/spl/tests/SplFixedarray_offsetExists_larger.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/trunk/ext/spl/tests/SplFixedarray_offsetExists_larger.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,15 +0,0 @@
---TEST--
-Checks that offsetExists() does not accept a value larger than the array.
---CREDITS--
- PHPNW Test Fest 2009 - Rick Ogden
---FILE--
-<?php
-$ar = new SplFixedArray(3);
-$ar[0] = 1;
-$ar[1] = 2;
-$ar[2] = 3;
-
-var_dump($ar->offsetExists(4));
-?>
---EXPECT--
-bool(false)

Deleted: php/php-src/trunk/ext/spl/tests/spldoublylinkedlist_offsetunset_first002.phpt
===================================================================
--- php/php-src/trunk/ext/spl/tests/spldoublylinkedlist_offsetunset_first002.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/trunk/ext/spl/tests/spldoublylinkedlist_offsetunset_first002.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,17 +0,0 @@
---TEST--
-SPL: SplDoublyLinkedList : offsetUnset - first element
---CREDITS--
-PHPNW TestFest2009 - Rowan Merewood <ro...@merewood.org>
---FILE--
-<?php
-$list = new SplDoublyLinkedList();
-$list->push('oh');
-$list->push('hai');
-$list->push('thar');
-echo $list->bottom() . "\n";
-$list->offsetUnset(0);
-echo $list->bottom() . "\n";
-?>
---EXPECT--
-oh
-hai

Deleted: php/php-src/trunk/ext/spl/tests/spldoublylinkedlist_offsetunset_last.phpt
===================================================================
--- php/php-src/trunk/ext/spl/tests/spldoublylinkedlist_offsetunset_last.phpt	2009-08-31 13:26:14 UTC (rev 287920)
+++ php/php-src/trunk/ext/spl/tests/spldoublylinkedlist_offsetunset_last.phpt	2009-08-31 15:32:39 UTC (rev 287921)
@@ -1,25 +0,0 @@
---TEST--
-SPL: SplDoublyLinkedList : offsetUnset - last element
---CREDITS--
-PHPNW TestFest2009 - Rowan Merewood <ro...@merewood.org>
---FILE--
-<?php
-$list = new SplDoublyLinkedList();
-$list->push('oh');
-$list->push('hai');
-$list->push('thar');
-$list->offsetUnset(2);
-var_dump($list);
-?>
---EXPECTF--
-object(SplDoublyLinkedList)#1 (2) {
-  [%u|b%"flags":%u|b%"SplDoublyLinkedList":private]=>
-  int(0)
-  [%u|b%"dllist":%u|b%"SplDoublyLinkedList":private]=>
-  array(2) {
-    [0]=>
-    %string|unicode%(2) "oh"
-    [1]=>
-    %string|unicode%(3) "hai"
-  }
-}
-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to