Commit graph

3773 commits

Author SHA1 Message Date
José Lorenzo Rodríguez
5c025d0a18 More testing over the MediaView class 2010-10-03 23:30:47 -04:30
José Lorenzo Rodríguez
9daab17374 Improving test case for MediaView class 2010-10-03 23:30:02 -04:30
José Lorenzo Rodríguez
a611fd0e6c Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2010-10-03 19:36:24 -04:30
José Lorenzo Rodríguez
bf22928b6a Improving the CakeResponse::cache() method 2010-10-03 19:27:08 -04:30
José Lorenzo Rodríguez
0ba5023f3a Updating testcase and fixing small bug in last commit 2010-10-03 16:48:07 -04:30
mark_story
3ab77017ae Fixing OpenTest license mentions to use MIT License
Fixing PHP versions 4 and 5 to only be PHP5.
2010-10-03 12:31:21 -04:00
mark_story
b908365f9d Changing the @license tag on test files, as tests can now be MIT like
the rest of CakePHP.
2010-10-03 12:27:27 -04:00
mark_story
6cabfcec5b Removing dead tests from SessionHelper test case. 2010-10-03 12:15:01 -04:00
mark_story
d83c51cde9 Fixing expiration conditions on CSRF tokens. 2010-10-02 18:27:39 -04:00
mark_story
7f7c202f35 Removing old CSRF token validation checks.
Removing failing test because the feature moved.
Adding tests for expired and wrong keys.
2010-10-02 17:16:40 -04:00
mark_story
a10f1478ee Adding support for nonce expiry.
Adding simple time based nonce expiration. This does a simple cleanup on
each request, to remove stale tokens.  Tests added.
2010-10-02 00:20:58 -04:00
mark_story
711e736cd3 Adding very minimal and incomplete implementation of csrf consumption.
Tests added for consuming csrf tokens on each request.
2010-10-01 00:13:34 -04:00
mark_story
dc6b33f80e Making tokens persist across 'requests'.
Removing more serialize/unserialize calls.
2010-09-30 00:26:44 -04:00
mark_story
f5ed91137a Adding csrfCheck related properties.
nonces are now being populated into the session.
2010-09-30 00:18:25 -04:00
mark_story
b088daf045 Adding tests for csrf feature separation.
Removing serialize() calls as they didn't really add anything.
2010-09-30 00:06:38 -04:00
mark_story
72a1c959a1 Adding CakeSession::clear() which is primarily useful when testing, and offers an alternative to using CakeSession::destroy() 2010-09-29 23:01:23 -04:00
mark_story
597058bab5 Reordering tests in AllRouting case.
Changing how output buffers are emptied, so that its only done in cli.
2010-09-29 22:42:01 -04:00
José Lorenzo Rodríguez
cff2864ba5 Fixing testcase 2010-09-29 01:14:44 -04:30
José Lorenzo Rodríguez
9d35ea0cbc Upgrading CodeCoverage repoting fo phpunit 3.5 2010-09-29 01:14:14 -04:30
José Lorenzo Rodríguez
4445c24008 Merge remote branch 'origin/2.0' into 2.0-phpunit-upgrade 2010-09-28 20:56:44 -04:30
José Lorenzo Rodríguez
f2b51d2375 Fixing parse error 2010-09-27 23:41:11 -04:30
José Lorenzo Rodríguez
87d5a791c6 Fixing helper tests 2010-09-27 23:40:57 -04:30
José Lorenzo Rodríguez
c3ccf15546 Replacing the use of removed "sharedFixture" and adding custom "fixtureManager" property to CakeTestCase 2010-09-27 23:37:56 -04:30
mark_story
3a14f780b9 Moving parent call to fix fatal errors caused by registry being empty. 2010-09-28 00:03:23 -04:00
José Lorenzo Rodríguez
0eaf437fe4 Merge remote branch 'origin/2.0' into 2.0-phpunit-upgrade 2010-09-27 23:19:47 -04:30
José Lorenzo Rodríguez
2635733aba Merge branch '2.0' into 2.0-phpunit-upgrade 2010-09-27 22:42:10 -04:30
José Lorenzo Rodríguez
ba168d1a72 Initial steps towards migrating to phpunit 3.5 2010-09-27 22:37:23 -04:30
mark_story
237b66d193 Adding support for httpOnly cookies to CookieComponent. Fixes #1127 2010-09-25 23:24:37 -04:00
mark_story
3395f4221e Adding Inflector::reset(). This makes non-isolated test runs possible. Adding inflector to the libs suite. 2010-09-25 23:04:49 -04:00
mark_story
63d23df77a Merge branch 'setup-teardown' into all-tests 2010-09-25 22:34:20 -04:00
mark_story
0222717e33 Merge branch 'all-tests' of github.com:markstory/cakephp into all-tests 2010-09-25 22:34:10 -04:00
mark_story
54fa2e3742 Uncommenting model group in all tests. 2010-09-25 22:33:23 -04:00
José Lorenzo Rodríguez
27dfe2d521 Adding all_model suite to the all_tests one 2010-09-25 22:00:30 -04:30
mark_story
2b1bc99eb5 Fixing failing tests in auth and scaffold.
Fixing more tests that had stray buffers.
2010-09-25 22:27:31 -04:00
José Lorenzo Rodríguez
18b38f61e0 Fixing CakeTestFixture import feature 2010-09-25 21:53:48 -04:30
mark_story
92b57d81ee Moving common setup and teardown functionality in to CakeTestCase.
Removing repeated setup/teardown logic from test cases.
Switching tests to use setup/teardown instead of startTest/endTest.
2010-09-25 21:36:49 -04:00
mark_story
24dd0af601 Adding debug backup for view test. 2010-09-25 10:50:35 -04:00
mark_story
f60a7fb854 Adding all libs to the all tests. 2010-09-25 10:42:20 -04:00
mark_story
843ada240a Removing AppController from ErrorHandler test as it can make testing harder.
Removing broken buffering from tests that trigger errors / exceptions.
Adding a loadHelper() to the test_app layout so the layout always has the required helper.
2010-09-25 10:41:08 -04:00
mark_story
714d8298c4 Fixing all tasks include.
Removing drop table queries that cause other tests to fail.
2010-09-25 01:25:42 -04:00
mark_story
26057c59c4 Fixing issue in DboSource test case where buffer would eat all the output.
Removing dead tests from TestManager test.
2010-09-25 01:13:01 -04:00
mark_story
cd7bc3ff6b Removing disabling of tests from last commit.
Using assertContains instead of assertPattern as its easier to read.
2010-09-25 00:56:46 -04:00
mark_story
d8b39a3818 Changing startTest and endTest to setup and teardown.
Adding an App::build() to reset paths.
2010-09-25 00:47:32 -04:00
mark_story
8e6277c9d1 Updating schema shell test so it doesn't fail in groups.
Updating suites to use new method.
2010-09-25 00:13:37 -04:00
mark_story
6124eb6f7a Moving All Tasks suite. 2010-09-25 00:13:06 -04:00
mark_story
ca167d5da2 Changing schema test to not alter the table and break other tests. 2010-09-24 23:30:03 -04:00
mark_story
5c94bdd028 Fixing failing tests in group context caused by state being stuck in static objects. 2010-09-24 23:30:02 -04:00
mark_story
3e6b65557b removing old file. 2010-09-24 23:30:02 -04:00
mark_story
4e5ebc5c0f Renaming all bake tasks to all tasks.
Updating all tests.
2010-09-24 23:30:02 -04:00
mark_story
94d738e834 Fixing failing tests and group test situational fails in console tests. Adding console tests to all tests. 2010-09-24 23:30:02 -04:00