Commit Graph

103 Commits (6bf31cfefc854c09cf5378a19494cccf30cf84ab)

Author SHA1 Message Date
Angie Byron 17df77c3a4 #295864 follow-up by boombatower: Clarify when to use randomName() vs. randomString(). 2009-05-03 20:01:11 +00:00
Dries Buytaert 8c7fd11fd4 - Patch #419114 by boombatower: clean up assertions. 2009-05-03 09:30:21 +00:00
Dries Buytaert 16cb95557d - Patch #295864 by boombatower, sun: fixed typos in the documentation. Nice catches, sun\! 2009-04-29 21:35:38 +00:00
Dries Buytaert e721147363 - Patch #295864 by boombatower: cleaned up the randomName() method by removing unnecessary prefix code, and added a new randomString() method which includes characters like spaces. 2009-04-29 12:08:28 +00:00
Dries Buytaert 7bf8e72aaa - Patch #340081 by dmitrig01, boombatower: clean-up of drupalCreateUser() 2009-04-29 12:04:47 +00:00
Angie Byron 279f33c6c5 #339210 by klausi and dmenefee: Allow SimpleTest module to work on sites with HTTP authentication. 2009-04-25 22:35:49 +00:00
Dries Buytaert 598dc48357 - Patch #335756 by Damien Tournoud, hass: fixed simpletest file directory path. 2009-04-25 13:40:41 +00:00
Dries Buytaert 26395c843f - Patch #308296 by Dave Reid, Damien Tournoud: clean-up of drupalCreateNode(). 2009-04-22 09:57:10 +00:00
Dries Buytaert f09028107c - Patch #413732 by brianV: database code clean-up. 2009-04-20 20:02:31 +00:00
Angie Byron 4ffebc570c #368639 by puradata: Remove drupalCreateField/Instance in favour of standard API functions. 2009-04-20 02:46:25 +00:00
Dries Buytaert 9179976227 - Patch #434336 by klausi: fixed simpletest on lighttpd. Curl header funkiness. 2009-04-17 07:07:09 +00:00
Angie Byron f85f7cf8c1 #349237 by c960657: Fix assertTitle()'s encoding of HTML attributes (with tests). 2009-03-30 05:35:35 +00:00
Angie Byron ee2e63d7f9 #402804 by roychri and Damien Tournoud: Add assertions to check if text was found only once or more than once. 2009-03-17 23:26:33 +00:00
Angie Byron 3b30509599 #347250 by catch, drewish, and Berdir: Add function for loading multiple users in one request. 2009-03-14 23:01:38 +00:00
Dries Buytaert 8a0d326a8e - Patch #400636 by mr.baileys: improve HTTP request assertion message. 2009-03-14 21:28:50 +00:00
Dries Buytaert 22cef75526 - Patch #395856 by mr.baileys: added HTTP request status code to request assertion message. 2009-03-09 17:11:59 +00:00
Dries Buytaert 582fbf2828 - Patch #395228 by c960657: fixed sorting order in drupalGetTestFiles(). 2009-03-08 21:52:10 +00:00
Dries Buytaert 001cd711bf - Patch #334554 by hass: prevent endless loops in the simpletests. 2009-02-22 20:12:03 +00:00
Dries Buytaert 5d658d0848 - Patch #380064 by c960657: make file_scan_directory() use save property names as file_load(). 2009-02-22 17:55:30 +00:00
Angie Byron 52c17c6d3e #373502 by drewish and sun: Add function to delete unmanaged files recurisevely (with tests). 2009-02-13 00:39:01 +00:00
Angie Byron f2e8aeff80 #369413 by bjaspan: Reset Field API caches in DrupalWebTestCase->tearDown(). 2009-02-06 00:30:36 +00:00
Dries Buytaert 607e9626d5 - Patch #361683by Barry, Yves, Karen, Moshe Weitzman, David Strauss, floriant, chx, David Rothstein: initial field API patch. More work to be done, but ... oh my! 2009-02-03 17:30:13 +00:00
Angie Byron 250e486bb0 #363687 by chx: Simplify DBTNG codeflow. 2009-01-25 12:19:32 +00:00
Dries Buytaert d20e457121 - Patch #201122 by c960657, Moshe Weitzman: never write anonymous sessions, unless something has been written to . This is an important performance improvements -- as long as you use modules that use carefully. It might be good to report some analytics about this in the performance settings page so administrators can see if there is a 'broken' module. 2009-01-19 10:46:52 +00:00
Dries Buytaert ea39388e48 - Patch #351805 by chx: worked around endless loops in tests. 2009-01-06 12:44:20 +00:00
Dries Buytaert cce322378c - Patch #353618 by sun: drupalLogin does not update passed-in user object -- improved documentation. 2009-01-06 11:04:59 +00:00
Dries Buytaert 92a8adea65 - Patch #352470 by scor: fixed typos and grammar in comments. 2008-12-30 16:43:20 +00:00
Dries Buytaert 0c63d9e24f - Patch #349504 by keith.smith: clean up sentence spacing in code comments. 2008-12-20 18:24:41 +00:00
Angie Byron a7d66871bd #283246 by Damien Tournoud, Dave Reid, drewish, boombatower: Store original user when prior to running tests. 2008-12-18 00:42:55 +00:00
Dries Buytaert 0f99a1fb2d - Patch #346529 by Dave Reid: fixed bug in assertFieldByXPath. 2008-12-13 14:03:21 +00:00
Dries Buytaert 01ed110a6b - Patch #345838 by Dave Reid: remove user creation from drupalLogin(). drupalLogin() should only do one thing, and do it well. :) 2008-12-11 20:35:37 +00:00
Dries Buytaert 60524be44b - Patch #345632 by boombatower: corrected assertTitle logic and added assertNoTitle for completeness. 2008-12-11 20:11:40 +00:00
Dries Buytaert 6f859fdd8f - Patch #328781 by Damien Tournoud and Dave Reid: fixed simpletest error reporting. 2008-12-09 11:09:26 +00:00
Dries Buytaert 55382d04a7 - Patch #318016 by Dave Reid: step one to standardizing type-hinting. 2008-12-08 21:41:54 +00:00
Angie Byron baa9c7e2b0 #343765 by Dave Reid: Initialize SimpleTest with a value for required site_mail variable. 2008-12-07 07:55:24 +00:00
Dries Buytaert 58b0235a72 - Patch #324313 by catch et al: load multiple nodes and terms at once. 2008-12-05 22:18:46 +00:00
Dries Buytaert cadd9bd54c - Patch #335086 by recidive: rename node, filter and comment module tables to singular for consistency. Oh my. 2008-12-03 16:32:22 +00:00
Dries Buytaert 5c72eb294a - Patch #327269 by c960657: when drupal_page_cache_header() compares the client's If-Modified-Since header to $cache->created, it assumed a certain date format. However, HTTP/1.1 allows several variations of the date format, i.e. the same time may be represented in slightly different ways. If the client sends the date in a different format than the one generated by Drupal, it would never receive a 304 Not Modified response. Also added a good amount of tests for the drupal_page_cache_header() code. 2008-12-03 14:51:53 +00:00
Dries Buytaert 99afbc53a7 - Patch #330582 by Darren Oh, c960657 et al: better API for retrieving HTTP headers and working with HTTP headers in tests. 2008-12-02 20:03:57 +00:00
Angie Byron f3ad4d9568 #340052 by justinrandell: Speed up SimpleTest by 15,000 orders of magnitude by pre-loading the registry. 2008-11-30 07:04:45 +00:00
Dries Buytaert bc719d0c55 - Patch #337820 by Dave Reid, Damien Tournoud, et al: rename menu path 'logout' to 'user/logout'. For real now. 2008-11-29 09:33:51 +00:00
Angie Byron d7f706f291 Reverting #337820 once more, as it causes mysterious test failures. 2008-11-27 07:07:01 +00:00
Dries Buytaert 63e195eb30 - Patch #338239 by Damien Tournoud: clean-up DrupalWebTestCase. 2008-11-26 13:48:50 +00:00
Dries Buytaert c01f85bc37 - Patch #337820 by Dave Reid: rename menu path logout to user/logout. 2008-11-25 13:16:39 +00:00
Angie Byron bd9554952c Reverting #337820 which causes menu tests to fail, unbeknownst to testing bot. Hrm... 2008-11-24 04:22:02 +00:00
Angie Byron 251a761eaa #337820 by Dave Reid: Rename menu path 'logout' to 'user/logout' for consistency. 2008-11-23 21:17:48 +00:00
Dries Buytaert 6a93b9d4c4 - Patch #336043 by c960657: skip calls to curlExec() in curlConnect(). Nice find, c960657\! 2008-11-23 18:12:08 +00:00
Angie Byron 2ea70d6507 #304940 by drewish: Stop SimpleTest from trying to upload non-files. 2008-11-09 03:07:54 +00:00
Dries Buytaert 57d35b7fb1 - Patch #243532 by Damien Tournoud et al: catch notices, warnings and fatal errors during testing. Woop, woop. 2008-11-05 17:06:18 +00:00
Dries Buytaert dc1af5e290 - Patch #321161 by Damien Tournoud: properly flush cache between tests. 2008-11-05 15:54:56 +00:00