Oskar Stark
6b5eb11458
Use SymfonyStyle for command output
2017-11-24 01:25:17 +01:00
Luís Cobucci
43a88d539d
Format commands' tests
...
To simplify and organise the code (also replacing `$this->assert*`
with `self::assert*`).
2017-11-24 01:25:15 +01:00
Luís Cobucci
d4b94e097a
Ensure that ConsoleRunner has the right command list
2017-07-22 21:56:56 +02:00
Marco Pivetta
01d226aff0
#5715 removed superfluous mapping information
2017-06-21 06:21:22 +02:00
Marco Pivetta
29fe76cced
#5715 short array notation
2017-06-21 06:20:30 +02:00
Marco Pivetta
2ce40a6aeb
#5715 s/CLASSNAME/class
2017-06-21 06:18:24 +02:00
Marco Pivetta
f0e403211b
#5715 adding return hints \(void\) to test methods
2017-06-21 06:17:18 +02:00
Guilliam Xavier
a9cc522e8a
Add regex tests for MetadataFilter (PR #507 )
2017-06-21 06:14:01 +02:00
Guilliam Xavier
1afa8a915d
Add more basic tests for MetadataFilter
2017-06-21 06:14:01 +02:00
Guilliam Xavier
652358a4de
Add failing test for #5715 (unit test for MetadataFilter)
2017-06-21 06:14:01 +02:00
Luís Cobucci
fda6fdd9fb
Use "::class" syntax on "tests" directory
2016-12-08 18:13:39 +01:00
Luís Cobucci
74c8a08828
Use short-array syntax on "tests" directory
2016-12-07 23:33:41 +01:00
Sebastian Bergmann
9da83cfae8
Make test suite compatible with PHPUnit 5.4.
...
* Use createMock() and getMockBuilder() instead of getMock()
* Use expectException() and expectExceptionMessage() instead of setExpectedException()
2016-06-18 13:01:59 +02:00
Mikhail Shamin
b173763bbb
Remove full qualified class names in tests
2016-05-11 03:00:44 +07:00
Mikhail Shamin
bf322b903d
Optimize imports. Remove full qualified class names
2016-05-11 01:55:12 +07:00
Marco Pivetta
342ab2f7f1
Correcting minor test case incompatibility with XDebug 2.4.x
...
In PHP 5.x + XDebug < 2.4, the output would be "string:..."
In PHP 7.x + XDebug >= 2.4, the output would be "the/file/name.php:11:string:..."
This is an improvement in XDebug that is quite annoying for our purposes, but is actually welcome to most users anyway.
This commit simply fixes that incompatibility
2015-12-11 19:15:48 +01:00
Bill Schaller
b057b64c1c
Fix tests for SLC console commands failing due to comparison with decorated console output.
2015-03-20 13:45:49 -04:00
Marco Pivetta
61e07e5907
Handling minor HHVM incompatibility (dumped value is different between PHP and HHVM)
2015-01-18 02:54:18 +01:00
Marco Pivetta
f06d652393
#1262 DDC-3513 - RunDqlCommand
should display the generated SQL when asked to do so
2015-01-17 21:30:34 +01:00
Marco Pivetta
1c6fd512a5
#1262 DDC-3513 - providing basic coverage for the RunDqlCommand
logic
2015-01-17 21:27:32 +01:00
Marco Pivetta
ab62914f87
Merge pull request #1089 from encoder32/EntityRepositoryGeneratorDefaultRepository
...
EntityRepositoryGenerator default repository
2014-11-11 16:22:51 +01:00
Marco Pivetta
9ccb56a7ab
#1120 - applying CS fixes as per @dantleech's review
2014-10-19 19:56:21 +02:00
Marco Pivetta
db74efbe34
#1120 - test coverage annotations
2014-10-19 18:22:28 +02:00
dantleech
37de75b2ae
Split new functionality into new command
2014-10-19 17:40:50 +02:00
dantleech
b5552a82e3
Code review fixes
2014-10-19 17:40:50 +02:00
dantleech
51cd8f7ce8
Added test
2014-10-19 17:40:50 +02:00
encoder64
409f6b4bc1
Unit Tests && simple fixes
2014-09-07 18:26:09 +03:00
Andreas Hörnicke
1d16e5322f
added a simple test
2014-07-24 09:23:36 +02:00
fabios
71903c28a8
Region cache clear commands
2013-12-16 11:05:05 -05:00
Christophe Coevoet
1b01a074dc
Fixed the testsuite
2012-11-03 17:07:56 +01:00
Jonathan H. Wage
aa5826b69a
Symfony/Components renamed into Symfony/Component
2010-08-23 12:44:15 -05:00
Benjamin Eberlei
51e6681934
DDC-646 - Bugfix with missing inclusion of Namespace, added test for ConvertDoctrine1SchemaCommand
2010-06-20 00:28:20 +02:00