silverstripe-framework/tests/php/ORM
Sam Minnee 77c7552c3f
NEW: ORM’ Query is a generator-based IteratorAggregate
API: Query no longer has iterator methods current(), first(), rewind(), next()

Using generators reduces the amount of boilerplate needed for this
code.

Turning it into an IteratorAggregate means that the iterator can be
re-created for each subsequent foreach call. This means that the
rewind() and seek() functionality can be discarded.
2022-09-15 13:28:56 +12:00
..
ArrayListTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
CascadeDeleteTest API Implement cascade_deletes 2017-08-09 15:14:00 +12:00
ComponentSetTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DatabaseTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DataExtensionTest ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
DataObjectDuplicationTest Merge branch '4.0' into 4.1 2018-06-08 23:05:24 +01:00
DataObjectSchemaGenerationTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DataObjectSchemaTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DataObjectTest MNT Add tests for overriding DataObject via injection 2022-07-07 09:49:25 +12:00
DataQueryTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DBClassNameTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DBCompositeTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DBHTMLTextTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DBMoneyTest
DBStringTest
DBVarcharTest ENHANCEMENT Ensure DBVarchar scaffolds text field with TextField with appropriate max length 2017-10-26 16:21:51 +13:00
DecimalTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
FieldType FIX: Make all enums non-destructive, not just ClassName 2018-11-10 12:10:25 +13:00
Filters MNT Fix various typos with codespell (#10177) 2021-12-13 21:05:33 +13:00
HasManyListTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
HierarchyTest ENH Add tests for Hierarchy extension when applied to a subclass 2021-09-25 00:23:43 +12:00
ManyManyListTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
ManyManyThroughListTest BUGFIX many many through not sorting by join table (#8534) 2018-11-01 14:17:15 +13:00
MySQLDatabaseTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
MySQLiConnectorTest ENH Test coverage for MySQL connection collation 2020-08-30 13:21:38 +12:00
MySQLSchemaManagerTest TEST: Simulated test for MySQLSchemaManager::shouldUseIntegerWidth() 2021-12-08 11:19:47 +13:00
RelatedDataServiceTest NEW DataObject related objects service 2020-10-29 09:29:26 +13:00
Search NEW Search across multiple searchable fields by default (#10382) 2022-08-01 12:19:02 +12:00
SQLInsertTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
SQLSelectTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
SQLUpdateTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
TransactionTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
UniqueKey Unique key for DataObject (#9400) 2020-05-04 09:10:51 +12:00
UnsavedRelationListTest Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
Utf8 MNT Update Utf8TestHelper for MySQL 8.0.30 2022-07-28 13:21:23 +12:00
ArrayLibTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
ArrayListTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
CascadeDeleteTest.php API Rename assert dos to assert list 2017-10-09 11:53:11 +13:00
CascadeDeleteTest.yml API Implement cascade_deletes 2017-08-09 15:14:00 +12:00
ComponentSetTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
ComponentSetTest.yml
DatabaseTest.php NEW: ORM’ Query is a generator-based IteratorAggregate 2022-09-15 13:28:56 +12:00
DataExtensionTest.php NEW Add afterUpdateCMSFields method to DataObject. (#9819) 2021-10-26 16:05:11 +13:00
DataExtensionTest.yml
DataListTest.php PR fixes. 2022-05-13 12:11:18 +12:00
DataObjectDuplicationTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
DataObjectDuplicationTest.yml API Implement cascade_duplications 2018-02-05 12:04:57 +13:00
DataObjectLazyLoadingTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
DataObjectSchemaGenerationTest.php MNT No longer mark tests as skipped if running mysql 8 2022-07-26 13:54:10 +12:00
DataObjectSchemaTest.php API Revert shorten auto-generated table names (#10482) 2022-09-02 10:55:45 +12:00
DataObjectTest.php API Allow dataobject get_one without passing a class 2022-08-23 16:25:23 +12:00
DataObjectTest.yml API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
DataQueryTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
DataQueryTest.yml Added unit tests for multiple relationship sorting 2019-07-29 10:45:10 -03:00
DBClassNameTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DBCompositeTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DBCurrencyTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DBDateTest.php API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
DBDatetimeTest.php PR fixes. 2022-05-19 14:09:04 +12:00
DBEnumTest.php FIX: Make all enums non-destructive, not just ClassName 2018-11-10 12:10:25 +13:00
DBFieldTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
DBHTMLTextTest.php MNT Fix various typos with codespell (#10177) 2021-12-13 21:05:33 +13:00
DBIntTest.php FIX Cast DBInt value to int 2021-07-06 16:43:54 +12:00
DBLocaleTest.php API Substitute Zend_Currency with NumberFormatter based solution 2017-02-09 15:28:59 +13:00
DBMoneyTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
DBMoneyTest.yml
DBPercentageTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
DBStringTest.php Fixing string concat CS issues 2018-01-16 18:39:30 +00:00
DBTest.php Fixing string concat CS issues 2018-01-16 18:39:30 +00:00
DBTextTest.php API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
DBTimeTest.php API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
DBVarcharTest.php ENHANCEMENT Ensure DBVarchar scaffolds text field with TextField with appropriate max length 2017-10-26 16:21:51 +13:00
DBYearTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
DecimalTest.php API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
DecimalTest.yml
GroupedListTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
HasManyListTest.php NEW Add/remove callbacks on RelationList 2020-09-18 13:33:42 +12:00
HasManyListTest.yml Add tests for sorting HasManyList 2018-09-27 17:09:24 +02:00
HierarchyCachingTest.php API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
HierarchyTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
HierarchyTest.yml ENH Add tests for Hierarchy extension when applied to a subclass 2021-09-25 00:23:43 +12:00
LabelFieldTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
ListDecoratorTest.php Revert "Merge pull request #10450 from creative-commoners/pulls/5/rescue-master-generators" (#10483) 2022-09-02 10:58:37 +12:00
ManyManyListExtensionTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
ManyManyListExtensionTest.yml
ManyManyListTest.php NEW Set many_many_extraFields data via the ORM 2022-07-28 09:29:36 +12:00
ManyManyThroughListTest.php Merge branch '4.9' into 4.10 2022-05-27 15:19:17 +12:00
ManyManyThroughListTest.yml FIX Correctly remove relations with ManyManyThroughList::removeall 2022-05-05 11:21:51 +12:00
MapTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
MarkedSetTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00
MySQLDatabaseTest.php Revert "Merge pull request #10450 from creative-commoners/pulls/5/rescue-master-generators" (#10483) 2022-09-02 10:58:37 +12:00
MySQLDatabaseTest.yml
MySQLiConnectorTest.php API Remove support for PDO (#10499) 2022-09-15 13:13:48 +12:00
MySQLSchemaManagerTest.php TEST: Simulated test for MySQLSchemaManager::shouldUseIntegerWidth() 2021-12-08 11:19:47 +13:00
PaginatedListTest.php FIX: Don’t call PaginatedList::getIterator() directly. 2022-09-15 13:28:20 +12:00
PolymorphicHasManyListTest.php FIX Add polymorphic class on new records for use in forms. 2022-05-11 14:04:52 +12:00
RelatedDataServiceTest.php NEW DataObject related objects service 2020-10-29 09:29:26 +13:00
SQLInsertTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
SQLSelectTest.php Fix SQLConditionalExpression::getJoins so it always adds explicit aliases 2022-08-24 11:27:02 +12:00
SQLSelectTest.yml
SQLUpdateTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
SQLUpdateTest.yml
TransactionTest.php MNT Fix various typos with codespell (#10177) 2021-12-13 21:05:33 +13:00
UnsavedRelationListTest.php Convert array delcarations to short array syntax 2020-04-20 18:58:09 +01:00
UnsavedRelationListTest.yml
URLSegmentFilterTest.php URLSegmentFilter: Remove : characters from url segments when multibyte characters are allowed. 2019-06-02 11:43:51 +03:00
ValidationExceptionTest.php API Upgrade SapphireTest to work with phpunit 9 (#10028) 2021-10-27 15:39:47 +13:00
ValidationResultTest.php ENH PHP 8.1 compatibility 2022-04-14 13:12:59 +12:00