silverstripe-framework/tests
Ingo Schommer 294f99d767 ENHANCEMENT Added Form->enableSecurityToken() as a counterpart to the existing disableSecurityToken()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@113284 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:19:59 +13:00
..
api BUGFIX: disable basic auth for the restful controller test 2011-02-02 14:19:48 +13:00
control MINOR Fixed DirectorTest to restore it's REQUEST_URI state to the original one after each test method is run 2011-02-02 14:19:44 +13:00
dev ENHANCEMENT Added BulkLoader->deleteExistingRecords(), removed unnecessary parameters from BulkLoader->load() (merged from r94250) 2011-02-02 14:18:30 +13:00
fieldtypes BUGFIX: Only highlight strings more than 2 characters long. #4949 2011-02-02 14:19:36 +13:00
filesystem MINOR #6083 FileTest doesn't remove test folders and files created during test 2011-02-02 14:19:57 +13:00
forms ENHANCEMENT Added Form->enableSecurityToken() as a counterpart to the existing disableSecurityToken() 2011-02-02 14:19:59 +13:00
i18n MINOR Fixed regression from r111843 (i18nText, MemberDatetimeFieldTest, MemberTest) 2011-02-02 14:19:55 +13:00
integration BUGFIX Ensure that \r carriage return characters get stripped out before setting content in HTMLValue::setContent(). DOMDocument will transform these into &#13 entities, which is apparently XML spec, but not necessary for us as we're using HTML 2011-02-02 14:19:57 +13:00
javascript MINOR Moved js unit tests from sapphire/javascript/tests to sapphire/tests/javascript to have a consistent location for all tests on server- and clientside 2008-11-01 11:05:38 +00:00
model MINOR Change matchesRoughly threshold slightly in DbDatetimeTest to allow for slower database server connections 2011-02-02 14:19:55 +13:00
salad/step_definitions MINOR: Clear out the test database in between each salad scenario. 2011-02-02 14:19:45 +13:00
search MINOR Added FulltextSearchable::get_searchable_classes() in order to introspect currently searchable classes, added FulltextSearchableTest, added documentation 2011-02-02 14:19:54 +13:00
security ENHANCEMENT Added SecurityToken to wrap CSRF protection via "SecurityID" request parameter 2011-02-02 14:19:58 +13:00
tasks MINOR Fixed unit tests after change Member->checkPassword() to return ValidationResult instead of boolean (see r98268) 2011-02-02 14:18:25 +13:00
templates MINOR: Added missing file for r101867 2011-02-02 14:19:09 +13:00
testing API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
widgets MINOR: Added explicit listing of testonly dataobjects for widget tests. 2011-02-02 14:18:08 +13:00
ArrayDataTest.php ENHANCEMENT: added getter to get array back out of an ArrayData instance. MINOR: updated docblocks in ArrayData 2011-02-02 14:19:39 +13:00
ArrayLibTest.php ENHANCEMENT Use array_combine() instead of custom logic for ArrayLib::valuekey() (thanks paradigmincarnate!) 2011-02-02 14:19:35 +13:00
Bare.yml MINOR: Added small fixture YML that just lets you log in, for bootstrapping browser automation tests. 2011-02-02 14:17:57 +13:00
bootstrap.php MINOR Don't use chdir(), it confuses the hell out of phpunit (e.g. directory_exists() and realpath() no longer work as expected) 2011-02-02 14:19:52 +13:00
CacheTest.php MINOR: Speed up cache test (1s is as good a test expiry as 8s) 2011-02-02 14:18:28 +13:00
ClassInfoTest.php BUGFIX: Fixed issues with broekn link tracking 2011-02-02 14:19:02 +13:00
ControllerTest.php BUGFIX: invalid use of @covers annotation 2011-02-02 14:19:29 +13:00
ControllerTest.yml MINOR Added ControllerTest for $allowed_actions with permission codes, switched this class to extend FunctionalTest and use get() instead of Director:;test() for this purpose (better login/session mocking capabilities) 2009-09-10 06:34:40 +00:00
ConvertTest.php ENHANCEMENT: html2raw now properly replace strong tag with asterix #5494 2011-02-02 14:19:37 +13:00
CoreTest.php MINOR CoreTest::testGetTempPathInProject() will try to create a temp dirs when running. CoreTest::tearDown() will now remove these temp dirs when the test finishes 2011-02-02 14:19:54 +13:00
DataObjectDecoratorTest.php BUGFIX #5337: Allow decoration of DataObject 2011-02-02 14:19:11 +13:00
DataObjectDecoratorTest.yml BUGFIX #3919: Fix DataObject::dbObject() for decorated fields 2009-04-27 00:44:10 +00:00
DataObjectSetTest.php API CHANGE #5873 DataObjectSet::shift() now performs a proper shift instead of unshift (wrong). Please use DataObjectSet::unshift($item) if unshifting was intended! 2011-02-02 14:19:46 +13:00
DataObjectTest.php MINOR: Added test for #5662 (calling delete twice) 2011-02-02 14:19:39 +13:00
DataObjectTest.yml BUGFIX: TeamComment table added to dataobjects list 2011-02-02 14:19:04 +13:00
ErrorPageTest.php API CHANGE: Renamed conflicting classes to have an "SS_" namespace, and renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog. 2009-10-26 03:06:31 +00:00
ErrorPageTest.yml BUGFIX Fixed empty ErrorPage types in output by setting status code in init() instead of index() and checking for "index" action - introduced in r75096 (see #3960) 2009-05-04 02:20:57 +00:00
FileLinkTrackingTest.php API CHANGE Don't reflect changes in File and Folder property setters on filesystem before write() is called, to ensure that validate() applies in all cases. This fixes a problem where File->setName() would circumvent restrictions in File::$allowed_extensions (fixes #5693) 2011-02-02 14:19:34 +13:00
FileLinkTrackingTest.yml BUGFIX: Fixed image link rewriting and added a test. (from r89011) 2009-10-15 22:40:06 +00:00
FullTestSuite.php ENHANCEMENT Added "module=" argument to FullTestSuite (to support comma-separated module lists) 2011-02-02 14:19:53 +13:00
HtmlEditorConfigTest.php ENHANCEMENT Added support for loading external plugins (with relative paths) in HtmlEditorConfig. This means relative paths can be separate from the plugin name, and fixes a bug where paths containing dashes were ignored by TinyMCE.init(). 2011-02-02 14:17:55 +13:00
HTTPRequestTest.php API CHANGE: Renamed conflicting classes to have an "SS_" namespace, and renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog. 2009-10-26 03:06:31 +00:00
HTTPTest.php BUGFIX: preserve the port value if given in HTTP::setGetVar (#5280). BUGFIX: allow username only input rather than user:pass combo. 2011-02-02 14:19:08 +13:00
ManifestBuilderTest.fixture.inc BUGFIX: Fixed manifest builder tests to not have fake data, and to test that classes can be in files with different names 2009-08-08 03:39:12 +00:00
ManifestBuilderTest.php BUGFIX: Fixed issues with broekn link tracking 2011-02-02 14:19:02 +13:00
MemoryLimitTest.php MINOR: Better checking of safe_mode in MemoryLimitTest 2011-02-02 14:19:31 +13:00
ModelAsControllerTest.yml BUGFIX: When finding an old page in the 404 handler, favour existing subpages over historical ones. 2011-02-02 14:19:21 +13:00
ObjectStaticTest.php BUGFIX #4929: Fixed Object::add_static_vars() for uninherited static.s 2011-02-02 14:18:14 +13:00
ObjectTest.php BUGFIX: Update Object::parse_class_spec() to handle arrays. 2011-02-02 14:19:01 +13:00
PhpSyntaxTest.php MINOR PHPUnit annotations for PhpSyntaxTest 2011-02-02 14:19:52 +13:00
RedirectorPageTest.php BUGFIX #5259 RedirectorPage and HtmlEditorField TinyMCE integration now prefixes http:// if no prefix is found 2011-02-02 14:19:06 +13:00
RedirectorPageTest.yml BUGFIX #5259 RedirectorPage and HtmlEditorField TinyMCE integration now prefixes http:// if no prefix is found 2011-02-02 14:19:06 +13:00
RequestHandlingTest.php ENHANCEMENT: Added method for $this->request->latestParam() backwards compatibility with Director::urlParam() 2011-02-02 14:19:29 +13:00
SearchContextTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
SearchContextTest.yml BUGFIX Fixed SQL syntax error in MATCH AGAINST clause in FulltextFilter 2009-05-24 21:27:48 +00:00
SessionTest.php MINOR Remove all session data in TestSession that might've been set by the test harness (necessary for test runs through the phpunit binary) 2011-02-02 14:19:51 +13:00
ShortcodeParserTest.php FEATURE: Added the Shortcode API (ShortcodeParser) to allow you to replace simple BBCode-like tags in a string with the results of a callback. 2009-10-11 00:06:57 +00:00
SiteTreeActionsTest.php MINOR Fixed SapphireTest->logInWithPermission() spelling 2011-02-02 14:18:38 +13:00
SiteTreeActionsTest.yml BUGFIX Respecting SiteTree->canDelete() in SiteTree->getCMSActions() 2009-10-17 05:11:23 +00:00
SiteTreeBacklinksTest.php API CHANGE: Added SiteTree::VirtualPages() and SiteTree::DependentPages() accessors. 2011-02-02 14:19:02 +13:00
SiteTreeBacklinksTest.yml API CHANGE: Added SiteTree::VirtualPages() and SiteTree::DependentPages() accessors. 2011-02-02 14:19:02 +13:00
SiteTreeBrokenLinksTest.php BUGFIX: Fixed issues with broekn link tracking 2011-02-02 14:19:02 +13:00
SiteTreeBrokenLinksTest.yml ENHANCMENT improved reporting around broken links/files (from r88993) 2009-10-15 22:39:26 +00:00
SiteTreePermissionsTest.php BUGFIX: ensure that pages can only be requested from staging and live 2011-02-02 14:19:49 +13:00
SiteTreePermissionsTest.yml BUGFIX: ensure that pages can only be requested from staging and live 2011-02-02 14:19:49 +13:00
SiteTreeTest.php ENHANCEMENT: Added documentation and changed static names 2011-02-02 14:19:36 +13:00
SiteTreeTest.yml ENHANCEMENT: Updated the SiteTree URLSegment conflict resolver to work with nested URLs. 2009-10-11 00:07:21 +00:00
SoapModelAccessTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
SoapModelAccessTest.yml (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-11 03:03:52 +00:00
SQLFormatterTest.php BUGFIX Fixed newlines working properly across different platforms - Windows, for example, won't work properly with just \n so use PHP_EOL for a cross-platform solution 2011-02-02 14:17:38 +13:00
SQLQueryTest.php ENHANCEMENT Added argument to SQLQuery->leftJoin()/innerJoin() (#5802, thanks stojg) 2011-02-02 14:19:41 +13:00
SSViewerCacheBlockTest.php API CHANGE: Allow cached blocks within control and if blocks, as long as that control or if block is contained within an uncached block, not a cached block 2011-02-02 14:19:09 +13:00
SSViewerTest.php MINOR Fixed SSViewerTest to initialize controller properly 2011-02-02 14:19:52 +13:00
TokenisedRegularExpressionTest.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
TransactionTest.php BUGFIX: get a object inside transaction block will alway exist 2011-02-02 14:19:06 +13:00
ViewableDataTest.php BUGFIX ViewableData->castingClass() cuts off last character of a casting definition if it has bracketed arguments (fixes #5536, thanks ajshort) 2011-02-02 14:19:19 +13:00
WebserverRoutingTest.php BUGFIX Bypass BasicAuth when in CLI mode so unit tests can run (regression from r104962) 2011-02-02 14:19:40 +13:00