joomla/joomla-cms — pull request #4699 by roland-d (2014-10-16 12:48:16+00:00)
Title: [Code Test] Implement tests for JLayout base

- [x] JLayoutbase->setOptions() returns a JLayoutbase instance with empty parameter.
- [x] JLayoutbase->setOptions() returns a JLayoutbase instance with JRegistry parameter.
- [x] JLayoutbase->setOptions() returns a JLayoutbase instance with an array parameter.
- [x] JLayoutbase->getOptions() returns a JRegistry object when options parameter is empty.
- [x] JLayoutbase->getOptions() returns a JRegistry object when options parameter is an array.
- [x] JLayoutbase->getOptions() returns a JRegistry object when options parameter is a JRegistry object.
- [x] JLayoutbase->getOptions() returns a JRegistry object value using an array.
- [x] JLayoutbase->getOptions() returns a JRegistry object value using JRegistry.
- [x] JLayoutbase->resetOptions() and check options is empty.
- [x] Escaping special characters into html entities
- [x] Add one debug message to the queue
- [x] JLayoutBase->getDebugMessages() retrieves a list of debug messages in an array.
- [x] JLayoutBase->renderDebugMessages() returns string of messages separated by newline character.
- [x] JLayoutBase->render() returns an empty string.