silverstripe-framework/tests
Sean Harvey 17f6f3fbe7 MINOR #6397 CoreTest should use test specific paths, otherwise conflicts can occur in certain environments (from r115854)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115855 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-01-26 22:51:08 +00:00
..
api ENHANCEMENT XMLDataFormatter::convertDataObjectWithoutHeader() now escapes HTML fields using CDATA (thanks random-value!) 2010-12-20 04:51:24 +00:00
control ENHANCEMENT Added NullHTTPRequest as a placeholder for new RequestHandler/Controller instances that haven't handled a URL yet. This means RequestHandler->request can be safely called from singleton controllers 2010-12-16 04:06:13 +00:00
dev ENHANCEMENT Added $argCharLimit to SS_Backtrace::full_func_name(), to avoid printing really long strings its set to 10,000 by default 2010-11-24 06:23:50 +00:00
fieldtypes ENHANCEMENT #5055 Convert unpredictability and replacing inconsistent conversion. Use htmlspecialchars() and html_entity_decode() wherever possible which are faster than str_replace() 2010-12-16 22:55:17 +00:00
filesystem MINOR #6083 FileTest doesn't remove test folders and files created during test (from r111903) 2010-10-19 05:06:39 +00:00
forms BUGFIX #6299 TableListField::Link() includes $action value twice (thanks ajshort!) (from r115379) 2011-01-10 03:46:28 +00:00
i18n BUGFIX Check for valid locale in i18n::set_locale()/set_default_locale()/include_locale_file()/include_by_locale() (as defined in i18n::$allowed_locales). Implicitly sanitizes the data for usage in controllers. 2010-12-03 00:27:41 +00: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 (from r111949) 2010-10-19 05:07:27 +00: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: cached fieldlist array can now be cleared 2011-01-12 00:10:38 +00:00
salad/step_definitions MINOR: Clear out the test database in between each salad scenario. (from r109100) 2010-10-19 00:54:45 +00:00
search MINOR Added FulltextSearchable::get_searchable_classes() in order to introspect currently searchable classes, added FulltextSearchableTest, added documentation (from r111789) 2010-10-19 04:53:36 +00:00
security BUGFIX Avoid potential referer leaking in Security->changepassword() form by storing Member->AutoLoginHash in session instead of 'h' GET parameter 2010-12-09 21:18:49 +00:00
tasks BUGFIX: Adjust EncryptAllPasswordsTask test to match API for BuildTask (from r96828) 2010-04-12 03:27:27 +00:00
templates MINOR: Added missing file for r101867 (from r101868) 2010-10-13 01:16:41 +00:00
testing API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2010-04-12 02:03:16 +00:00
widgets MINOR: Added explicit listing of testonly dataobjects for widget tests. (from r96830) 2010-04-12 03:27:51 +00:00
ArrayDataTest.php ENHANCEMENT: added getter to get array back out of an ArrayData instance. MINOR: updated docblocks in ArrayData (from r108012) 2010-10-18 22:39:19 +00:00
ArrayLibTest.php ENHANCEMENT Use array_combine() instead of custom logic for ArrayLib::valuekey() (thanks paradigmincarnate!) (from r107380) 2010-10-15 03:24:32 +00:00
Bare.yml MINOR: Added small fixture YML that just lets you log in, for bootstrapping browser automation tests. (from r94429) 2009-12-16 05:40:59 +00: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) (from r111051) 2010-10-19 03:43:31 +00:00
CacheTest.php MINOR: Speed up cache test (1s is as good a test expiry as 8s) (from r98433) 2010-04-13 03:24:37 +00:00
ClassInfoTest.php BUGFIX: Fixed issues with broekn link tracking (from r101138) 2010-10-12 21:42:25 +00:00
ControllerTest.php APICHANGE: changed BaseHref to AbsoluteBaseURL for consistency. FEATURE: added BaseURL for getting non absolute value. PATCH via muzdowski (#6158) 2010-12-11 02:01:13 +00: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: abstract generateURLSegments functionality out to Convert::raw2url() to allow non site tree objects to safely make use of the logic. BUGFIX: #5586 Group::setCode() now calls Convert::raw2url() rather than requiring a SiteTree instance 2010-12-20 03:18:51 +00:00
CoreTest.php MINOR #6397 CoreTest should use test specific paths, otherwise conflicts can occur in certain environments (from r115854) 2011-01-26 22:51:08 +00:00
DataObjectDecoratorTest.php MINOR: Several changes merged from branches/2.4 2010-10-13 01:35:19 +00:00
DataObjectDecoratorTest.yml APICHANGE: removed page comments from core. Please see the github.com account for page comments functionality 2010-12-11 05:43:08 +00:00
DataObjectSetTest.php APICHANGE: removed page comments from core. Please see the github.com account for page comments functionality 2010-12-11 05:43:08 +00:00
DataObjectSetTest.yml APICHANGE: removed page comments from core. Please see the github.com account for page comments functionality 2010-12-11 05:43:08 +00:00
DataObjectTest.php APICHANGE: removed page comments from core. Please see the github.com account for page comments functionality 2010-12-11 05:43:08 +00:00
DataObjectTest.yml APICHANGE: removed page comments from core. Please see the github.com account for page comments functionality 2010-12-11 05:43:08 +00: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) 2010-10-15 03:20:47 +00: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) (from r111489) 2010-10-19 03:55:44 +00:00
GeoipTest.php BUGFIX: fixed accessing private variable from Geoip. ENHANCEMENT: added Geoip::get_default_country_code(). Fixes #6315 2011-01-09 05:55:17 +00: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(). 2009-12-16 05:30:46 +00: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. (from r101793) 2010-10-13 01:08:10 +00: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 (from r101138) 2010-10-12 21:42:25 +00:00
MemoryLimitTest.php MINOR: Better checking of safe_mode in MemoryLimitTest (from r106187) 2010-10-15 02:58:55 +00:00
ModelAsControllerTest.yml BUGFIX: When finding an old page in the 404 handler, favour existing subpages over historical ones. (from r104468) 2010-10-15 00:28:02 +00:00
ObjectStaticTest.php BUGFIX #4929: Fixed Object::add_static_vars() for uninherited static.s (from r97586) 2010-04-12 22:00:25 +00:00
ObjectTest.php BUGFIX: Update Object::parse_class_spec() to handle arrays. (from r101105) 2010-10-04 04:47:08 +00:00
PhpSyntaxTest.php MINOR PHPUnit annotations for PhpSyntaxTest (from r111116) 2010-10-19 03:46:47 +00:00
RedirectorPageTest.php BUGFIX #5259 RedirectorPage and HtmlEditorField TinyMCE integration now prefixes http:// if no prefix is found (from r101668) 2010-10-13 00:57:45 +00:00
RedirectorPageTest.yml BUGFIX #5259 RedirectorPage and HtmlEditorField TinyMCE integration now prefixes http:// if no prefix is found (from r101668) 2010-10-13 00:57:45 +00:00
RequestHandlingTest.php BUGFIX Checking for existence of FormAction in Form->httpSubmission() to avoid bypassing $allowed_actions definitions in controllers containing this form 2010-12-20 00:00:38 +00:00
SearchContextTest.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2010-04-12 02:03:16 +00: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) (from r111046) 2010-10-19 03:38:31 +00: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 (from r99491) 2010-04-14 04:41:30 +00: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. 2010-10-04 04:52:46 +00:00
SiteTreeBacklinksTest.yml API CHANGE: Added SiteTree::VirtualPages() and SiteTree::DependentPages() accessors. 2010-10-04 04:52:46 +00:00
SiteTreeBrokenLinksTest.php BUGFIX: Fixed issues with broekn link tracking (from r101138) 2010-10-12 21:42:25 +00: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 (from r110759) 2010-10-19 01:32:39 +00:00
SiteTreePermissionsTest.yml BUGFIX: ensure that pages can only be requested from staging and live (from r110759) 2010-10-19 01:32:39 +00:00
SiteTreeTest.php API CHANGE Don't partially URI encode strings in SiteTree->RelativeLink(), rely on XML casting in templates instead (fixes #6125, thanks paradigmincarnate) 2010-11-13 02:54:13 +00: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. 2010-04-12 02:03:16 +00: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 2009-11-21 01:43:54 +00:00
SQLQueryTest.php ENHANCEMENT Added argument to SQLQuery->leftJoin()/innerJoin() (#5802, thanks stojg) (from r108418) 2010-10-18 22:58:43 +00: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 (from r101833) 2010-10-13 01:14:49 +00:00
SSViewerTest.php MINOR Fixed SSViewerTest to initialize controller properly (from r111047) 2010-10-19 03:38:47 +00:00
TokenisedRegularExpressionTest.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
TransactionTest.php MINOR: transaction function names fixed 2011-01-11 23:01:42 +00:00
ViewableDataTest.php BUGFIX ViewableData->castingClass() cuts off last character of a casting definition if it has bracketed arguments (fixes #5536, thanks ajshort) (from r104063) 2010-10-14 23:56:11 +00:00
WebserverRoutingTest.php BUGFIX Bypass BasicAuth when in CLI mode so unit tests can run (regression from r104962) (from r108193) 2010-10-18 22:42:45 +00:00