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,32 +10,32 @@
/**
* @Generated by gentest/gentest.sh with the following input
*
* <div style="width: 100px">
* <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>
* <div style="height: 100px; flex-direction: row;">
* <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>
* <div style="height: 100px; width: 100px;">
* <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>
* <div style="height: 100px; width: 100px; flex-direction: row;">
* <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>
* <div style="height: 100px; width: 100px; flex-direction: column-reverse;">
* <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>
* <div style="height: 100px; width: 100px; flex-direction: row-reverse;">
* <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>