Carsten Brandt
28d9ee7c31
adjusted cubrid version in schema quote
2013-10-15 05:47:55 +02:00
Carsten Brandt
c1b6521d31
simplified cubrid db install on travis
2013-10-15 05:12:50 +02:00
Carsten Brandt
f974e1a59f
fixed validator test break
2013-10-15 04:43:52 +02:00
Alexander Makarov
5cf9992251
Removed @codeCoverageIgnore
2013-10-15 01:32:23 +04:00
Alexander Makarov
d75ad87e06
Merge branch 'add-tests' of github.com:suralc/yii2 into suralc-add-tests
...
Conflicts:
framework/yii/validators/RegularExpressionValidator.php
2013-10-15 01:31:59 +04:00
Carsten Brandt
abc1e0c2bb
fix issue #700
...
adjust depended asset position or throw exception on conflict
2013-10-11 01:54:05 +02:00
Carsten Brandt
0c113faf62
added unit test for asset bundles
2013-10-11 01:13:32 +02:00
Carsten Brandt
df6176edb6
added unit test for Model::load()
2013-09-18 23:43:46 +02:00
Carsten Brandt
3a347c3587
added property docs to AR test classes
2013-09-18 16:30:00 +02:00
Carsten Brandt
ef13a11f66
moved getPDOType() back to Command to avoid dependency on Schema
...
fixes #854
2013-09-18 16:29:16 +02:00
Carsten Brandt
0a5b1a935e
simplified memcache installation on travis
2013-09-14 12:57:45 +02:00
Carsten Brandt
a1af321d38
fixed typo in apc install script
2013-09-14 12:56:10 +02:00
Carsten Brandt
34ebe65cf5
added apc,redis and memcache(d) to travis
2013-09-14 12:50:16 +02:00
Carsten Brandt
41bd9ab7a8
added memcache and apc to travis
2013-09-14 12:23:06 +02:00
Carsten Brandt
f6f2522ad6
added travis README from yii 1.1
2013-09-14 12:12:20 +02:00
Carsten Brandt
69a38d1895
added cubrid_pdo to travis
2013-09-14 12:07:04 +02:00
Carsten Brandt
eb5bf2dabe
added cubrid dbms to travis-ci
...
copied from
056e734ce3/.travis.yml
2013-09-14 11:33:07 +02:00
Carsten Brandt
164c70eebc
Add support for composite FK to cubrid
2013-09-06 15:32: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
825258efb8
cubrid unit tests WIP
2013-09-05 18:23:25 +02:00
Suralc
06682d0ba9
coverage improvements
2013-08-24 00:31:01 +02:00
Suralc
24e2f88503
Renamed validator test models to be less specific.
2013-08-23 22:47:45 +02:00
Suralc
5c8927af7d
Added ExistValidatorTest and added new option to DatabaseTestCase
2013-08-17 00:40:45 +02:00
Suralc
02c92fea93
Merge remote-tracking branch 'upstream/master' into add-tests
2013-08-13 19:03:10 +02:00
Suralc
bae79cd76c
Added ValidatorTest
2013-08-13 19:01:53 +02:00
Alexander Makarov
0596fa82fd
code style fixes
2013-08-13 02:43:47 +04:00
Suralc
a81480d309
Improved ValidatorTest organization.
2013-08-06 19:56:05 +02:00
Qiang Xue
3d5388ff2b
Reorganized captcha code.
2013-08-03 07:20:39 -04:00
Qiang Xue
f14774dfb6
Fixes issue #276 : Enable Response::sendFile() to operate on resources
2013-06-10 16:37:35 -04:00
gevik
f667b5785b
- Added drop/add primary key methods to Command.php
...
- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision
2013-06-09 18:27:09 +02:00
gevik
b6d5a9002b
Removed the config setting that should not have been commited.
2013-06-07 23:01:01 +02:00
Gevik Babakhani
0fd390cac5
Replaces spaces with tabs.
2013-06-06 21:19:17 +02:00
Gevik Babakhani
3d79d992c4
Merge remote branch 'upstream/master' into pgsql-driver
2013-06-05 11:35:38 +02:00
Carsten Brandt
e94cc6bb9e
unit test for UrlManager RESTful routing syntax
...
removed test param 'appClass' as it does not make sense to configure
application class for all tests, some explicitly need webapp where
some might explicitly need console app.
2013-06-03 09:33:16 +02:00
Gevik Babakhani
18218c4132
Removed unused columns.
2013-06-01 12:37:47 +02:00
Gevik Babakhani
97270a389a
Savepoint, implementing fkeys.
2013-05-31 14:25:56 +02:00
Gevik Babakhani
103621ad05
Savepoint: WIP implementing columns
2013-05-30 16:53:57 +02:00
Gevik Babakhani
4602b575ad
Save point: WIP implementing db schema functionality.
2013-05-29 17:44:53 +02:00
Gevik Babakhani
c30eae62d2
Added initial unit testing files for the pgsql driver.
2013-05-29 00:01:02 +02:00
resurtm
8e1079cd04
MSSQL more tests.
2013-05-23 23:33:33 +06:00
resurtm
cdcb8e513c
Merge upstream/master into upstream/mssql.
2013-05-22 19:28:11 +06:00
Carsten Brandt
3bdb6c3110
fixed indentation in test files
2013-05-11 12:54:13 +02:00
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
2013-05-11 12:22:49 +02:00
resurtm
5c101ae314
Initial MSSQL tests.
2013-05-11 14:58:35 +06:00
resurtm
124b153350
Initial Gettext support.
2013-05-10 23:57:24 +06:00
Benjamin Wöster
c30ee60e9c
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
2013-05-09 22:06:58 +02:00
Rusinov Maxim
d712605a71
Added and resolved Sqlite tests #15 .
2013-05-09 23:12:18 +06:00
Qiang Xue
034d88e5e4
Fixes issue #134
2013-05-06 08:04:35 -04:00
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00