コード例 #1
0
 /**
  *
  * Test for getPrintPreview().
  */
 public function testPrintPreview()
 {
     $this->assertEquals(
         $this->object->getPrintPreview(),
         '<div class="theme_preview"><h2> (0.0.0.0) </h2><p><a target="_top" class="take_theme" name="" href="index.php?set_theme=&amp;server=99&amp;lang=en&amp;token=token">No preview available.[ <strong>take it</strong> ]</a></p></div>'
     );
 }
コード例 #2
0
 /**
  * Test for getPrintPreview().
  *
  * @return void
  */
 public function testPrintPreview()
 {
     $this->assertEquals($this->object->getPrintPreview(), '<div class="theme_preview"><h2> (0.0.0.0) </h2><p><a class="take_' . 'theme" name="" href="index.php?set_theme=&amp;server=99&amp;lang=en' . '&amp;collation_connection=utf-8' . '&amp;token=token">No preview available.[ <strong>take it</strong> ]' . '</a></p></div>');
 }