Rupert-RR
82d23f8c3b
Transferred data for unit tests from the test functions into data
...
providers.
2013-03-21 21:25:34 +04:00
Rupert-RR
f088486bde
Merge branch 'master' of git://github.com/yiisoft/yii into 2131-add-accept-header-parsing
...
Merge from upstream.
2013-03-21 20:21:47 +04:00
Rupert-RR
2ae1700233
Added unit test file for CHttpRequest for the methods
...
parseAcceptHeader() and compareAcceptTypes().
Modified the regexp in parseAcceptHeader() to accept wildcards in the
path.
Modified the description of compareAcceptTypes() to better reflect the
comparison result (higher preference returns lower value, so that most
preferred is first in the array).
2013-03-21 20:19:56 +04:00
Paul Klimov
783a2ea6f6
"CActiveRecordTest::testCountWithHavingRelational()" has been updated exposing issue #2201
2013-03-21 13:17:53 +02:00
Paul Klimov
71388e1b69
Test method "CActiveRecordTest::testFindBySinglePkBySingleSizeArrayWithMixedKeys()" converted to "CActiveRecordTest::testFindBySinglePkByArrayWithMixedKeys()", checking both single and multy size pk arrays.
2013-03-20 13:20:05 +02:00
Paul Klimov
d8037f7b6d
Test method "CActiveRecordTest::testFindBySinglePkBySingleSizeArrayWithMixedKeys()" has been added to expose issue #2216 .
2013-03-20 13:09:10 +02:00
resurtm
28a3c79185
Fixes #2121 : CMssqlSchema::resetSequence() incorrectly resets sequence.
2013-03-17 11:00:19 +06:00
resurtm
c7cdc812a3
Fixes #2087 : CLocale: getLocaleDisplayName() was only returning the language display name, not the full locale display name.
2013-03-15 22:28:25 +06:00
CeBe
c70936afd2
Merge pull request #2160 branch '2159-fix-delete-with-join' of https://github.com/serebrov/yii into serebrov-2159-fix-delete-with-join
...
* '2159-fix-delete-with-join' of https://github.com/serebrov/yii :
Fixes #2159 - problem with command builder for delete with joins.
Conflicts:
CHANGELOG
2013-03-12 16:53:54 +01:00
Alexander Makarov
1e3a178d76
Merge pull request #2186 from resurtm/fixes-1955
...
Fixes #1955 : Some validators used to cause warnings or errors in case non-scalar array typed values being checked.
2013-03-10 05:42:20 -07:00
resurtm
f635a4c8a4
Error messages related to array value case changed.
2013-03-10 18:20:54 +06:00
resurtm
c6a0623bbf
Indentation consistency fixes.
2013-03-09 22:16:34 +06:00
resurtm
ed635aa9e2
Some validators used to cause warnings or errors in case non-scalar array typed values being checked.
2013-03-09 22:12:18 +06:00
Paul Klimov
acaac347a1
Merge branch 'master' of git://github.com/yiisoft/yii into 1724-Allow-script-html-options
2013-03-06 13:41:48 +02:00
Paul Klimov
4299c0d309
"CClientScript" has been updated allowing to register scripts with HTML options.
2013-03-06 13:25:31 +02:00
Paul Klimov
aa7fffe1b1
Unit test for "CClientScript" rendering scripts has been added.
2013-03-06 12:50:49 +02:00
Paul Klimov
a046e44e95
"CClientScriptTest" has been updated allowing to register script files with html options.
2013-03-06 12:41:20 +02:00
Paul Klimov
3c916f285c
Unit tests for "CClientScriptTest::registerScript()" and "CClientScriptTest::registerScriptFile()" have been added.
2013-03-06 12:05:58 +02:00
Paul Klimov
d1ebfa41ab
Code intending at "CHtmlTest" has been changed from spaces to tabs.
2013-03-06 11:35:16 +02:00
Paul Klimov
1210dcbe42
"CHtml::script()" and "CHtml::scriptFile()" have been updated allowing to compose HTML options.
2013-03-06 11:32:13 +02:00
Paul Klimov
4a17cf0e4a
"CActiveFinder::count()" has been updated allowing correct records count with having.
2013-03-04 15:45:59 +02:00
Paul Klimov
a2fead97a7
Test for count with having have been added to "CActiveRecordTest" test case.
2013-03-04 14:35:06 +02:00
Boris Serebrov
4fdf2d0044
Fixes #2159 - problem with command builder for delete with joins.
2013-03-01 22:19:46 +02:00
resurtm
e77143105d
CFormatter::formatNtext() method can replace newlines with <p></p> not just with <br /> as it was before.
2013-01-25 13:47:48 +06:00
antoncpu
09bbf001fd
fixed init in case of disabled pagination
2013-01-02 22:03:35 +02:00
resurtm
3f3f520917
Added NULL check into CHtml::value(), $attribute.
2012-12-23 14:12:49 +06:00
resurtm
694dcb885c
Second parameter of the CHtml::value() doesn't support functions created by "create_function" anymore.
2012-12-21 21:19:26 +06:00
resurtm
fd5672978e
Fixes CHtml::value() bug.
2012-12-21 17:04:09 +06:00
resurtm
80ba017193
Additional unit test for dot syntax access.
2012-12-19 20:57:47 +06:00
resurtm
a6d98dc7ed
#1861 : PHP 5.2 testing issues and forgot about create_function.
2012-12-19 20:12:42 +06:00
resurtm
321e812e24
Fixes #1861 . CHtml::value() didn't worked properly with array-typed $model parameter and integer-typed $attribute parameter.
2012-12-19 19:37:39 +06:00
Carsten Brandt
c5907fc413
Created unit test for CWebUser
...
issue #1792
2012-12-12 17:38:48 +01:00
Carsten Brandt
23e32a79c6
added test for #1191
...
can not reproduce the issue
2012-12-12 16:39:18 +01:00
Alexander Makarov
97ae6b6bbd
Merge branch 'innsand-CFileHelper_recursive_copy_fix'
2012-12-01 15:38:30 +04:00
Alexander Makarov
4545516540
fixed formatting, added missing docs
2012-12-01 15:27:32 +04:00
Alexander Makarov
e6892c6920
fix for Windows tests
2012-12-01 15:16:21 +04:00
Alexander Makarov
b2f152cb69
backwards compatibility
2012-12-01 14:47:19 +04:00
Alexander Makarov
f088b758a2
Merge branch 'ctypevalidator' of git://github.com/antonCPU/yii into antonCPU-ctypevalidator
2012-12-01 14:34:01 +04:00
Carsten Brandt
1779443632
Merged pull request #1772 branch '162-behavior'
...
* 162-behavior:
doc comments
refactored CBehavior
CBehaviorTest structure
added assertations about CBehavior::$enabled
Fix issue #162 , eventhandlers attached twice
Conflicts:
CHANGELOG
2012-11-30 17:14:10 +01:00
Carsten Brandt
370e347138
doc comments
2012-11-30 17:01:22 +01:00
Carsten Brandt
4b530e1f16
CBehaviorTest structure
2012-11-30 15:43:14 +01:00
Carsten Brandt
f0bb2a51a7
Fixed unit test, resetting language in tearDown
2012-11-30 15:16:54 +01:00
antoncpu
92c0aeaea5
fixed typo
2012-11-29 22:57:59 +02:00
antoncpu
bb61c72a51
refactored to avoid inappropriate arguments passed to trim() or CDateTimeParser::parse()
2012-11-29 22:46:55 +02:00
Carsten Brandt
93a9009d93
added assertations about CBehavior::$enabled
...
issue #162
2012-11-28 21:57:59 +01:00
Carsten Brandt
48cc7c5e44
Fix issue #162 , eventhandlers attached twice
...
when enabling a behavior after attach, eventhandlers got attached twice.
issue #162
2012-11-28 21:52:14 +01:00
Alexander Makarov
9f45475479
Merge remote-tracking branch 'origin/master'
2012-11-29 00:05:09 +04:00
Alexander Makarov
f620bf7703
more tests for CTypeValidator
2012-11-29 00:04:53 +04:00
Carsten Brandt
a08a24f3b2
Merge pull request #1771 from cebe/1549-sizeformat
...
Fixes issue #1549 corrected CFormatter::sizeFormat
2012-11-28 11:55:47 -08:00
Alexander Makarov
fdce3eda30
Addition to #217 : handling of objects and boolean values
2012-11-28 22:24:24 +04:00