Skip to content

Commit

Permalink
[TASK] Update integration test baseline (#42)
Browse files Browse the repository at this point in the history
Whitespace handling changed in the guides, therefore
our integration tests need to be updated for whitespace.
  • Loading branch information
linawolf authored Mar 24, 2024
1 parent 18ab5de commit 03c0976
Show file tree
Hide file tree
Showing 44 changed files with 589 additions and 829 deletions.
14 changes: 5 additions & 9 deletions tests/integration/class-abstract/expected/index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
<!-- content start -->
<div class="section" id="abstract-class">
<h1>abstract class</h1>

<dl class="php class">
<dt class="sig sig-object php"
id="typo3-cms-core-abstracttest">
<span class="sig-name modifier"><span class="pre">abstract</span></span>
<em class="property"><span class="pre">class</span> </em>
<span class="sig-name modifier"><span class="pre">abstract</span></span> <em class="property"><span class="pre">class</span> </em>
<span class="sig-prename descclassname"><span class="pre">\TYPO3\CMS\Core\</span></span>
<span class="sig-name descname"><span class="pre">AbstractTest</span></span>
<a class="headerlink" href="#typo3-cms-core-abstracttest" title="Permalink to this definition"></a>
</dt>
<span class="sig-name descname"><span class="pre">AbstractTest</span></span><a class="headerlink" href="#typo3-cms-core-abstracttest" title="Permalink to this definition"></a> </dt>
<dd>
<p>Lorem Ipsum Dolor!</p>

<p>Lorem Ipsum Dolor!</p>

</dd>
</dl>

</div>

<!-- content end -->
15 changes: 5 additions & 10 deletions tests/integration/class-final-abstract/expected/index.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
<!-- content start -->
<div class="section" id="abstract-final-class-causes-warning">
<h1>abstract final class causes warning</h1>

<dl class="php class">
<dt class="sig sig-object php"
id="typo3-cms-core-test">
<span class="sig-name modifier"><span class="pre">abstract</span></span>
<span class="sig-name modifier"><span class="pre">final</span></span>
<em class="property"><span class="pre">class</span> </em>
<span class="sig-name modifier"><span class="pre">abstract</span></span> <span class="sig-name modifier"><span class="pre">final</span></span> <em class="property"><span class="pre">class</span> </em>
<span class="sig-prename descclassname"><span class="pre">\TYPO3\CMS\Core\</span></span>
<span class="sig-name descname"><span class="pre">Test</span></span>
<a class="headerlink" href="#typo3-cms-core-test" title="Permalink to this definition"></a>
</dt>
<span class="sig-name descname"><span class="pre">Test</span></span><a class="headerlink" href="#typo3-cms-core-test" title="Permalink to this definition"></a> </dt>
<dd>
<p>Lorem Ipsum Dolor!</p>

<p>Lorem Ipsum Dolor!</p>

</dd>
</dl>

</div>

<!-- content end -->
14 changes: 5 additions & 9 deletions tests/integration/class-final/expected/index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
<!-- content start -->
<div class="section" id="final-class">
<h1>final class</h1>

<dl class="php class">
<dt class="sig sig-object php"
id="typo3-cms-core-test">
<span class="sig-name modifier"><span class="pre">final</span></span>
<em class="property"><span class="pre">class</span> </em>
<span class="sig-name modifier"><span class="pre">final</span></span> <em class="property"><span class="pre">class</span> </em>
<span class="sig-prename descclassname"><span class="pre">\TYPO3\CMS\Core\</span></span>
<span class="sig-name descname"><span class="pre">Test</span></span>
<a class="headerlink" href="#typo3-cms-core-test" title="Permalink to this definition"></a>
</dt>
<span class="sig-name descname"><span class="pre">Test</span></span><a class="headerlink" href="#typo3-cms-core-test" title="Permalink to this definition"></a> </dt>
<dd>
<p>Lorem Ipsum Dolor!</p>

<p>Lorem Ipsum Dolor!</p>

</dd>
</dl>

</div>

<!-- content end -->
29 changes: 12 additions & 17 deletions tests/integration/class-namespace-directive/expected/index.html
Original file line number Diff line number Diff line change
@@ -1,46 +1,41 @@
<!-- content start -->
<div class="section" id="php-class-with-current-namespace-from-directive">
<h1>PHP Class with current namespace from directive</h1>

<dl class="php class">
<dt class="sig sig-object php"
id="typo3-cms-core-testclass">
<em class="property"><span class="pre">class</span> </em>
<span class="sig-prename descclassname"><span class="pre">\TYPO3\CMS\Core\</span></span>
<span class="sig-name descname"><span class="pre">TestClass</span></span>
<a class="headerlink" href="#typo3-cms-core-testclass" title="Permalink to this definition"></a>
</dt>
<span class="sig-name descname"><span class="pre">TestClass</span></span><a class="headerlink" href="#typo3-cms-core-testclass" title="Permalink to this definition"></a> </dt>
<dd>
<p>Lorem Ipsum Dolor!</p>

<p>Lorem Ipsum Dolor!</p>

</dd>
</dl>

<dl class="php class">
<dt class="sig sig-object php"
id="typo3-cms-core-anotherclass">
<em class="property"><span class="pre">class</span> </em>
<span class="sig-prename descclassname"><span class="pre">\TYPO3\CMS\Core\</span></span>
<span class="sig-name descname"><span class="pre">AnotherClass</span></span>
<a class="headerlink" href="#typo3-cms-core-anotherclass" title="Permalink to this definition"></a>
</dt>
<span class="sig-name descname"><span class="pre">AnotherClass</span></span><a class="headerlink" href="#typo3-cms-core-anotherclass" title="Permalink to this definition"></a> </dt>
<dd>
<p>Lorem Ipsum Dolor Another!</p>

<p>Lorem Ipsum Dolor Another!</p>

</dd>
</dl>

<dl class="php class">
<dt class="sig sig-object php"
id="myvendor-some-namespace-anotherclass">
<em class="property"><span class="pre">class</span> </em>
<span class="sig-prename descclassname"><span class="pre">\MyVendor\Some\Namespace\</span></span>
<span class="sig-name descname"><span class="pre">AnotherClass</span></span>
<a class="headerlink" href="#myvendor-some-namespace-anotherclass" title="Permalink to this definition"></a>
</dt>
<span class="sig-name descname"><span class="pre">AnotherClass</span></span><a class="headerlink" href="#myvendor-some-namespace-anotherclass" title="Permalink to this definition"></a> </dt>
<dd>
<p>Lorem Ipsum Dolor Yet Another!</p>

<p>Lorem Ipsum Dolor Yet Another!</p>

</dd>
</dl>

</div>

<!-- content end -->
Original file line number Diff line number Diff line change
@@ -1,56 +1,44 @@
<!-- content start -->
<div class="section" id="php-class-with-constants">
<h1>PHP class with constants</h1>

<dl class="php class">
<dt class="sig sig-object php"
id="chucklefactory-funclass">
<em class="property"><span class="pre">class</span> </em>
<span class="sig-prename descclassname"><span class="pre">\ChuckleFactory\</span></span>
<span class="sig-name descname"><span class="pre">FunClass</span></span>
<a class="headerlink" href="#chucklefactory-funclass" title="Permalink to this definition"></a>
</dt>
<span class="sig-name descname"><span class="pre">FunClass</span></span><a class="headerlink" href="#chucklefactory-funclass" title="Permalink to this definition"></a> </dt>
<dd>
<p>Where Fun Knows No Bounds!</p><dl class="php const">
<dt class="sig sig-object php" id="chucklefactory-funclass-joy-constant">
<span class="sig-name modifier"><span class="pre">public</span></span>
<span class="sig-name modifier"><span class="pre">private</span></span>
<em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">JOY_CONSTANT</span></span>

<a class="headerlink" href="#chucklefactory-funclass-joy-constant" title="Permalink to this definition"></a>
</dt>
<dd><p>The constant that encapsulates pure joy and laughter. Whenever you need
a pick-me-up, just access JOY_CONSTANT and let the chuckles begin.</p></dd>
</dl>
<p>Where Fun Knows No Bounds!</p>
<dl class="php const">
<dt class="sig sig-object php" id="chucklefactory-funclass-joy-constant">
<span class="sig-name modifier"><span class="pre">public</span></span> <span class="sig-name modifier"><span class="pre">private</span></span> <em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">JOY_CONSTANT</span></span>
<a class="headerlink" href="#chucklefactory-funclass-joy-constant" title="Permalink to this definition"></a> </dt>
<dd>
<p>The constant that encapsulates pure joy and laughter. Whenever you need
a pick-me-up, just access JOY_CONSTANT and let the chuckles begin.</p>
</dd>
</dl><dl class="php const">
<dt class="sig sig-object php" id="chucklefactory-funclass-giggle-factor">
<span class="sig-name modifier"><span class="pre">public</span></span>
<span class="sig-name modifier"><span class="pre">protected</span></span>
<em class="property"><span class="pre">const</span></em>
<span class="sig-name modifier"><span class="pre">public</span></span> <span class="sig-name modifier"><span class="pre">protected</span></span> <em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">GIGGLE_FACTOR</span></span>

<a class="headerlink" href="#chucklefactory-funclass-giggle-factor" title="Permalink to this definition"></a>
</dt>
<dd><p>A dynamic constant that measures the giggle intensity in the ChuckleFactory.
It&#039;s known to spontaneously increase during code reviews and coffee breaks.</p></dd>
</dl>
<dl class="php const">
<a class="headerlink" href="#chucklefactory-funclass-giggle-factor" title="Permalink to this definition"></a> </dt>
<dd>
<p>A dynamic constant that measures the giggle intensity in the ChuckleFactory.
It&#039;s known to spontaneously increase during code reviews and coffee breaks.</p>
</dd>
</dl><dl class="php const">
<dt class="sig sig-object php" id="chucklefactory-funclass-whimsical-wonder">
<span class="sig-name modifier"><span class="pre">protected</span></span>
<span class="sig-name modifier"><span class="pre">private</span></span>
<em class="property"><span class="pre">const</span></em>
<span class="sig-name modifier"><span class="pre">protected</span></span> <span class="sig-name modifier"><span class="pre">private</span></span> <em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">WHIMSICAL_WONDER</span></span>

<a class="headerlink" href="#chucklefactory-funclass-whimsical-wonder" title="Permalink to this definition"></a>
</dt>
<dd><p>Unleash the power of whimsy! This constant is your key to unlocking the
whimsical wonders hidden within the FunClass. Expect surprises and delight!</p></dd>
<a class="headerlink" href="#chucklefactory-funclass-whimsical-wonder" title="Permalink to this definition"></a> </dt>
<dd>
<p>Unleash the power of whimsy! This constant is your key to unlocking the
whimsical wonders hidden within the FunClass. Expect surprises and delight!</p>
</dd>
</dl>

</dd>
</dl>

</div>

<!-- content end -->
59 changes: 26 additions & 33 deletions tests/integration/class-with-const-link-warning/expected/index.html
Original file line number Diff line number Diff line change
@@ -1,57 +1,50 @@
<!-- content start -->
<div class="section" id="php-class-with-constants">
<h1>PHP class with constants</h1>

<dl class="php class">
<dt class="sig sig-object php"
id="secretsociety-enigmaticclass">
<em class="property"><span class="pre">class</span> </em>
<span class="sig-prename descclassname"><span class="pre">\SecretSociety\</span></span>
<span class="sig-name descname"><span class="pre">EnigmaticClass</span></span>
<a class="headerlink" href="#secretsociety-enigmaticclass" title="Permalink to this definition"></a>
</dt>
<span class="sig-name descname"><span class="pre">EnigmaticClass</span></span><a class="headerlink" href="#secretsociety-enigmaticclass" title="Permalink to this definition"></a> </dt>
<dd>
<p>Unveiling the mysteries of constants!</p><dl class="php const">
<dt class="sig sig-object php" id="secretsociety-enigmaticclass-pi">
<span class="sig-name modifier"><span class="pre">public</span></span>
<em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">PI</span></span>

<a class="headerlink" href="#secretsociety-enigmaticclass-pi" title="Permalink to this definition"></a>
</dt>
<dd><p>The eternal symbol representing the ratio of a circle&#039;s circumference
to its diameter. Also used as the secret handshake among mathematicians.</p></dd>
</dl>
<p>Unveiling the mysteries of constants!</p>
<dl class="php const">
<dt class="sig sig-object php" id="secretsociety-enigmaticclass-pi">
<span class="sig-name modifier"><span class="pre">public</span></span> <em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">PI</span></span>
<a class="headerlink" href="#secretsociety-enigmaticclass-pi" title="Permalink to this definition"></a> </dt>
<dd>
<p>The eternal symbol representing the ratio of a circle&#039;s circumference
to its diameter. Also used as the secret handshake among mathematicians.</p>
</dd>
</dl><dl class="php const">
<dt class="sig sig-object php" id="secretsociety-enigmaticclass-secret-number">
<span class="sig-name modifier"><span class="pre">protected</span></span>
<em class="property"><span class="pre">const</span></em>
<span class="sig-name modifier"><span class="pre">protected</span></span> <em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">SECRET_NUMBER</span></span>

<a class="headerlink" href="#secretsociety-enigmaticclass-secret-number" title="Permalink to this definition"></a>
</dt>
<dd><p>This constant holds the secret number known only to members of the
<a class="headerlink" href="#secretsociety-enigmaticclass-secret-number" title="Permalink to this definition"></a> </dt>
<dd>
<p>This constant holds the secret number known only to members of the
EnigmaticClass. Rumor has it, it&#039;s the combination to the ultimate
treasure chest.</p></dd>
</dl>
<dl class="php const">
treasure chest.</p>
</dd>
</dl><dl class="php const">
<dt class="sig sig-object php" id="secretsociety-enigmaticclass-eternal-flame">
<span class="sig-name modifier"><span class="pre">private</span></span>
<em class="property"><span class="pre">const</span></em>
<span class="sig-name modifier"><span class="pre">private</span></span> <em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">ETERNAL_FLAME</span></span>

<a class="headerlink" href="#secretsociety-enigmaticclass-eternal-flame" title="Permalink to this definition"></a>
</dt>
<dd><p>The eternal flame, kept alight by the power of mystical constants. Its
<a class="headerlink" href="#secretsociety-enigmaticclass-eternal-flame" title="Permalink to this definition"></a> </dt>
<dd>
<p>The eternal flame, kept alight by the power of mystical constants. Its
warmth is known only to those who dare to delve into the deepest realms
of code and cryptography.</p></dd>
of code and cryptography.</p>
</dd>
</dl>

</dd>
</dl>

<p>See also <a href="/index.html#secretsociety-enigmaticclass-pi">SecretSociety\EnigmaticClass\PI</a> or
<p>See also <a href="/index.html#secretsociety-enigmaticclass-pi">SecretSociety\EnigmaticClass\PI</a> or
<a href="/index.html#secretsociety-enigmaticclass-secret-number">\SecretSociety\EnigmaticClass-&gt;SECRET_NUMBER</a>.</p>
</div>

</div>
<!-- content end -->
59 changes: 26 additions & 33 deletions tests/integration/class-with-const-link/expected/index.html
Original file line number Diff line number Diff line change
@@ -1,57 +1,50 @@
<!-- content start -->
<div class="section" id="php-class-with-constants">
<h1>PHP class with constants</h1>

<dl class="php class">
<dt class="sig sig-object php"
id="secretsociety-enigmaticclass">
<em class="property"><span class="pre">class</span> </em>
<span class="sig-prename descclassname"><span class="pre">\SecretSociety\</span></span>
<span class="sig-name descname"><span class="pre">EnigmaticClass</span></span>
<a class="headerlink" href="#secretsociety-enigmaticclass" title="Permalink to this definition"></a>
</dt>
<span class="sig-name descname"><span class="pre">EnigmaticClass</span></span><a class="headerlink" href="#secretsociety-enigmaticclass" title="Permalink to this definition"></a> </dt>
<dd>
<p>Unveiling the mysteries of constants!</p><dl class="php const">
<dt class="sig sig-object php" id="secretsociety-enigmaticclass-pi">
<span class="sig-name modifier"><span class="pre">public</span></span>
<em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">PI</span></span>

<a class="headerlink" href="#secretsociety-enigmaticclass-pi" title="Permalink to this definition"></a>
</dt>
<dd><p>The eternal symbol representing the ratio of a circle&#039;s circumference
to its diameter. Also used as the secret handshake among mathematicians.</p></dd>
</dl>
<p>Unveiling the mysteries of constants!</p>
<dl class="php const">
<dt class="sig sig-object php" id="secretsociety-enigmaticclass-pi">
<span class="sig-name modifier"><span class="pre">public</span></span> <em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">PI</span></span>
<a class="headerlink" href="#secretsociety-enigmaticclass-pi" title="Permalink to this definition"></a> </dt>
<dd>
<p>The eternal symbol representing the ratio of a circle&#039;s circumference
to its diameter. Also used as the secret handshake among mathematicians.</p>
</dd>
</dl><dl class="php const">
<dt class="sig sig-object php" id="secretsociety-enigmaticclass-secret-number">
<span class="sig-name modifier"><span class="pre">protected</span></span>
<em class="property"><span class="pre">const</span></em>
<span class="sig-name modifier"><span class="pre">protected</span></span> <em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">SECRET_NUMBER</span></span>

<a class="headerlink" href="#secretsociety-enigmaticclass-secret-number" title="Permalink to this definition"></a>
</dt>
<dd><p>This constant holds the secret number known only to members of the
<a class="headerlink" href="#secretsociety-enigmaticclass-secret-number" title="Permalink to this definition"></a> </dt>
<dd>
<p>This constant holds the secret number known only to members of the
EnigmaticClass. Rumor has it, it&#039;s the combination to the ultimate
treasure chest.</p></dd>
</dl>
<dl class="php const">
treasure chest.</p>
</dd>
</dl><dl class="php const">
<dt class="sig sig-object php" id="secretsociety-enigmaticclass-eternal-flame">
<span class="sig-name modifier"><span class="pre">private</span></span>
<em class="property"><span class="pre">const</span></em>
<span class="sig-name modifier"><span class="pre">private</span></span> <em class="property"><span class="pre">const</span></em>
<span class="sig-name descname"><span class="pre">ETERNAL_FLAME</span></span>

<a class="headerlink" href="#secretsociety-enigmaticclass-eternal-flame" title="Permalink to this definition"></a>
</dt>
<dd><p>The eternal flame, kept alight by the power of mystical constants. Its
<a class="headerlink" href="#secretsociety-enigmaticclass-eternal-flame" title="Permalink to this definition"></a> </dt>
<dd>
<p>The eternal flame, kept alight by the power of mystical constants. Its
warmth is known only to those who dare to delve into the deepest realms
of code and cryptography.</p></dd>
of code and cryptography.</p>
</dd>
</dl>

</dd>
</dl>

<p>See also <a href="/index.html#secretsociety-enigmaticclass-pi">SecretSociety\EnigmaticClass::PI</a> or
<p>See also <a href="/index.html#secretsociety-enigmaticclass-pi">SecretSociety\EnigmaticClass::PI</a> or
<a href="/index.html#secretsociety-enigmaticclass-secret-number">\SecretSociety\EnigmaticClass::SECRET_NUMBER</a>.</p>
</div>

</div>
<!-- content end -->
Loading

0 comments on commit 03c0976

Please sign in to comment.