Carsten Brandt
f3504f426d
fix test fail when not on travis
11 years ago
Carsten Brandt
9542fd24d4
try to fix: memcache testExpire fails randomly on travis
...
issue #877
11 years ago
Carsten Brandt
b42f4b4ea0
fixed broken test
11 years ago
Carsten Brandt
3e75c11721
cleanup and reorder methods in redis ar + added link+unlink
11 years ago
Carsten Brandt
d2c7ef76b3
more tests
11 years ago
Carsten Brandt
142ea1f98f
relation support and unit tests
11 years ago
Carsten Brandt
7850c8d238
made indexBy callable like db AR
11 years ago
Carsten Brandt
3623fc19dc
refactored redis AR pk and findByPk
11 years ago
Carsten Brandt
130b63461c
redis WIP
...
- relation support
- completed and refactored lua script builder
11 years ago
Carsten Brandt
e62e84873c
more API methods for redis active query: sum, avg, max, min ...
11 years ago
Carsten Brandt
7817815dd1
added more complex queries via Lua script EVAL to redis
...
- http://redis.io/commands/eval
- http://www.lua.org/
11 years ago
Qiang Xue
463ff43b4f
test break fix.
11 years ago
Carsten Brandt
df6176edb6
added unit test for Model::load()
11 years ago
Carsten Brandt
128ee07b78
100% test coverage for CacheSession
11 years ago
Carsten Brandt
bd2404f1c6
added simple unit test for CacheSession
11 years ago
Carsten Brandt
72889128fc
fixed offset and limit in redis AR
11 years ago
Carsten Brandt
563171eba4
moved redis out of yii\db namespace
11 years ago
Carsten Brandt
ef13a11f66
moved getPDOType() back to Command to avoid dependency on Schema
...
fixes #854
11 years ago
Carsten Brandt
949dda5fdb
tagged tests with @group tags
11 years ago
Carsten Brandt
d3740932a4
fixed broken cubrid tests
...
fixed expected quoting
11 years ago
Qiang Xue
6c6cb3cd90
Fixes #853 : Added composite FK support for SQLite.
11 years ago
Qiang Xue
02fd82c42a
Fixed build break.
11 years ago
Qiang Xue
6fe152da7e
Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords.
11 years ago
Qiang Xue
91b6e2945a
Removed the support for calling anonymous function returned as a property value.
11 years ago
Carsten Brandt
164c70eebc
Add support for composite FK to cubrid
11 years ago
Carsten Brandt
8abeed03bd
added SchemaTest
11 years ago
Carsten Brandt
544e412af8
unit test cleanup
11 years ago
Carsten Brandt
e996f3dfd5
Workaround for broken PDO::quote() in CUBRID 9.1.0
...
http://jira.cubrid.org/browse/APIS-658
11 years ago
Carsten Brandt
58f8293b84
custom bindValue test for cubrid
11 years ago
Carsten Brandt
791f9d3f4e
better use int for boolean representation
...
bit has special syntax for storing and retreiving so we'd need a
converter for that.
Storing 1 bit will result in one byte left padded on the disc so the
result of a query for boolean 0 will be 0x00 and for boolean 1 will be
0x80.
11 years ago
Carsten Brandt
d6ff097cbb
avoid hanging test on bindValue problems (close db connection in tearDown)
11 years ago
Carsten Brandt
825258efb8
cubrid unit tests WIP
11 years ago
Carsten Brandt
15a3ec2764
added unit tests and call to $behavior->hasMethod in Component
11 years ago
Carsten Brandt
b5a6dac3ae
renamed test method after implementation rename in FileHelper
11 years ago
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
11 years ago
Qiang Xue
30d6229943
Fixed test break.
11 years ago
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
11 years ago
Carsten Brandt
3b91801a35
cherry picked RedisCache and redis\Connection from redis WIP branch
...
commit in redis branch was:
0cd65e7496
11 years ago
Carsten Brandt
0e2ac86566
added Cache::exists() to check key existance in cache
11 years ago
Carsten Brandt
0cd65e7496
commented failing tests
11 years ago
Carsten Brandt
e3df19d984
Redis AR WIP
...
- introduced RecordSchema class for schema definition
11 years ago
Alexander Makarov
b968402ebd
more tests for FileHelper
11 years ago
Alexander Makarov
cc5618c034
More tests for ArrayHelper and Inflector
11 years ago
Suralc
06682d0ba9
coverage improvements
11 years ago
Suralc
c189e5ad3f
UniqueValidator test.
11 years ago
Suralc
24e2f88503
Renamed validator test models to be less specific.
11 years ago
Suralc
7d5bb082ac
FilterValidator test
11 years ago
Suralc
3b07e4affc
Added FileValidator tests.
11 years ago
Suralc
3469b2cb60
RangeValidator tests.
11 years ago
Qiang Xue
4a02e0b539
finished form generator.
11 years ago