Commit Graph

153 Commits

Author SHA1 Message Date
Carsten Brandt
00dc4add94 fixes issue #1330
default value null for string column in SQLite
2012-09-04 03:12:18 +02:00
Carsten Brandt
8502333cad added unit test for issue #1330
unit test is currently failing
2012-09-04 02:44:22 +02:00
Carsten Brandt
5b8a973189 manual merge of #962 including unit tests 2012-09-03 22:14:03 +02:00
Carsten Brandt
33ebfd63e8 fixes #1326, added unit tests for #741 2012-09-03 21:33:48 +02:00
Carsten Brandt
57b34354c6 added unit test for CPhpMessageSource to test enh #117 2012-09-03 21:09:33 +02:00
Carsten Brandt
be1fbf1982 Merge branch 'master' into 93-relational-beforefind-criteria-modification
* master: (180 commits)
  Updated changelog with last-modified date change.
  Changed the CHttpCacheFilter to use RFC 1123 complaint dates when returning the last-modified header.
  tabs...
  gii: better default validation "length" rule for fixed-point / floating-point field type (MYSQL)
  fixes #1319
  updated comment in CHttpSession
  Update framework/YiiBase.php
  Update docs/guide/database.arr.txt
  New unit test for enhanced $gCProbability s/getters in CHttpSession #486. Fixed those methods to process corner cases properly. Initial $gCProbability is now double(1.0), was > 1.0 before.
  Bug #112: MSSQL: database abstraction layer now uses native transaction support of the SQLSRV driver.
  Forgot about spaces in comments creating procedure call. [ci skip]
  Better comments testing method name.
  Forgot about local MSSQL database settings.
  MSSQL unit testing SQL file reformatted and decorated. MSSQL testing class improved. Added unit tests for column comments retrieving.
  Removed old message.
  Update docs/guide/topics.i18n.txt
  Update docs/guide/topics.i18n.txt
  Requirements checker: russian (ru_RU) messages.
  Minor fixes and refinements to the MSSQL unit tests.
  better fix for issues #124
  ...

Conflicts:
	UPGRADE
2012-09-03 19:21:10 +02:00
Carsten Brandt
f63fa89a3d added unit tests for beforeFind() and afterFind() on empty result
when a query does not return results beforeFind() is called for all
eager relations even when main query did not return a result.
This is a behavior change, things are all consistent now.
afterFind() should of course never get called then.
2012-09-03 18:24:30 +02:00
Carsten Brandt
ea95350a97 Merge pull request #1309 from tom--/486-unit-test
#486 unit test
2012-08-31 08:05:18 -07:00
tom--
8149bd05b0 Merge branch 'master' of git://github.com/yiisoft/yii into 486-unit-test 2012-08-29 16:08:15 -04:00
tom--
d14469c2f5 New unit test for enhanced $gCProbability s/getters in CHttpSession #486. Fixed those methods to process corner cases properly. Initial $gCProbability is now double(1.0), was > 1.0 before. 2012-08-29 16:07:29 -04:00
resurtm
5d29a4aaf8 Merge branch 'master' of git://github.com/yiisoft/yii into 112-sqlsrv-transactions 2012-08-29 23:55:04 +06:00
resurtm
62d0119cce Bug #112: MSSQL: database abstraction layer now uses native transaction support of the SQLSRV driver. 2012-08-29 23:52:27 +06:00
resurtm
3ff8b4f404 Forgot about spaces in comments creating procedure call. [ci skip] 2012-08-29 23:09:05 +06:00
resurtm
a34eec579d Better comments testing method name. 2012-08-29 23:04:44 +06:00
resurtm
138b61e05a Forgot about local MSSQL database settings. 2012-08-29 23:04:02 +06:00
resurtm
289444a96d MSSQL unit testing SQL file reformatted and decorated. MSSQL testing class improved. Added unit tests for column comments retrieving. 2012-08-29 23:02:03 +06:00
resurtm
3ed64c2fce Minor fixes and refinements to the MSSQL unit tests. 2012-08-29 18:05:08 +06:00
resurtm
550019f5e2 Merge branch 'master' of git://github.com/yiisoft/yii into 1289-mssql-comments
Conflicts:
	CHANGELOG
2012-08-29 17:55:43 +06:00
Carsten Brandt
d77234b1e7 Merge branch 'master' of https://github.com/yiisoft/yii into issue-124
* 'master' of https://github.com/yiisoft/yii: (651 commits)
  Updated guide Gii Model Generator page screenshot.
  adjusted CHANGELOG
  Requirements checking slightly improved.
  Enhanced CHANGELOG description
  Requirements checker: added support of the Oracle database (pdo_oci extension)
  MSSQL driver types refinements.
  Requirements checker: added support of the MSSQL (pdo_dblib and pdo_sqlsrv extensions).
  Language fixes.
  Preparations for merging fixes of the #556 into 1.1.13 codebase.
  [docs][blog] 'yiic' to 'Gii'
  ajaxUpdate is never false in jquery.yiilistview.js
  Added /docs/guide/fr/caching.overview.twt
  Added /docs/guide/fr/basics.controller.txt
  Added /docs/guide/fr/basics.mvc.txt
  Update framework/web/filters/CHttpCacheFilter.php
  Update docs/guide/fr/toc.txt
  [NL] Dutch messages translation updated
  added history.js license
  prepare for next release.
  prepare for 1.1.12 release.
  ...

