Allow specifying the test name in the input to gentest

Summary: Allow adding test name within html through the id of the root element. This makes it much easier to re-generate test files.

Differential Revision: D3771966

fbshipit-source-id: 313e1648dcf4521e7c649f54c4ced2aa3297bf06
This commit is contained in:
Emil Sjolander
2016-08-26 10:22:58 -07:00
committed by Facebook Github Bot 6
parent 89c00a7a3b
commit e3fa40e694
10 changed files with 45 additions and 44 deletions

View File

@@ -10,52 +10,52 @@
/**
* @Generated by gentest/gentest.sh with the following input
*
* <div style="width: 102px; height: 102px; flex-direction: row; justify-content: flex-start;">
* <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>
* <div style="width: 102px; height: 102px; flex-direction: row; justify-content: flex-end;">
* <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>
* <div style="width: 102px; height: 102px; flex-direction: row; justify-content: center;">
* <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>
* <div style="width: 102px; height: 102px; flex-direction: row; justify-content: space-between;">
* <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>
* <div style="width: 102px; height: 102px; flex-direction: row; justify-content: space-around;">
* <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>
* <div style="width: 102px; height: 102px; justify-content: flex-start;">
* <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>
* <div style="width: 102px; height: 102px; justify-content: flex-end;">
* <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>
* <div style="width: 102px; height: 102px; justify-content: center;">
* <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>
* <div style="width: 102px; height: 102px; justify-content: space-between;">
* <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>
* <div style="width: 102px; height: 102px; justify-content: space-around;">
* <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>