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,54 +11,63 @@
* @Generated by gentest/gentest.sh with the following input
*
* <div id="justify_content_row_flex_start" style="width: 102px; height: 102px; flex-direction: row; justify-content: flex-start;">
* <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="justify_content_row_flex_end" style="width: 102px; height: 102px; flex-direction: row; justify-content: flex-end;">
* <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="justify_content_row_center" style="width: 102px; height: 102px; flex-direction: row; justify-content: center;">
* <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="justify_content_row_space_between" style="width: 102px; height: 102px; flex-direction: row; justify-content: space-between;">
* <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="justify_content_row_space_around" style="width: 102px; height: 102px; flex-direction: row; justify-content: space-around;">
* <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="justify_content_column_flex_start" style="width: 102px; height: 102px; justify-content: flex-start;">
* <div style="height: 10px;"></div>
* <div style="heigth: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="height: 10px;"></div>
* <div style="heigth: 10px;"></div>
* <div style="height: 10px;"></div>
* </div>
*
* <div id="justify_content_column_flex_end" style="width: 102px; height: 102px; justify-content: flex-end;">
* <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="justify_content_column_center" style="width: 102px; height: 102px; justify-content: center;">
* <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="justify_content_column_space_between" style="width: 102px; height: 102px; justify-content: space-between;">
* <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="justify_content_column_space_around" style="width: 102px; height: 102px; justify-content: space-around;">
* <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>
*
*/