Put generated Java test in a "generated" folder #1673

Closed
NickGerleman wants to merge 3 commits from export-D58989535 into main

3 Commits

Author SHA1 Message Date
Nick Gerleman
84bd1e7668 Put generated Java tests in a "generated" folder (#1673)
Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1673

Separate the generated Java tests from the non-generated ones, like all the other tests.

Differential Revision: D58989535
2024-06-24 23:18:12 -07:00
Maddie Lord
c24adff88e Add test support for intrinsic sized nodes
Summary: This diff adds support for intrinsic sizing in generated tests. This is done by importing a testing font called "Ahem" which, as used, has an exact width and height of 10px for each character. Support has been added for C++, Java, and Javascript generated tests.

Differential Revision: D58307002
2024-06-24 22:34:58 -07:00
Nick Gerleman
cedac5edf4 Fixup gentest-validate when directories have folders
Summary: This reworks `gentest-validate`, to be more resilient to changes like D58307002, which cause [validation failures](https://github.com/facebook/yoga/actions/runs/9653979292/job/26627690870) due to the file traversal code not handling the presence of directories.

Differential Revision: D58987293
2024-06-24 21:10:25 -07:00