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,23 +10,23 @@
/**
* @Generated by gentest/gentest.sh with the following input
*
* <div style="width: 100px; height: 100px;">
* <div id="flex_basis_flex_grow_column" style="width: 100px; height: 100px;">
* <div style="flex-basis: 50px; flex-grow: 1;"></div>
* <div style="flex-grow: 1;"></div>
* </div>
* <div style="width: 100px; height: 100px; flex-direction: row;">
* <div id="flex_basis_flex_grow_row" style="width: 100px; height: 100px; flex-direction: row;">
* <div style="flex-basis: 50px; flex-grow: 1;"></div>
* <div style="flex-grow: 1;"></div>
* </div>
* <div style="width: 100px; height: 100px;">
* <div id="flex_basis_flex_shrink_column" style="width: 100px; height: 100px;">
* <div style="flex-basis: 100px; flex-shrink: 1;"></div>
* <div style="flex-basis: 50px;"></div>
* </div>
* <div style="width: 100px; height: 100px; flex-direction: row;">
* <div id="flex_basis_flex_shrink_row" style="width: 100px; height: 100px; flex-direction: row;">
* <div style="flex-basis: 100px; flex-shrink: 1;"></div>
* <div style="flex-basis: 50px;"></div>
* </div>
* <div style="width: 100px;">
* <div id="flex_basis_flex_grow_undefined_main" style="width: 100px;">
* <div style="flex-basis: 100px; flex-grow: 1;"></div>
* <div style="flex-basis: 50px;"></div>
* </div>