phpnut
c8dca3c666
Removing echo statement in router.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5456 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 14:40:34 +00:00
nate
7b4264b68c
Adding header detection to Router, and implementing prototype REST routes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5454 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:50:50 +00:00
nate
5ab89f495f
Refactoring Router and improving route generation efficiency
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5450 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 04:07:06 +00:00
nate
2664ed2ee4
Fixing trailing slash in URL when extension is used (Ticket #2934 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5439 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-17 13:45:20 +00:00
phpnut
d09a59c5df
Adding tests for cake/libs/controller classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5436 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 20:45:29 +00:00
phpnut
c1ef9e5944
Adding test for cake/libs/controller/components/
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5435 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 20:07:38 +00:00
phpnut
4f75a5e89e
Adding tests for cake/libs/cache classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5434 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:52:31 +00:00
phpnut
65f5f00067
Adding tests cases for all classes in cake/libs
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5432 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:26:37 +00:00
nate
467348357e
Changing CacheHelper test case class name
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5431 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:03:04 +00:00
nate
8dd6c78754
Modifying HtmlHelper::style() for use in attribute arrays, adding core helper tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5429 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:33:03 +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
phpnut
9c3dfee2d3
Disabling AuthTest until code is wrote to use temporary tables
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5426 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 06:44:04 +00:00
gwoo
a6782f0b72
updating Auth component and tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5423 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:27:04 +00:00
gwoo
3769fa796d
updating auth, acl and tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5410 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 21:01:31 +00:00
phpnut
1963c3b501
Removing code left from testing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5398 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 02:53:23 +00:00
phpnut
8229587cfe
Adding fix for #2837 , dbo_source looping bug on parsing fields, can't use database function
...
Added test for #2837
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5397 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 02:29:37 +00:00
phpnut
b2805cff95
Skipping EmailTest::testBadSmtpSend() and EmailTest::testSmtpSend() if suite can not connect to smtp
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5396 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 02:03:52 +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
8b104c6502
updating Auth test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5394 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 01:01:16 +00:00
gwoo
25558fbd33
updating Auth test with AuthUser and fixture
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5392 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:49:36 +00:00
gwoo
e0d8449b8a
updating Auth test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5391 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:43:45 +00:00
nate
8976f07acf
Adding fix for 'after' value not being rendered in FormHelper::input() (Ticket #2860 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5388 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 23:30:40 +00:00
chartjes
d8c0c67e2b
Incomplete test for Auth component, committing so gwoo can work on it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5387 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 21:24:21 +00:00
phpnut
aca00e47c8
Fixed Inflector bug #2061
...
Added tests to InflectorTest
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5382 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 07:06:06 +00:00
phpnut
fb0a327a38
Adding fix for #2823 , fixes Element gets different instances of helper than view in PHP4 and PHP5
...
Removed HtmlHelperTest::testRadio(), the HtmlHelper::radio() has been deprecated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5379 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 04:31:45 +00:00
phpnut
3880f9ce13
Refactoring Set::reverse() and Model::set()
...
Set::reverse() will now reverse the object to an array that was created in Set::map();
Added testMapReverse() to Set tests.
Removed code in Model::set() that was no longer needed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5373 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 18:36:49 +00:00
mariano.iglesias
cd09a7c7dd
Adding option to group elements in Set::combine and making Model::generateList use Set::combine. Adding tests for Model::generateList and more tests for Set::combine
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5370 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-01 03:43:05 +00:00
mariano.iglesias
61df674db5
Adding Set::combine to allow mapping of keys and values of an array using paths
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5369 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-30 22:34:47 +00:00
mariano.iglesias
2c7f16d1f1
Adding tests for HABTM saving when parent data comes after HABTM data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5365 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 03:36:54 +00:00
mariano.iglesias
add4f3a961
Adding tests for HABTM saving, including saving HABTM data without any parent data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5364 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 03:27:47 +00:00
mariano.iglesias
36e207fa1f
Adding tests for del and deleteAll in Model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5362 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 19:16:11 +00:00
gwoo
c405d3ad6b
fix Paginator::numbers() seperator: #2685
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5360 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:53:38 +00:00
chartjes
6dc87a01e9
Added explanation to test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5357 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:37:12 +00:00
gwoo
c00238ec3a
adding test for paginator numbers to prove fix for #2825
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5356 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:25:37 +00:00
chartjes
3755a14f54
Added in test to make sure that an SMTP server is running on port 25 on localhost
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5354 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:20:45 +00:00
chartjes
d1f6f2339e
Refactored SMTP send code, cleaned up tests. Test requires local SMTP server that is working
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5353 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:12:48 +00:00
chartjes
15da6d1255
Added code to allow Email compoenent to send email via SMTP, along with test for component
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5351 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 20:29:38 +00:00
phpnut
40a47a5e90
Correcting session errors in EmailTest test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5348 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 04:28:24 +00:00
chartjes
32ac42c055
Added in test for smtp functionality for email component, test not complete
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5347 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-25 21:18:18 +00:00
mariano.iglesias
6adef29257
Adding a couple of tests to ensure proper parsing of GROUP BY queries
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5345 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-25 14:48:20 +00:00
phpnut
9ba943ed6b
Adding Router::reload() to setUp() in tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5344 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 08:40:52 +00:00
phpnut
65cdc377a6
Correcting duplicate class defines in the test cases that was causing tests to fail.
...
Added Router::reload(); to ViewTest::setUp()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5341 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 07:44:39 +00:00
phpnut
90299c0d0e
Removed extra slash in test paths.
...
Removed extra lines in files.
Corrected header in file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5340 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 05:56:36 +00:00
phpnut
b7ba57c8b1
Fixing TreeBehavior so tests will work on php 4.
...
Removing _ _METHOD_ _ from files since it is not valid on php 4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5337 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:16:33 +00:00
phpnut
15c8d5012e
adding CakeTestModel::cacheSources = false;
...
corrected the class that models defined in tree.test.php extend
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5336 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 21:02:46 +00:00
phpnut
ff01b3a031
Adding enhancement and tests from #2159
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5331 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 05:01:39 +00:00
mariano.iglesias
496e97aaec
Fixing issue #2810 , AjaxHelper does not render boolean options properly, and adding tests for it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5325 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:24:13 +00:00
mariano.iglesias
97a10184f3
Fixing issue #2713 , NumberHelper does not handle some currency formatting very well
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:01:11 +00:00
phpnut
dac1bd0913
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00