Beispiel #1
0
 function test_getFormat()
 {
     $format = array('version' => '0.8.2', 'svg' => '<svg></svg>');
     $layout = new Layout($format, array());
     $this->assertSame($format, $layout->getFormat());
 }
 function test_getFormat()
 {
     $format = array('version' => '0.8.2', 'svg' => '<svg></svg>');
     $layout = new Layout('dummy.tlf', array('format' => $format, 'item_formats' => array()));
     $this->assertSame($format, $layout->getFormat());
 }