You are here

private property ReportTest::$doc in Forena Reports 8

File

tests/src/Unit/ReportTest.php, line 19
Implements ReportTest

Class

ReportTest
@group Forena @require module forena @coversDefaultClass \Drupal\forena\Report

Namespace

Drupal\Tests\forena\Unit

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:options></frx:options>
      <frx:fields>
        <frx:field id="test_field" link="link" class="class">Default Value</frx:field>
      </frx:fields>
      <frx:commands>
        <frx:ajax command="invoke" method="attr" selector="input#myinput">
          ["checked", "1"]
        </frx:ajax>
      </frx:commands>
      </head>
      <body>
        Report Body
        <div>
          <frx:ajax command="invoke" />
        </div>
        This &amp; That
      </body>
      </html>';