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
1cdaa63218
Merge pull request #546 branch 'phpnode-add-cdataprovideriterator'
...
* phpnode-add-cdataprovideriterator:
Refactoring of CDataProviderIterator
#545 more tiny code style changes
#545 reformat code according to Yii style
#545 dont use getters or setters if we can avoid it
#545 dont use getters or setters if we can avoid it
#545 make protected members private
#545 update changelog
#545 fix whitespace
Update changelog for #545
Add CDataProviderIterator to allow iterating over large data sets
2012-11-14 20:06:05 +01:00
Carsten Brandt
7150d84ac1
Refactoring of CDataProviderIterator
2012-11-14 20:04:37 +01:00
Maurizio Domba (mdlap)
57227293e8
Fixing tests for PR #1502 (issue #1492 )
2012-11-14 19:18:04 +01:00
Carsten Brandt
93e0d8f24c
Merge branch 'add-cdataprovideriterator' of https://github.com/phpnode/yii into phpnode-add-cdataprovideriterator
...
* 'add-cdataprovideriterator' of https://github.com/phpnode/yii :
#545 more tiny code style changes
#545 reformat code according to Yii style
#545 dont use getters or setters if we can avoid it
#545 dont use getters or setters if we can avoid it
#545 make protected members private
#545 update changelog
#545 fix whitespace
Update changelog for #545
Add CDataProviderIterator to allow iterating over large data sets
Conflicts:
CHANGELOG
2012-11-14 19:11:13 +01:00
lubosdz
9bb07e6448
Merge branch 'master' of https://github.com/lubosdz/yii
...
Added more assertions into unit test.
2012-10-24 13:34:24 +02:00
lubosdz
45d286d01f
Merge branch 'master' of https://github.com/lubosdz/yii
2012-10-23 17:41:12 +02:00
resurtm
60f7122e9d
CHttpSessionTest used non portable temporary directory path.
2012-09-16 12:57:47 +06:00
Alexander Makarov
10ea135c0f
Bug #1351 : CClientScript::registerMetaTag() now allows to register multiple meta tags with the same set of attributes
2012-09-12 02:34:02 +04:00
Alexander Makarov
36045580d8
Merge remote-tracking branch 'resurtm/fix-990'
...
Conflicts:
CHANGELOG
2012-09-08 14:09:27 +04:00
Paul Klimov
ef8262c103
Method "CClientScript::registerMetaTag()" allows duplication of meta tags.
2012-09-07 13:16:33 +03:00
Paul Klimov
3a14d15293
Code intending at "CClientScriptTest" has been fixed.
2012-09-07 13:08:32 +03: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
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
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
8c28366bf2
Added ability to change sorting case sensitivity of the data in CArrayDataProvider.
2012-07-25 17:34:00 +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
Rusinov Maxim
b419391241
Reformat using CamelCase and added regexp for fieldsArray
2012-07-08 20:16:02 +06:00
Rusinov Maxim
f9691820a5
Reformat using indent instead spaces
2012-07-08 20:09:09 +06:00
Rusinov Maxim
a9e507de88
Added tests for CArrayDataProvider
...
Sorting by dot delimiter like SQL query
2012-07-08 19:26:32 +06:00
resurtm
02ccba9e49
Possible fix of CHtml's tests failings.
2012-07-04 22:23:08 +06:00
resurtm
fcde793910
Added tests for CHtml::resolveName().
2012-06-24 17:12:10 +06:00
resurtm
cb575ea874
Merge branch 'master' of git://github.com/yiisoft/yii into more-chtml-tests
...
Conflicts:
CHANGELOG
tests/framework/web/helpers/CHtmlTest.php
2012-06-24 16:34:54 +06:00
Alexander Makarov
ee36805900
fixed CHtml test (line-separators difference)
2012-06-22 11:46:34 +04:00
resurtm
f2a845802d
Added unit tests for CHtml::button(), CHtml::htmlButton(), CHtml::submitButton(), CHtml::resetButton() and CHtml::linkButton().
2012-06-21 20:35:23 +06:00
resurtm
9b8f7737f7
Added unit test for CHtml::activeUrlField().
2012-06-20 22:45:56 +06:00
resurtm
6cd7a3ecb5
Merge branch 'master' of git://github.com/yiisoft/yii into more-chtml-tests
...
Conflicts:
CHANGELOG
2012-06-20 22:09:50 +06:00
resurtm
6bacceaf40
Unit tests for CHtml::activeLabel(), CHtml::activeLabelEx() and CHtml::activeTextField().
2012-05-28 23:01:48 +06:00
resurtm
89445cb474
Unit tests for CHtml::statefulForm(), CHtml::mailto(), CHtml::image().
2012-05-27 12:17:54 +06:00
resurtm
8a29076396
Providers should be static. Added CHtmlTestCase::tearDown() and CHtmlTestCase::setUp() for cleaning CClientScript global app component.
2012-05-27 11:48:37 +06:00
resurtm
066940755a
Unit tests for CHtml::pageStateField(), CHtml::encode(), CHtml::decode() and CHtml::refresh().
2012-05-27 11:39:04 +06:00
resurtm
ea18ccb92b
Full unit tests for CHtml::resolveValue().
2012-05-27 01:24:20 +06:00
resurtm
81bce10769
Added unit tests for CHtml::resolveValue().
2012-05-26 13:09:12 +06:00
resurtm
ab469d4ed0
Added unit tests for CHtml::activeId(), CHtml::activeName() and CHtml::getIdByName().
2012-05-26 12:09:06 +06:00
resurtm
0df5b56352
Added unit tests for CHtml::linkTag(), CHtml::css(), CHtml::cssFile(), CHtml::endForm(), CHtml::scriptFile(), CHtml::script().
2012-05-26 11:51:36 +06:00
resurtm
a3ab21bc3c
CHtml::metaTag test.
2012-05-25 22:55:23 +06:00
resurtm
e007d8e870
Added tests for CHtml::cdata, CHtml::openTag, CHtml::closeTag.
2012-05-19 15:21:29 +06:00