Klimov Paul
bdee4112b0
"YiiRequirementChecker" console view has been reworked to display requirements by blocks and in brief for the successful ones.
12 years ago
Alexander Makarov
fb185d14e5
Changed framework in dir structure to yii
12 years ago
resurtm
3e39b8f024
requirements.php typo fix.
12 years ago
Klimov Paul
ecd47caa5b
"requirements.php" has been added to "bootstrap" application.
12 years ago
Klimov Paul
8ab1d837a6
Merge branch 'master' of github.com:yiisoft/yii2
12 years ago
Klimov Paul
ae302037de
Doc comments and error messages for "YiiRequirementChecker" have been adjusted.
12 years ago
Klimov Paul
43a04d237a
Doc comments for "YiiRequirementChecker" have been updated.
12 years ago
Klimov Paul
653b4d1f33
PHP version fallback for "YiiRequirementChecker" has been added.
12 years ago
Klimov Paul
e068229401
"YiiRequirementChecker::check()" has been updated allowing to accept filename for the requirements.
...
Yii core requirements file has been composed.
12 years ago
Klimov Paul
9a461edd07
Check helper methods have been added to "YiiRequirementChecker".
12 years ago
Klimov Paul
fa724fc0cf
Web view for "YiiRequirementChecker" has been created.
12 years ago
Klimov Paul
2bdb5f803a
"YiiRequirementChecker::render()" has been implemented, console view has been created.
12 years ago
Carsten Brandt
c5d382c68a
added newline to end of header and body blocks in View
...
issue #237
12 years ago
Carsten Brandt
48f388442f
mocking time in test only usefull when using time() once
...
e2513de6c6 (commitcomment-3192244)
12 years ago
Klimov Paul
f82a01e4dd
"YiiRequirementChecker::check()" has been updated to be able to collect different requirements set in the chained call.
12 years ago
Carsten Brandt
e2513de6c6
better testing: time()-function-mock
...
as discussed in #203
https://github.com/yiisoft/yii2/issues/203#issuecomment-17759631
12 years ago
Klimov Paul
3b7ac70c69
Test case "YiiRequirementCheckerTest::testCheckEval()" has been added.
12 years ago
Klimov Paul
00d04a1c30
Method "YiiRequirementChecker::check()" has been refactored to be used in method chain.
...
Methods "YiiRequirementChecker::getResults()" and "YiiRequirementChecker::render()" have been added.
12 years ago
Klimov Paul
07fabfd6fc
Method "YiiRequirementChecker::check()" has been implemented.
12 years ago
Klimov Paul
3374c78233
"YiiRequirementChecker" has been created as blank.
12 years ago
Qiang Xue
c4e9e003af
Merge pull request #230 from creocoder/rbac-db-manager-code-style
...
RBAC: DbManager code style
12 years ago
Carsten Brandt
71a9efdd55
changed cache test to wait more than expirytime
...
change is to avoid random test failure on race condition.
fixes #203 #231
12 years ago
Carsten Brandt
9c2eb4df0a
doc fix in caching classes
12 years ago
Carsten Brandt
6a7529505e
cache tests refactoring cherry picked from redis branch
12 years ago
Carsten Brandt
3bdb6c3110
fixed indentation in test files
12 years ago
Carsten Brandt
cb8f5d702f
cleanup tests
12 years ago
Carsten Brandt
e0ad712527
Merge pull request #204 branch 'unittest-app-dependency' of https://github.com/bwoester/yii2 into bwoester-unittest-app-dependency
...
* 'unittest-app-dependency' of https://github.com/bwoester/yii2 :
mod: incorporate suggestions - rename requireApp() to mockApplication() - always destroy app on tearDown() - eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN - mockApplication() becomes a lot easier. Destroying app on each tearDown means creating it on every call is fine. No more checking if it already exists and if it has been created from the same config. - \yii::$app should have been \Yii::$app
add: new key for unit tests config named "className". Allows to run the tests using different Application instances (consoleApp/ webApp) mod: TestCase::getParam accepts second param $default=null
mod: don't create app in bootstrap script, unit tests do it themselves add: option to destroy app after each test to find unit tests that fail to require an app
allow unit tests to requireApp() on setUp()
Conflicts:
tests/unit/data/config.php
12 years ago
resurtm
abeb02e902
Travis-CI build status.
12 years ago
resurtm
c98628d42e
CS fixes.
12 years ago
resurtm
ea68bd3a55
CS fixes.
12 years ago
resurtm
b314d96355
Change magic property to normal method. (Thanks to @maxlapko.)
12 years ago
resurtm
35562bfada
Merge branch 'master' of github.com:yiisoft/yii2
...
Conflicts:
apps/bootstrap/index.php
yii/yiic.php
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
Alexander Kochetov
a24e4d30f6
RBAC: DbManager code style fixes
12 years ago
Alexander Kochetov
70265587fb
RBAC: DbManager code style fixes
12 years ago
Qiang Xue
a87e64c650
Fixed duplicated merge.
12 years ago
Qiang Xue
71897b4b76
Merge pull request #210 from bwoester/fix-209-default-timezone
...
Fix issue #209 default timezone
12 years ago
Qiang Xue
d9923c5413
Merge pull request #223 from cebe/timezone-fix
...
better have timezone fix in application
12 years ago
Qiang Xue
a062edd6d6
Merge pull request #221 from resurtm/get-text-i18n
...
[WIP] Gettext support
12 years ago
Qiang Xue
4feec1d530
Merge branch 'master' of https://github.com/yiisoft/yii2
12 years ago
Qiang Xue
22ca2922d2
Fixes issue #50 : implemented pager widgets.
12 years ago
Benjamin Wöster
49a4314a41
fix: remove pointless unset
12 years ago
Benjamin Wöster
6d46abcd88
remove fix for unset timezone from bootstrap app
12 years ago
Benjamin Wöster
8c6cf61589
mod: don't use ArrayHelper to avoid loading another class during every request
12 years ago
Carsten Brandt
b005b087b4
better have timezone fix in application
...
app is resposible for setting time zone, so it should also do the
fixing.
+ documentation about the behavior.
issue #210 and #209
12 years ago
resurtm
1c1b2da5b1
Add exception classes hierarchy UML diagram.
12 years ago
resurtm
124b153350
Initial Gettext support.
12 years ago
Qiang Xue
5873d4b386
Merge pull request #220 from creocoder/rbac-sqls-identation-fix
...
RBAC sql files a little identation fix
12 years ago
Alexander Kochetov
176366a24d
RBAC sql files identation fix
12 years ago
Qiang Xue
92e0f59106
Merge pull request #219 from creocoder/rbac-sqls
...
RBAC sql files
12 years ago