phalcon/cphalcon — pull request #1588 by WooDzu (2013-11-23 22:55:49+00:00)
Title: [TESTS] Minor addition to ViewCacheTest and and testing on Windows

This PR addresses some minor differences in unit testing between windows and *nix
Apperently windows wasn't taken into account when writting the tests, which doesn't surprise me at all =]

In most cases different line ends when comparing two strings. PHPUnit won't like these and fail the asserts.

There are also some symlinked files which don't work on windows since it won't recognise them.
Let me know if you know a better way for handling this, I simply replaced the simlinks with the files they were pointing to.
I realize this is not elegant solution.

-----------------

The PR also includes a few minor stubs for ViewCacheTest and updated Phalcon\Mvc\View::render() to return instance of itself as expected in docblock

```php
/**
* Executes render process from dispatching data
*
*
* //Shows recent posts view (app/views/posts/recent.phtml)
* $view->start()->render('posts', 'recent')->finish();
*
*
* @param string $controllerName
* @param string $actionName
* @param array $params
* @return Phalcon\Mvc\View
*/
```

Excuse me for submitting two things in the same PR. I'm happy to make them separate if you prefer that