Improve formatting of generated test code input

Summary: Make input html easier to read by indenting it and adding a space between children. The code to do this could very well be improved but it works for the current set of inputs.

Reviewed By: lucasr

Differential Revision: D3798087

fbshipit-source-id: 0d50ff276000f14ed078cf5ce2e7560ace285a6a
This commit is contained in:
Emil Sjolander
2016-08-31 11:07:26 -07:00
committed by Facebook Github Bot 5
parent 57725e849a
commit 059384f277
10 changed files with 157 additions and 108 deletions

View File

@@ -11,34 +11,39 @@
* @Generated by gentest/gentest.sh with the following input
*
* <div id="flex_direction_column_no_height" style="width: 100px">
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* </div>
*
* <div id="flex_direction_row_no_width" style="height: 100px; flex-direction: row;">
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* </div>
*
* <div id="flex_direction_column" style="height: 100px; width: 100px;">
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* </div>
*
* <div id="flex_direction_row" style="height: 100px; width: 100px; flex-direction: row;">
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* </div>
*
* <div id="flex_direction_column_reverse" style="height: 100px; width: 100px; flex-direction: column-reverse;">
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* </div>
*
* <div id="flex_direction_row_reverse" style="height: 100px; width: 100px; flex-direction: row-reverse;">
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* <div style="width: 10px;"></div>
* </div>
*
*/