Commit graph

31 commits

Author SHA1 Message Date
Claudio Zizza 0d57e080e4 using BaseTest class for VersionCommand test 2015-03-15 23:52:58 +01:00
Claudio Zizza 472e5b05bf namespace fix for BuiltIn 2015-03-11 21:47:30 +01:00
Claudio Zizza 2d81e6c7ec constant usage removed in VersionCommandTest 2015-03-11 21:47:30 +01:00
Claudio Zizza 06246e380c setting constant in phpunit config 2015-03-11 21:47:30 +01:00
Claudio Zizza 9711908063 test added for VersionCommand 2015-03-11 21:47:30 +01:00
Claudio Zizza ebc90d0b2a namespace fix for BuiltIn 2015-03-11 21:47:30 +01:00
Claudio Zizza c40eb59219 constant usage removed in VersionCommandTest 2015-03-11 21:47:30 +01:00
Claudio Zizza aff9d2f32b setting constant in phpunit config 2015-03-11 21:47:30 +01:00
Claudio Zizza 67960ba3f4 test added for VersionCommand 2015-03-11 21:47:30 +01:00
Jakub Turek 3f02ebcfe4 Add more restrictly tests for constructor 2015-03-08 21:22:12 +01:00
Jakub Turek e7c0b87ccd Move testing setters and getters to BaseTest 2015-03-08 21:21:49 +01:00
Jakub Turek c6e0d6762c Merge run test scenarios in UnlockCommandTests
Expectations and setting properties should be in dataProvider
2015-03-08 21:21:49 +01:00
Jakub Turek 937355ce8b Change assignment assertion in accessors' tests to more restrict 2015-03-08 21:21:49 +01:00
Jakub Turek 3b326227ae Remove setter from CompileCommand
Also, let the Compiler be constructed with DI or by itself
2015-03-08 21:21:49 +01:00
Jakub Turek a91060a16f General tests cleanup 2015-03-08 21:21:49 +01:00
Jakub Turek cde8263d06 Add UnlockCommand tests 2015-03-08 21:21:49 +01:00
Jakub Turek 04b270356a Reset fields in LockCommandTests for better reliability 2015-03-08 21:21:49 +01:00
Jakub Turek b21b5f4c5e Add tests for LockCommand 2015-03-08 21:21:49 +01:00
Jakub Turek 5602bf83fe Add CompileCommand tests 2015-03-08 21:21:49 +01:00
Jakub Turek ee8bb3c2f9 Move "setUpConsoleStatics" into the BaseClass 2015-03-08 21:21:48 +01:00
Jakub Turek d58e89c41d Set compiler by setter for better testability 2015-03-08 21:21:48 +01:00
Jakub Turek e9ec99f318 Add exit code assertions in ListCommandTest 2015-03-08 21:21:48 +01:00
Jakub Turek 5944015b50 ListCommandTests refactor 2015-03-08 21:21:48 +01:00
Jakub Turek ad6c8b24ac Add ListCommand tests 2015-03-08 21:21:48 +01:00
Jakub Turek cf89e24106 Add PHPDoc for BaseTest command 2015-03-08 21:21:48 +01:00
Jakub Turek e35a8a7f3a Apply BaseTest as parent of AbstractCommandTest class 2015-03-08 21:21:48 +01:00
Jakub Turek b7dbae8ff2 Abstract command tests 2015-03-08 21:21:48 +01:00
Jakub Turek 5207b29958 Remove "covers" annotations for static methods 2015-02-17 21:22:07 +01:00
Claudio Zizza 8bd7f6c56c phpunit annotations added 2015-02-11 21:21:19 +01:00
Claudio Zizza 1e912a367a dummy classes replaced with mocks for Command Factory tests 2015-02-09 22:40:08 +01:00
Claudio Zizza 5b63f4b5d0 tests for command factory created 2014-12-07 23:00:55 +01:00