[TASK] Clean up API of tx_scheduler_CronCmd_Normalize
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 18 Aug 2011 22:42:15 +0000 (00:42 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 21 Aug 2011 11:42:54 +0000 (13:42 +0200)
commit87d6092a9f4d247dae96be145340cbca98f5dca8
treed70270cccd506271ed150571af4d1b42dcd529c4
parent6043c16c1ee133f6e9cdf7d5e474dd98a596af81
[TASK] Clean up API of tx_scheduler_CronCmd_Normalize

The only public API method in tx_scheduler_CronCmd_Normalize is normalize().
The patch makes all non API methods protected and uses an accessible proxy
class in unit tests to make the low level methods testable. This cleans
up the API and still gives detailed unit tests.

Change-Id: I6845d049523b68e6f57d86ad03ef0a48c453df81
Resolves: #29100
Reviewed-on: http://review.typo3.org/4421
Reviewed-by: Björn Pedersen
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/scheduler/class.tx_scheduler_croncmd_normalize.php
typo3/sysext/scheduler/tests/class.tx_scheduler_croncmd_normalizeTest.php