silverstripe-framework/tests/model
Ingo Schommer 6517f4496b Merge pull request #273 from ajoneil/sapphire
---

This allows DataList::create(SiteTree) as equivalent to Object::create(DataList, SiteTree), without
having to have a create() function on DataList.

Required for E_STRICT compliance, as child classes cant override create() if they change the arguments.

DBField::create() is also renamed to DBField::create_field(), as this does not just call the constructor, which all other cases of create() do.

Conflicts:
	tests/model/DateTest.php
	tests/model/DatetimeTest.php
2012-04-04 16:48:16 +02:00
..
testimages ENHANCEMENT: use image file name (without file path and extension) for alt attribute when title is not provided 2009-05-24 12:16:17 +00:00
AggregateTest.php MINOR Fixes to method arguments in core classes for E_STRICT support. 2012-03-28 22:41:42 +13:00
AggregateTest.yml FEATURE: Add aggregate calculation to DataObject, allowing (cached) calculation of Max, Min, Count, Avg, etc (from r97390) 2010-04-12 05:04:34 +00:00
ArrayListTest.php API CHANGE: Introduce SS_Limitable class for adding to SS_Lists that have limit capability. 2012-03-09 17:07:40 +13:00
ComponentSetTest.php MINOR Changed $fixture_path to relative filenames in all sapphire test cases in order to allow easier file moving and less verbosity in tests 2011-03-30 23:04:48 +13:00
ComponentSetTest.yml MINOR Added ComponentSetTest 2010-02-22 04:37:32 +00:00
CompositeDBFieldTest.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
CurrencyTest.php API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure 2011-03-31 09:56:21 +13:00
DatabaseTest.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
DataDifferencerTest.php MINOR Fixes to method arguments in core classes for E_STRICT support. 2012-03-28 22:41:42 +13:00
DataDifferencerTest.yml ENHANCEMENT Allowing diffs of has_one relationship in DataDifferencer (AIR-24) 2011-10-07 14:12:48 +02:00
DataExtensionTest.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
DataExtensionTest.yml API CHANGE: Renamed DataObjectDecorator to DataExtension. 2011-04-26 11:01:38 +10:00
DataListTest.php API CHANGE: Introduce SS_Limitable class for adding to SS_Lists that have limit capability. 2012-03-09 17:07:40 +13:00
DataObjectDuplicationTest.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
DataObjectSchemaGenerationTest.php MINOR Removed mysql specific functionality from DataObjectSchemaGenerationTest and moved it to a new MySQLDatabaseTest (from r103799) 2010-10-13 04:06:50 +00:00
DataObjectTest.php API CHANGE: Added DataObject::relField(), which pushes the "relation dot syntax" code of TableListField/GridField back to the model. 2012-03-24 14:04:08 +13:00
DataObjectTest.yml ENHANCEMENT Allowing to save ManyManyList with multiple foreign keys (e.g. required to add to an overloaded Group->Members() relationship) 2012-03-06 21:38:33 +01:00
DataQueryTest.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
DateTest.php Merge pull request #273 from ajoneil/sapphire 2012-04-04 16:48:16 +02:00
DatetimeTest.php Merge pull request #273 from ajoneil/sapphire 2012-04-04 16:48:16 +02:00
DbDatetimeTest.php MINOR: Explicitly declare $adapter in DbDatetimeTest 2012-03-27 10:28:10 -07:00
DbDatetimeTest.yml MINOR Removed dependency on SiteTree in various unit tests 2011-03-29 18:07:58 +13:00
DBFieldTest.php ENHANCEMENT: Allow Object::create() to be called with late static binding. 2012-03-27 17:57:42 +13:00
DBLocaleTest.php ENHANCEMENT: Allow Object::create() to be called with late static binding. 2012-03-27 17:57:42 +13:00
DecimalTest.php API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure 2011-03-31 09:56:21 +13:00
DecimalTest.yml API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure 2011-03-31 09:56:21 +13:00
GroupedListTest.php FEATURE: Added GroupedList for grouping lists into sub-lists by common values of a field. 2011-12-26 19:48:53 +11:00
HasManyListTest.php BUGFIX Fixed HasManyList and ManyManyList queries for relationships on new records (was returning all available records due to the SQL filtering ignoring ID=0) 2012-03-06 01:23:34 +01:00
HierarchyTest.php ENHANCEMENT Hierarchy->Breadcrumbs() 2012-03-02 20:46:19 +01:00
HierarchyTest.yml MINOR Removed dependency on SiteTree in various unit tests 2011-03-29 18:07:58 +13:00
HTMLTextTest.php ENHANCEMENT: Allow Object::create() to be called with late static binding. 2012-03-27 17:57:42 +13:00
ImageTest.php BUGFIX: regex-escape strings to prevent regex syntax errors 2011-10-31 11:34:33 -07:00
ImageTest.yml BUGFIX: regex-escape strings to prevent regex syntax errors 2011-10-31 11:34:33 -07:00
LabelFieldTest.php ENHANCEMENT Allowing custom attributes in (most) FormField implementations, which allows for HTML5 data attributes 2012-01-02 16:48:14 +01:00
ManyManyListTest.php ENHANCEMENT Allowing to save ManyManyList with multiple foreign keys (e.g. required to add to an overloaded Group->Members() relationship) 2012-03-06 21:38:33 +01:00
MapTest.php MINOR Added tests for SS_Map testing value method instead of value field 2012-03-15 17:42:42 +13:00
MoneyTest.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
MoneyTest.yml FEATURE Added Money class for managing monetary amounts with currencies through the Money design pattern. Uses the CompositeDBField interface to contain multiple database columns in a single DBField 2009-05-05 08:10:51 +00:00
MySQLDatabaseTest.php MINOR Removed mysql specific functionality from DataObjectSchemaGenerationTest and moved it to a new MySQLDatabaseTest (from r103799) 2010-10-13 04:06:50 +00:00
PaginatedListTest.php API CHANGE: Replaced DataObjectSet instances with ArrayList. 2011-05-05 20:40:24 +10:00
PercentageTest.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
SQLQueryTest.php API CHANGE: Introduce SS_Limitable class for adding to SS_Lists that have limit capability. 2012-03-09 17:07:40 +13:00
StringFieldTest.php ENHANCEMENT: Allow Object::create() to be called with late static binding. 2012-03-27 17:57:42 +13:00
TextTest.php ENHANCEMENT: Allow Object::create() to be called with late static binding. 2012-03-27 17:57:42 +13:00
TransactionTest.php Changes default MySQL storage engine to InnoDB. File requires MyISAM for FulltextSearch. 2011-10-29 13:34:45 +13:00
URLSegmentFilterTest.php MINOR Added URLSegmentFilterTest->testReplacements() 2011-12-17 01:13:27 +01:00
VersionedTest.php BUGFIX: Fix SQLQuery::queriedTables() and added test. 2011-05-01 15:26:29 +12:00
VersionedTest.yml MINOR Removed dependency on SiteTree in various unit tests 2011-03-29 18:07:58 +13:00