Орла
Области
Компаний
Пользователи
Галерея
Фиксированные новости
Орла
Отзывы о фирмах
Тарифы
Пользователи
Области
Банкоматы
Торговые точки
Доска объявлений
Курсы валют
Скидки
организации Орла
организации области
товары
сайты
сайты Орел
Данные
Разделы
Поиск
Поиск запросы
Статистика
Показы каталога организаций
Статистика клиенты
Пользователи
Сайты
Управление сайтом
Анкета
Аптеки
Афиша
Афиша новая
Баннеры
Бизнес >
Викторина
Голосование
Гость на сайте
Истории
Календарь событий
Каталоги >
Конкурс красоты
Конкурс аудио
Консультации
Меню
Новое на сайте
Новости >
Организации >
Программа ТВ
Публикации
Разделы сайта
Рассылка
Рестораны
Секрет фирмы >
Сервисы >
Ссылки
Тесты
Файловый менеджер
Форум
Фотогалерея
Обратная связь
Недвижимость
Новый год
Тексты
Пользователи
Юридический рейтинг
Отзывы на товары
Бан пользователей
Жалобы
Новые тесты
Коронавирус
Файловый менеджер
Имя файла
TestSuiteIterator.php
Содержимое
<?php /* * This file is part of PHPUnit. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Iterator for test suites. * * @since Class available since Release 3.1.0 */ class PHPUnit_Util_TestSuiteIterator implements RecursiveIterator { /** * @var int */ protected $position; /** * @var PHPUnit_Framework_Test[] */ protected $tests; /** * @param PHPUnit_Framework_TestSuite $testSuite */ public function __construct(PHPUnit_Framework_TestSuite $testSuite) { $this->tests = $testSuite->tests(); } /** * Rewinds the Iterator to the first element. */ public function rewind() { $this->position = 0; } /** * Checks if there is a current element after calls to rewind() or next(). * * @return bool */ public function valid() { return $this->position < count($this->tests); } /** * Returns the key of the current element. * * @return int */ public function key() { return $this->position; } /** * Returns the current element. * * @return PHPUnit_Framework_Test */ public function current() { return $this->valid() ? $this->tests[$this->position] : null; } /** * Moves forward to next element. */ public function next() { $this->position++; } /** * Returns the sub iterator for the current element. * * @return PHPUnit_Util_TestSuiteIterator */ public function getChildren() { return new self( $this->tests[$this->position] ); } /** * Checks whether the current element has children. * * @return bool */ public function hasChildren() { return $this->tests[$this->position] instanceof PHPUnit_Framework_TestSuite; } }
/vendor/phpunit/phpunit/src/Util/
Имя
Дата
Размер
..
2017-06-21
Log
2017-06-21
PHP
2017-06-21
TestDox
2017-06-21
Blacklist.php
2017-06-21
3 кб.
Blacklist.php~
2025-01-10
3 кб.
Configuration.php
2017-06-21
35 кб.
Configuration.php~
2025-01-10
35 кб.
ErrorHandler.php
2017-06-21
3 кб.
ErrorHandler.php~
2025-01-10
3 кб.
Fileloader.php
2017-06-21
2 кб.
Fileloader.php~
2025-01-10
2 кб.
Filesystem.php
2017-06-21
918 байт
Filesystem.php~
2025-01-10
918 байт
Filter.php
2017-06-21
3 кб.
Filter.php~
2025-01-10
3 кб.
Getopt.php
2017-06-21
5 кб.
Getopt.php~
2025-01-10
5 кб.
GlobalState.php
2017-06-21
5 кб.
GlobalState.php~
2025-01-10
5 кб.
InvalidArgumentHelper.php
2017-06-21
1 кб.
InvalidArgumentHelper.php~
2025-01-10
1 кб.
PHP.php
2017-06-21
7 кб.
PHP.php~
2025-01-10
7 кб.
Printer.php
2017-06-21
4 кб.
Printer.php~
2025-01-10
4 кб.
Regex.php
2017-06-21
741 байт
Regex.php~
2025-01-10
741 байт
String.php
2017-06-21
2 кб.
String.php~
2025-01-10
2 кб.
Test.php
2017-06-21
34 кб.
Test.php~
2025-01-10
34 кб.
TestSuiteIterator.php
2017-06-21
2 кб.
TestSuiteIterator.php~
2025-01-10
2 кб.
Type.php
2017-06-21
776 байт
Type.php~
2025-01-10
776 байт
XML.php
2017-06-21
30 кб.
XML.php~
2025-01-10
30 кб.
/vendor/phpunit/phpunit/src/Util
Загрузить файлы
Файл 1
Файл 2
Файл 3