/** * makeNeatArray. * * wraps FireCake::dump() allowing panel elements to continue functioning * * @param string $values * @return void */ public function makeNeatArray($values) { FireCake::info($values); }
/** * test Group messages * * @return void */ public function testGroup() { FireCake::setOptions(array('includeLineNumbers' => false)); FireCake::group('test'); FireCake::info('my info'); FireCake::groupEnd(); $this->assertEqual($this->firecake->sentHeaders['X-Wf-1-1-1-1'], '63|[{"Collapsed":"true","Type":"GROUP_START","Label":"test"},null]|'); $this->assertEqual($this->firecake->sentHeaders['X-Wf-1-1-1-3'], '27|[{"Type":"GROUP_END"},null]|'); $this->assertEqual($this->firecake->sentHeaders['X-Wf-1-Index'], 3); }