Conflicts:
	CHANGELOG
2012-08-28 21:21:27 +02:00
resurtm
02e245ee25 MSSQL tests: added support of the SQLSRV, tests actualized to the MSSQL Server 2008 R2 and latest framework version. 2012-08-26 11:26:21 +06:00
resurtm
81cd764447 Merge branch 'master' of git://github.com/yiisoft/yii into 556-mysql-column-comment 2012-08-25 10:02:11 +06:00
Suralc
48e10dc00d Removed class imports. 2012-08-15 22:01:55 +02:00
Suralc
767c4a92f0 Whitespace fix. 2012-08-15 13:42:40 +02:00
Suralc
dd56a770d9 Restore original cookies after test. 2012-08-15 13:33:09 +02:00
Suralc
2ddbca8d2b Added tests for CHttpCookie and CCookieCollection.
Also modified bootstrap.php to work with phpUnits @runInSeperateProcess annotation.
2012-08-14 14:22:06 +02:00
DaSourcerer
642de21873 Replaced assertEquals(null, ...) with assertNull(...) 2012-08-13 18:52:34 +02:00
DaSourcerer
2f60a31574 Replaced assertEquals(false, ...) with assertFalse(...) 2012-08-13 18:47:44 +02:00
DaSourcerer
2798c74c69 Replaced assertEquals(true, ...) with assertTrue(...) 2012-08-13 18:42:40 +02:00
mdomba (mdwork)
876c5f581e CTimestampBehavior test - alow 2 seconds difference in assertEqual() 2012-08-09 10:01:35 +02:00
Alexander Makarov
52b0ffc4ef additional test 2012-08-08 01:50:23 +04:00
Alexander Makarov
d140b9217c CJavaScript::encode tests for various widgets 2012-08-08 01:37:12 +04:00
Alexander Makarov
14a33f0153 #1109: Fixed "js:" encoding BC-break in CHtml::ajax() and related methods introduced in 1.1.11, added tests 2012-08-06 22:57:45 +04:00
resurtm
f81378d2a2 Fixed failing unit tests. 2012-08-03 21:12:51 +06:00
resurtm
351ca14c28 Unit tests for CDbColumnSchema::$comment. 2012-08-03 20:56:28 +06:00
Maurizio Domba
d92c20f8d7 Merge pull request #1115 from resurtm/1066-memcache
Fixes #1066: CMemCache: expiration time higher than 60*60*24*30 (31536000) seconds led the value to expire right away after saving
2012-08-03 03:42:23 -07:00
resurtm
9c2d4f0bca Removed changelog line and fixed other similar mistakes in other places of the CTimestampBehaviorTest. 2012-08-03 16:34:08 +06:00
resurtm
7c8d125d16 Fixes #1085. 2012-08-03 16:14:12 +06:00
resurtm
3984ea4423 Fixes bug 1066. 2012-08-03 15:35:21 +06:00
Carsten Brandt
805b3653e6 unit tests for criteria modification in beforeFind
some are currently failing due to issue #93
2012-08-01 21:38:43 +02:00
Alexander Kochetov
33cabc62c8 #1070 fix 2012-07-30 21:52:28 +04:00
Qiang Xue
91495a3d1a renamed CValidator::$on to be CValidator::$except. 2012-07-28 23:52:22 -04:00
Suralc
d25601d56a Solution for #1045 2012-07-28 14:27:01 +02:00
Suralc
4e75498e59 Added test for bug #1045. 2012-07-28 14:12:59 +02:00
Alexander Kochetov
fca49df5b6 Fix the beforeFind() behavior of the framework 2012-07-27 17:50:34 +04:00
Alexander Makarov
6705e15f70 Merge pull request #1013 from resurtm/fix-943
Fixes #943: CDateTimeParser is now able to parse short textual representation of month, e.g. Jan, Jun, Aug.
2012-07-24 02:57:29 -07:00
resurtm
79825072c7 Merge branch 'master' of git://github.com/yiisoft/yii into ts-behavior-tests 2012-07-24 10:06:50 +06:00
resurtm
1c2488d47a Added a little bit of randomness into CDateTimeParser tests. 2012-07-24 00:11:20 +06:00
resurtm
3ba959b4c2 CDateTimeParser is now able to parse short textual representation of month, e.g. Jan, Jun, Aug. 2012-07-23 23:52:08 +06:00
DaSourcerer
798a1b9177 Resetting table names to defaults ... 2012-07-16 23:38:01 +02:00
DaSourcerer
c4b9df117d Use the actual schema-pgsql.sql for CDbAuthManagerTest 2012-07-16 23:31:59 +02:00