Sign generated tests (#1503)

Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1503

This diff makes it so that our driver will sign all of the generated files to help ensure that they are not edited by hand. Next I will add CI to actually verify the signature

Reviewed By: NickGerleman

Differential Revision: D51966201

fbshipit-source-id: f7e3f4fde1c98832212a448b2dcc8e21be0560c4
This commit is contained in:
Joe Vilches
2023-12-14 11:48:22 -08:00
committed by Facebook GitHub Bot
parent e1b59d63a7
commit 4743040d62
69 changed files with 253 additions and 160 deletions

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<38d0679f99374f3026798269898a0e8b>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGAbsolutePositionTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGAbsolutePositionTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<77bb645e5cc31f4a2a6805afbb9c795f>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignContentTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignContentTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<377d2650a60fde365756c3a09f149340>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignItemsTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignItemsTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<f243980134fe7895217e3beae09f49fa>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignSelfTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignSelfTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<2a6167560fbbab679e4124b429d7d43c>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGAndroidNewsFeed.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGAndroidNewsFeed.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<ba09ebad5de8c76762ad28ed4857316f>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGAspectRatioTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGAspectRatioTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<cc1f089d71f647560f06818f63be656c>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGBorderTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGBorderTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<8d0fd51bf03b7a0b86321ac27a2f8f54>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGDimensionTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGDimensionTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<ae5be83414ce5deed4d04dc5fa4c0627>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGDisplayTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGDisplayTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<19c4ab5c2e89cd74936b59b98153b91e>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexDirectionTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexDirectionTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<c916eb16b65050cd69a66eb10e9754e0>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<fc9e6f66414b0900a16a6fca2d72fc79>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexWrapTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexWrapTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<2e1975d1f84adf036ab09851f0740454>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGGapTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGGapTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<3eebacfcf95f59a6d7000c33f56c5e10>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGJustifyContentTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGJustifyContentTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<da302f9ad926b53c1fc544f25bbd261a>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGMarginTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGMarginTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<c214f8bd55dedbf1146b0907b7949d0f>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGMinMaxDimensionTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGMinMaxDimensionTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<c586057ce3ffda069b704cf99180cd67>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGPaddingTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGPaddingTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<f3cc1d0e29f3cc33b5eeaf738a8847bb>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGPercentageTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGPercentageTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<87b3ffe3aadd64ec52fef96f7b9c170b>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGRoundingTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGRoundingTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<0a3f49811566b6aa64d65c575443cccd>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGSizeOverflowTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGSizeOverflowTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>

View File

@@ -3,11 +3,12 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* clang-format off
* @generated SignedSource<<58d9fcab6e5025cf29ca80d71aa68773>>
* generated by gentest/gentest-driver.ts from gentest/fixtures/YGStaticPositionTest.html
*/
// clang-format off
// @generated by gentest/gentest-driver.ts from gentest/fixtures/YGStaticPositionTest.html
#include <gtest/gtest.h>
#include <yoga/Yoga.h>