Commit graph

25 commits

Author SHA1 Message Date
mark_story
0b23ec64ff Modified all remaining tests to use CakeTestCase. Switched all uses() calls to App::import().
Added tests to configure.test to test importing from plugins.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7348 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-21 02:40:58 +00:00
phpnut
9bc1acb2ec Closes #5051, AjaxHelper form function should use mt_rand() instead of rand().
Replaced all rand() with mt_rand() in the core.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7322 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-05 14:31:22 +00:00
gwoo
c004dd68a5 removing empty lines from the end of test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 08:17:02 +00:00
nate
df75a06756 Fixing coding standards violations in core, and adding misc tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
AD7six
f44c755475 Adding doc blocks to everything in the tests dir
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7094 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-02 19:22:55 +00:00
nate
42da5aba81 Moving Cake folder to correct location
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2 deleting cake folder from svn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
the_undefined
268bb42a02 Made HttpSocket::decodeChunkedBody a little more forgiving, fixes #4523
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6752 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 12:42:15 +00:00
the_undefined
9097b25111 Fixed failing HttpSocket tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6751 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 12:38:33 +00:00
phpnut
acc79fe0f3 "Closes #2508, Allow requestAction to use array urls
Fixes #4325, error pages no longer displayed since changeset
Closes #4329, remove am() usage in core"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 21:19:31 +00:00
the_undefined
61882940a4 Reverted test case change
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6467 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-19 04:07:03 +00:00
the_undefined
3120d055f9 Got HttpSocket tests to pass again
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6465 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-19 03:55:12 +00:00
the_undefined
38c705a06b Fixed some issue with initializing the HttpSocket in a certain way
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6403 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 23:17:55 +00:00
gwoo
d45d7a8faf updating HttpSocket with auth, closes #3838
removing type casting, fixes #3827
adding socket.group to tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6334 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 03:50:19 +00:00
phpnut
6e1f2fe457 Fixes #3817, Some non-executable files in source tree have executable permissions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6321 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-04 18:05:55 +00:00
phpnut
cb53dc61b0 "Closes #2897, Built-in file validation.
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
the_undefined
effc9d4029 Added initial cookie jar support to HttpSocket
Added test coverage for it
Fixed bug in HttpSocket::buildCookies()
Fixed 'Connection: close' not closing the connection bug
Fixed some issues with HTTPS connections

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6031 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 17:19:20 +00:00
the_undefined
0eed95dda2 Added $mode parameter to HttpSocket::buildHeader
Implemented an initial not yet standards conform cookie parse / build function
Added support for a $chars parameter in token escaping
Modified HttpSocket::parseHeader()s default behavior for duplicate fields

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6022 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 20:57:42 +00:00
the_undefined
cc3614804f Fixed some https / magic port recognition issues with HttpSocket::url
Added some more tests for it

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6021 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 18:55:50 +00:00
the_undefined
922ca3b7cb Implemented a HttpSocket::url function
Fixed some problems with HttpSocket::request 
Greatly improved test coverage on HttpSocket::request
Added test for HttpSocket::url

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6020 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-18 16:51:11 +00:00
phpnut
1df4249d54 Adding fix for #2882, Sanitize::escape() fails for numbers.
Added test for #2882.
Corrected header files in tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5428 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:02:55 +00:00
gwoo
16332140bf updating most tests with fixes to coding standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5395 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 01:17:57 +00:00
gwoo
8ecc250521 fixing bad tests in socket and some working in error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:23:38 +00:00
phpnut
63b2208e76 Removing inline comments in test file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5131 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 06:27:09 +00:00
nate
266db033fc Updating branch with Felix's latest HttpSocket work
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5111 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 19:59:59 +00:00