silverstripe-framework/tests/model
Sean Harvey 02c8019bb8 ENHANCEMENT Introduce Database::prepStringForDB(), used by
DBField::prepValueForDB() and StringField::prepValueForDB() to ensure
the field value is escaped correctly for the database. This means
databases like MSSQL can introduce an "N" prefix (marking text as
unicode to be saved correctly) by overloading the
prepStringForDB method. MySQL, PostgreSQL and SQLite3
operate as usual.
2012-03-20 21:20:35 +13: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: Update tests for deprecated functions to explicitly disable deprecation errors. 2011-10-29 17:34:32 +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 DataDifferenceTest should not test whitespace 2012-02-10 23:27:06 +01: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 MINOR Added tests for SS_Map testing value method instead of value field 2012-03-15 17:42:42 +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 ENHANCEMENT Date::DayOfMonth() now supports ordinal argument, so you can get somehing like "10th" or "2nd". Also supported in Date::RangeString 2012-02-24 20:38:11 +13:00
DatetimeTest.php BUGFIX: Correct testSetNullAndZeroValues() of DatetimeTest 2012-03-09 15:41:11 -08:00
DbDatetimeTest.php MINOR Using raw SQL queries in DBDatetimeTest as SQLQuery returns false if no explicit FROM part is provided (previously working API was broken in 4171015d) 2011-10-07 14:12:52 +02:00
DbDatetimeTest.yml MINOR Removed dependency on SiteTree in various unit tests 2011-03-29 18:07:58 +13:00
DBFieldTest.php ENHANCEMENT Introduce Database::prepStringForDB(), used by 2012-03-20 21:20:35 +13:00
DBLocaleTest.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08: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 Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08: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 API CHANGE Removed XML escaping in DBField->LowerCase() and UpperCase(), in order to consistently allow SSViewer to deal with casting. Affects subclasses like Text, Varchar and HTMLText. 2012-01-31 16:11:55 +01:00
TextTest.php BUGFIX Casting return values on text helper methods in StringField, Text, Varchar 2012-01-31 16:11:55 +01: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