Add test generation scripts

Summary:
Add first version of test generation script. Currently works for most layouts and styles. Probably has a bunch of broken edge-case.

Usage:
$ gentest/gentest.sh
<Enter HTML with inline styles> e.g. <div style="width: 100px; height: 100px;"></div>
Open chrome dev tools console tab.
Copy code from console into file and save.
Run buck test //:CSSLayout

Differential Revision: D3697812

fbshipit-source-id: e6809f95bf6782e7e2cc47b9cdd3a25a13163c5c
This commit is contained in:
Emil Sjolander
2016-08-11 11:45:45 -07:00
committed by Facebook Github Bot 1
parent e5a3f7bf5b
commit a43b813517
5 changed files with 404 additions and 0 deletions

View File

@@ -5,3 +5,4 @@
/.buckconfig.local
/.buckd
/lib/gtest/googletest-*/
/gentest/test.html