Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
Improve form collection test
Browse files Browse the repository at this point in the history
  • Loading branch information
neilime committed Jan 11, 2014
1 parent 0670655 commit 4b42513
Show file tree
Hide file tree
Showing 37 changed files with 37 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ public function testRenderInlineFieldsetWithAlreadyDefinedClass(){
'twb-layout' => \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_INLINE,
'options' => array(
'twb-layout' => \TwbBundle\Form\View\Helper\TwbBundleForm::LAYOUT_INLINE,
'should_create_template' => true,
'allow_add' => true,
'target_element' => $oFieldset
)
));
Expand Down
2 changes: 1 addition & 1 deletion tests/_files/expected-fieldsets/inline-fieldset.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<fieldset class="form-inline"><fieldset class="test-class form-inline"><div class="form-group "><input name="input-one" placeholder="input-one" class="form-control" type="text" value=""></div>
<div class="form-group "><input name="input-two" placeholder="input-two" class="form-control" type="text" value=""></div>
</fieldset><span data-template="&lt;fieldset&#x20;class&#x3D;&quot;test-class&#x20;form-inline&quot;&gt;&lt;div&#x20;class&#x3D;&quot;form-group&#x20;&quot;&gt;&lt;input&#x20;name&#x3D;&quot;input-one&quot;&#x20;placeholder&#x3D;&quot;input-one&quot;&#x20;class&#x3D;&quot;form-control&quot;&#x20;type&#x3D;&quot;text&quot;&#x20;value&#x3D;&quot;&quot;&gt;&lt;&#x2F;div&gt;&#x0D;&#x0A;&lt;div&#x20;class&#x3D;&quot;form-group&#x20;&quot;&gt;&lt;input&#x20;name&#x3D;&quot;input-two&quot;&#x20;placeholder&#x3D;&quot;input-two&quot;&#x20;class&#x3D;&quot;form-control&quot;&#x20;type&#x3D;&quot;text&quot;&#x20;value&#x3D;&quot;&quot;&gt;&lt;&#x2F;div&gt;&#x0D;&#x0A;&lt;&#x2F;fieldset&gt;"></span></fieldset>
</fieldset></fieldset>
2 changes: 1 addition & 1 deletion tests/_report/Module.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h4>Legend</h4>
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/index.dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2>Least Tested Methods</h2>
</div>
<footer>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 70% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src.dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h2>Least Tested Methods</h2>
</div>
<footer>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 70% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src_TwbBundle.dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h2>Least Tested Methods</h2>
</div>
<footer>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src_TwbBundle.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 70% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src_TwbBundle_Form.dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h2>Least Tested Methods</h2>
</div>
<footer>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src_TwbBundle_Form.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 70% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src_TwbBundle_Form_Element.dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2>Least Tested Methods</h2>
</div>
<footer>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src_TwbBundle_Form_Element.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 70% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h4>Legend</h4>
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src_TwbBundle_Form_View.dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2>Least Tested Methods</h2>
</div>
<footer>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src_TwbBundle_Form_View.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 70% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h2>Least Tested Methods</h2>
</div>
<footer>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/_report/src_TwbBundle_Form_View_Helper.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 70% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4>Legend</h4>
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ <h4>Legend</h4>
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h4>Legend</h4>
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h4>Legend</h4>
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:29:56 CET 2014.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 1.2.13</a> using <a href="http://www.php.net/" target="_top">PHP 5.5.5</a> and <a href="http://phpunit.de/">PHPUnit 3.7.28</a> at Sat Jan 11 10:55:23 CET 2014.</small>
</p>
</footer>
</div>
Expand Down
Loading

0 comments on commit 4b42513

Please sign in to comment.