Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching and Tests #25

Open
wants to merge 80 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
e8c7537
Adding exception for bad column names like "@order:desc"
p-blomberg May 7, 2012
7a18add
@order should accept both :DESC and :desc
p-blomberg Jun 12, 2012
aa5d65b
Add memcache of primary_keys
torandi Feb 13, 2013
4fa6122
Cache connection table too
torandi Feb 13, 2013
de905a8
Take a memcache instance instead of conn info
torandi Feb 13, 2013
d2250d3
Cache columns too
torandi Feb 13, 2013
e933a7e
Cache column names too
torandi Feb 13, 2013
de7d85e
Cache from_field per requests
torandi Feb 13, 2013
f0b4fb7
Fix spelling error in comment
torandi Feb 13, 2013
1a3ab16
Query caching
torandi Feb 13, 2013
cac5913
Empty cache on create too
torandi Feb 15, 2013
ec67e49
Fix cache bug
torandi Feb 15, 2013
930cac9
Cache available tables
torandi Feb 15, 2013
e005da1
Add support for custom joins
torandi Feb 15, 2013
43e79d5
cosmetic: remove trailing whitespace
ext Feb 15, 2013
b26d905
make inclusive
ext Feb 15, 2013
aa25c73
kortare alias
ext Feb 15, 2013
05e59f1
Don't allow setting of non-column attributes
torandi Feb 15, 2013
69a8586
cosmetic: remove trailing whitespace
ext Feb 15, 2013
a768e79
Return clone from cache
torandi Feb 15, 2013
c26c389
Allow alias key "id" in data array to __construct
torandi Feb 18, 2013
2e7163e
Merge remote-tracking branch 'edruid/master'
ext Mar 3, 2013
818b0e4
I accidentally a whole T_PRIVATE
ext Mar 3, 2013
c705445
Fix from_field cache.
ext Mar 8, 2013
f113721
Replace static:: with BasicObject:: for clarity.
ext Mar 8, 2013
5114945
Since cache is global there is no need for local/global revision.
ext Mar 8, 2013
c935148
Merge branch 'query_cache_collisions'
ext Mar 8, 2013
15dfdbd
Add Readme with dependency list for testing
torandi Mar 10, 2013
f7eefcf
Add structure for doing tests
torandi Mar 10, 2013
4cd7d33
Add more structure for tests and first test
torandi Mar 10, 2013
76f360c
Cache NULL results too
torandi Mar 11, 2013
7b5951d
Actually return clone array of objects
torandi Mar 11, 2013
902ddd6
Add script for easy running of tests
torandi Mar 11, 2013
f2636a6
Fix problems with multiple test suites
torandi Mar 11, 2013
c56c241
Correct colors arg
torandi Mar 11, 2013
f1aa86f
Correctly handle multiple tests
torandi Mar 11, 2013
ac2c5eb
Create database each class setup
torandi Mar 11, 2013
60f7723
Drop database on close
torandi Mar 11, 2013
8545617
Add from_id test
torandi Mar 11, 2013
5de8120
Add Blueprint-class for creating model instances
torandi Mar 11, 2013
117ceaf
Use phpunit.xml instead of shellscript
torandi Mar 11, 2013
5eb425d
Remove debug stuff
torandi Mar 11, 2013
c7db86f
Don't drop database when done
torandi Mar 11, 2013
8c128a8
Run tests both with and without cache
torandi Mar 11, 2013
904dd04
Add more tests
torandi Mar 11, 2013
c618518
Fix isset($bo->id) returning false
torandi Mar 11, 2013
e7aabe3
Add helper for comparing result arrays
torandi Mar 11, 2013
9fc5ba3
Add more Basic tests
torandi Mar 11, 2013
3f6959e
Add vim swapfiles to gitignore
torandi Mar 11, 2013
5d399c2
Add more tests
torandi Mar 11, 2013
53fcfc0
Handle default_order same as @order
torandi Mar 11, 2013
192def6
Add test for relation options
torandi Mar 11, 2013
ceb29cb
Handle setting of other BO instance correctly
torandi Mar 11, 2013
bd3128e
More tests
torandi Mar 11, 2013
da91882
Add structure for cache tests
torandi Mar 11, 2013
91a3dd1
Add test for commit invalidating cache
torandi Mar 11, 2013
eb0344b
Change order of arguments to assertEquals
torandi Mar 11, 2013
e233223
Add database wrapper with query counter
torandi Mar 11, 2013
831dd15
Add query reduction test
torandi Mar 11, 2013
3426fde
Dont stop on failure
torandi Mar 11, 2013
82c4786
Add more query reduction tests
torandi Mar 11, 2013
b2ce188
Merge remote-tracking branch 'nitroxy/master'
torandi Mar 11, 2013
7d1f9c3
Implement more tests
torandi Mar 11, 2013
4e3a3a6
Fail if settings.php don't exists
torandi Mar 11, 2013
69ebef3
Enable strict
torandi Mar 11, 2013
d5db0c8
Don't pass columns to handle_order by ref
torandi Mar 11, 2013
22c6aff
Clear structure cache variables when flushing cache
torandi Mar 11, 2013
f11ff96
min,max shortcuts for validate_length_of
torandi Mar 21, 2013
48be1d9
Allow optional selection arguments to join __call
torandi Mar 21, 2013
0203ce4
Add clarifying comment
torandi Mar 22, 2013
09720f8
Undo exception for bad column names
p-blomberg Jun 4, 2013
9294570
Merge remote-tracking branch 'nitroxy/master' into memcache
p-blomberg Jun 4, 2013
58c6d85
clear_structure_cache fix: don't flush everything
p-blomberg Jun 5, 2013
d699016
Fix comment
p-blomberg Jun 5, 2013
e94ac5d
Text about tests in readme
torandi Jun 5, 2013
32fa594
Merge remote-tracking branch 'p-blomberg/memcache'
torandi Jun 5, 2013
1d564d2
Add validates_uniqueness_of
torandi Jul 14, 2013
5f0ccf5
validate_uniqueness_of should ignore self
torandi Jul 14, 2013
e095007
Add some structure cache tests
torandi Sep 8, 2013
919c044
Add prefix to structure cache
torandi Sep 8, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tests/settings.php
*.swp
Loading