You are here

private property FrxIncludeTest::$doc in Forena Reports 8

File

tests/src/Unit/Renderer/FrxIncludeTest.php, line 20

Class

FrxIncludeTest
Class FrxIncludeTest @group Forena @require module forena @coversDefaultClass \Drupal\forena\FrxPlugin\Renderer\FrxInclude

Namespace

Drupal\Tests\forena\Unit\Renderer

Code

private $doc = '<?xml version="1.0"?>
      <!DOCTYPE root [
      <!ENTITY nbsp "&#160;">
      ]>
      <html xmlns:frx="urn:FrxReports">
      <head>
      <title>Report Title</title>
      <frx:category>Category</frx:category>
      <frx:fields>
        <frx:field id="testlink" link="mypage"/>
      </frx:fields>
      </head>
      <body>
        <h1>Header</h1>
        <div frx:renderer="FrxInclude" src="reports/sample">
          <p frx:if="test"></p>
        </div>
        <p>Footer</p>
      </body>
      </html>';