Carsten Brandt
949dda5fdb
tagged tests with @group tags
2013-09-14 12:49:47 +02:00
Carsten Brandt
d3740932a4
fixed broken cubrid tests
...
fixed expected quoting
2013-09-14 11:12:48 +02:00
Qiang Xue
6c6cb3cd90
Fixes #853 : Added composite FK support for SQLite.
2013-09-13 20:41:40 -04:00
Qiang Xue
02fd82c42a
Fixed build break.
2013-09-13 20:19:50 -04:00
Qiang Xue
6fe152da7e
Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords.
2013-09-13 20:13:46 -04:00
Qiang Xue
91b6e2945a
Removed the support for calling anonymous function returned as a property value.
2013-09-12 20:10:06 -04:00
Carsten Brandt
164c70eebc
Add support for composite FK to cubrid
2013-09-06 15:32:33 +02:00
Carsten Brandt
8abeed03bd
added SchemaTest
2013-09-06 15:03:57 +02:00
Carsten Brandt
544e412af8
unit test cleanup
2013-09-06 15:03:25 +02:00
Carsten Brandt
e996f3dfd5
Workaround for broken PDO::quote() in CUBRID 9.1.0
...
http://jira.cubrid.org/browse/APIS-658
2013-09-06 13:53:33 +02:00
Carsten Brandt
58f8293b84
custom bindValue test for cubrid
2013-09-06 13:24:36 +02:00
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.
2013-09-06 13:21:35 +02:00
Carsten Brandt
d6ff097cbb
avoid hanging test on bindValue problems (close db connection in tearDown)
2013-09-06 10:28:10 +02:00
Carsten Brandt
825258efb8
cubrid unit tests WIP
2013-09-05 18:23:25 +02:00
Carsten Brandt
15a3ec2764
added unit tests and call to $behavior->hasMethod in Component
2013-08-31 23:27:52 +02:00
Carsten Brandt
b5a6dac3ae
renamed test method after implementation rename in FileHelper
2013-08-30 17:03:09 +02:00
Carsten Brandt
0d91021f02
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049 )
add missing return to module template
Update module.php
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set
gii form width adjustment.
Make sure query cloning works as expected.
Fixed test break.
Fixes #828 : refactored QueryBuilder::build()
2013-08-30 16:54:32 +02:00
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.
2013-08-30 16:52:33 +02:00
Qiang Xue
30d6229943
Fixed test break.
2013-08-29 16:53:15 -04:00
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
2013-08-29 16:47:48 -04:00
Carsten Brandt
3b91801a35
cherry picked RedisCache and redis\Connection from redis WIP branch
...
commit in redis branch was:
0cd65e7496
2013-08-27 17:29:38 +02:00
Carsten Brandt
0e2ac86566
added Cache::exists() to check key existance in cache
2013-08-27 17:24:09 +02:00
Alexander Makarov
b968402ebd
more tests for FileHelper
2013-08-26 03:39:11 +04:00
Alexander Makarov
cc5618c034
More tests for ArrayHelper and Inflector
2013-08-26 03:21:19 +04:00
Qiang Xue
4a02e0b539
finished form generator.
2013-08-18 08:52:30 -04:00
Qiang Xue
65352e500f
refactored ActiveField.
2013-08-14 21:17:13 -04:00
Alexander Makarov
0596fa82fd
code style fixes
2013-08-13 02:43:47 +04:00
Qiang Xue
24a66b383d
test break fix.
2013-08-09 09:50:19 -04:00
Qiang Xue
6d66a98acb
test break fix.
2013-08-09 09:32:28 -04:00
Qiang Xue
7aeb2fcf4f
Fixed test breaks.
2013-08-09 09:21:41 -04:00
Qiang Xue
27238f8d03
refactored ActiveDataProvider.
2013-08-03 17:02:36 -04:00
Qiang Xue
60ba20491e
Added support for passing parameters to the format method.
2013-08-03 16:51:57 -04:00
Qiang Xue
b31b02a55d
renamed IDataProvider::getItems() to getModels()
2013-08-03 08:20:30 -04:00
Qiang Xue
b1c67b86a9
Fixed test break.
2013-07-28 17:27:16 -04:00
Qiang Xue
e433c98ed4
Fixes #599
2013-07-23 22:01:16 -04:00
Qiang Xue
915a3cd779
Fixes #653 : use boolean type to indicate boolean attributes.
2013-07-23 20:45:14 -04:00
Qiang Xue
6f4e2c9b3c
Fixes #647
2013-07-21 19:10:29 -04:00
Qiang Xue
dacee193fa
test break fix.
2013-07-21 13:23:00 -04:00
Qiang Xue
7eb33d65c6
Refactored Sort.
2013-07-21 13:20:47 -04:00
Qiang Xue
9aa7b26184
Added LinkSorter.
2013-07-20 07:28:22 -04:00
Qiang Xue
ac8801bc63
Added SortTest
2013-07-19 20:40:51 -04:00
Qiang Xue
e15938474c
Refactored console commands.
2013-07-18 18:21:21 -04:00
Qiang Xue
a6cd7b72bb
refactored helper organization.
2013-07-17 20:45:36 -04:00
Qiang Xue
7ebbc46a5b
Fixed wrong class uses.
2013-07-17 20:14:43 -04:00
Qiang Xue
0778937097
disabled asset test temporarily.
2013-07-16 21:43:35 -04:00
Qiang Xue
0affeb1f84
Fixed test break.
2013-07-09 09:37:29 -04:00
Qiang Xue
aa31b56aaf
Finished unit test of ActiveDataProvider.
2013-07-09 09:34:45 -04:00
Qiang Xue
53a1f9608a
Added unit test for ActiveDataProvider.
2013-07-09 08:47:19 -04:00
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
2013-07-09 08:01:10 -04:00
Qiang Xue
aa568aacb5
Added support for using callables as "ActiveQuery::indexBy".
2013-07-08 21:25:00 -04:00