diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 442ae8f046..9f440e7bd2 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -32,6 +32,7 @@ module.exports = { }, env: { es2020: true, + 'shared-node-browser': true, }, parserOptions: { ecmaVersion: 'latest', diff --git a/.github/workflows/validate-tests.yml b/.github/workflows/validate-tests.yml new file mode 100644 index 0000000000..16b4be49a7 --- /dev/null +++ b/.github/workflows/validate-tests.yml @@ -0,0 +1,33 @@ +name: Validate Tests + +on: + pull_request: + push: + branches: + - main + - 'release-*' + workflow_dispatch: + +jobs: + validate: + name: Validate + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Setup JS + uses: ./.github/actions/setup-js + + - name: yarn gentest-validate + run: yarn gentest-validate + + - name: yarn gentest + run: yarn gentest -h + + - name: Check for modified tests + run: | + if [[ -n $(git status -s) ]]; then + git status -s + echo "yarn gentest modified these tests. Please run yarn gentest to resolve." + exit 1 + fi diff --git a/README.md b/README.md index 00972de2c7..2e6e5c5069 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ Yoga is an embeddable and performant flexbox layout engine with bindings for multiple languages. - ## Building + Yoga's main implementation targets C++ 20 with accompanying build logic in CMake. A wrapper is provided to build the main library and run unit tests. ```sh @@ -14,8 +14,6 @@ While not required, this script will use [ninja](https://ninja-build.org/) if it Yoga is additionally part of the [vcpkg](https://github.com/Microsoft/vcpkg/) collection of ports maintained by Microsoft and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. - - ## Adding Tests Many of Yoga's tests are automatically generated, using HTML fixtures describing node structure. These are rendered in Chrome to generate an expected layout result for the tree. New fixtures can be added to `gentest/fixtures`. @@ -27,9 +25,10 @@ Many of Yoga's tests are automatically generated, using HTML fixtures describing ``` To generate new tests from added fixtures: -1. Run `bundle install` in the `gentest` directory to install dependencies of the test generator. -2. Run `ruby gentest.rb` in the `gentest` directory. +1. Ensure you have [yarn](https://yarnpkg.com/) installed. +2. Run `yarn install` to install dependencies for the test generator. +3. Run `yarn gentest` in the `yoga` directory. ## Debugging diff --git a/gentest/Gemfile b/gentest/Gemfile deleted file mode 100644 index 6e7555f664..0000000000 --- a/gentest/Gemfile +++ /dev/null @@ -1,4 +0,0 @@ -source "https://rubygems.org" - -gem 'watir', '~>7.2.0' -gem 'webdrivers', '~> 5.3.0' diff --git a/gentest/Gemfile.lock b/gentest/Gemfile.lock deleted file mode 100644 index 6f477ff9b4..0000000000 --- a/gentest/Gemfile.lock +++ /dev/null @@ -1,31 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - nokogiri (1.15.4-arm64-darwin) - racc (~> 1.4) - racc (1.7.1) - regexp_parser (2.8.1) - rexml (3.2.5) - rubyzip (2.3.2) - selenium-webdriver (4.10.0) - rexml (~> 3.2, >= 3.2.5) - rubyzip (>= 1.2.2, < 3.0) - websocket (~> 1.0) - watir (7.2.2) - regexp_parser (>= 1.2, < 3) - selenium-webdriver (~> 4.2) - webdrivers (5.3.1) - nokogiri (~> 1.6) - rubyzip (>= 1.3.0) - selenium-webdriver (~> 4.0, < 4.11) - websocket (1.2.9) - -PLATFORMS - arm64-darwin-22 - -DEPENDENCIES - watir (~> 7.2.0) - webdrivers (~> 5.3.0) - -BUNDLED WITH - 2.4.10 diff --git a/gentest/babel.config.cjs b/gentest/babel.config.cjs new file mode 100644 index 0000000000..e1c2d8e41e --- /dev/null +++ b/gentest/babel.config.cjs @@ -0,0 +1,12 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +module.exports = { + presets: ['@babel/preset-typescript'], +}; diff --git a/gentest/gentest-driver.ts b/gentest/gentest-driver.ts new file mode 100644 index 0000000000..0dc5dc01ce --- /dev/null +++ b/gentest/gentest-driver.ts @@ -0,0 +1,135 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +import * as fs from 'node:fs/promises'; +import {format} from 'node:util'; +import {parse, dirname} from 'path'; +import * as process from 'node:process'; +import {Builder, logging} from 'selenium-webdriver'; +import {Options} from 'selenium-webdriver/chrome.js'; +import {fileURLToPath} from 'url'; +import {stdin, stdout} from 'node:process'; +import minimist from 'minimist'; +import readline from 'node:readline/promises'; +import signedsource from 'signedsource'; + +function addSignatureToSourceCode(sourceCode: string): string { + const codeWithToken = sourceCode.replace( + 'MAGIC_PLACEHOLDER', + signedsource.getSigningToken(), + ); + + return signedsource.signFile(codeWithToken); +} + +const argv = minimist(process.argv.slice(2)); +const specificFixture = argv.f || argv.fixture; +const suspend = argv.s || argv.suspend; +const headless = argv.h || argv.headless; + +const gentestDir = dirname(fileURLToPath(import.meta.url)); +const yogaDir = dirname(gentestDir); + +let fixtures = await fs.readdir(`${gentestDir}/fixtures`); +try { + if (specificFixture != null) { + await fs.access(`fixtures/${specificFixture}.html`, fs.constants.F_OK); + fixtures = [specificFixture + '.html']; + } +} catch (e) { + const errorMessage = e instanceof Error ? e.message : ''; + console.log( + `Trying to access ${specificFixture}.html threw an exception. Executing against all fixtures. ${errorMessage}`, + ); +} + +const options = new Options(); +options.addArguments( + '--force-device-scale-factor=1', + '--window-position=0,0', + '--hide-scrollbars', +); +headless && options.addArguments('--headless'); +options.setLoggingPrefs({ + browser: 'ALL', + performance: 'ALL', +}); +const driver = await new Builder() + .forBrowser('chrome') + .setChromeOptions(options) + .build(); + +for (const fileName of fixtures) { + const fixture = await fs.readFile( + `${gentestDir}/fixtures/${fileName}`, + 'utf8', + ); + const fileNameNoExtension = parse(fileName).name; + console.log('Generate', fileNameNoExtension); + + // TODO: replace this with something more robust than just blindly replacing + // start/end in the entire fixture + const ltrFixture = fixture + .replaceAll('start', 'left') + .replaceAll('end', 'right') + .replaceAll('flex-left', 'flex-start') + .replaceAll('flex-right', 'flex-end'); + + const rtlFixture = fixture + .replaceAll('start', 'right') + .replaceAll('end', 'left') + .replaceAll('flex-right', 'flex-start') + .replaceAll('flex-left', 'flex-end'); + + const template = await fs.readFile( + `${gentestDir}/test-template.html`, + 'utf8', + ); + const f = await fs.open(`${gentestDir}/test.html`, 'w'); + await f.write( + format(template, fileNameNoExtension, ltrFixture, rtlFixture, fixture), + ); + await f.close(); + + await driver.get('file://' + process.cwd() + '/test.html'); + const logs = await driver.manage().logs().get(logging.Type.BROWSER); + + await fs.writeFile( + `${yogaDir}/tests/generated/${fileNameNoExtension}.cpp`, + addSignatureToSourceCode(JSON.parse(logs[0].message.replace(/^[^"]*/, ''))), + ); + + await fs.writeFile( + `${yogaDir}/java/tests/com/facebook/yoga/${fileNameNoExtension}.java`, + addSignatureToSourceCode( + JSON.parse(logs[1].message.replace(/^[^"]*/, '')).replace( + 'YogaTest', + fileNameNoExtension, + ), + ), + ); + + await fs.writeFile( + `${yogaDir}/javascript/tests/generated/${fileNameNoExtension}.test.ts`, + addSignatureToSourceCode( + JSON.parse(logs[2].message.replace(/^[^"]*/, '')).replace( + 'YogaTest', + fileNameNoExtension, + ), + ), + ); + + if (suspend) { + const rl = readline.createInterface({input: stdin, output: stdout}); + await rl.question(''); + rl.close(); + } +} +await fs.unlink(`${gentestDir}/test.html`); +await driver.quit(); diff --git a/gentest/gentest-validate.ts b/gentest/gentest-validate.ts new file mode 100644 index 0000000000..9f69f1c821 --- /dev/null +++ b/gentest/gentest-validate.ts @@ -0,0 +1,40 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +import * as fs from 'node:fs/promises'; +import {dirname} from 'path'; +import {fileURLToPath} from 'url'; +import signedsource from 'signedsource'; + +const yogaDir = dirname(dirname(fileURLToPath(import.meta.url))); +const cppTestDir = `${yogaDir}/tests/generated`; +const jsTestDir = `${yogaDir}/javascript/tests/generated`; +const javaTestDir = `${yogaDir}/java/tests/com/facebook/yoga`; +const testDirs = [cppTestDir, jsTestDir, javaTestDir]; + +for (const testDir of testDirs) { + const tests = await fs.readdir(testDir); + + for (const test of tests) { + const testData = await fs.readFile(`${testDir}/${test}`, 'utf8'); + try { + const validSignature = signedsource.verifySignature(testData); + if (!validSignature) { + console.error(`Invalid signature for ${test}`); + process.exitCode = 1; + } + } catch (e) { + // Java test dir does not separate generated tests from non-generated ones + if (testDir != javaTestDir) { + console.error(`${test}: ${e}`); + process.exitCode = 1; + } + } + } +} diff --git a/gentest/gentest.js b/gentest/gentest.js index ea5b22e859..e74952348c 100755 --- a/gentest/gentest.js +++ b/gentest/gentest.js @@ -53,12 +53,12 @@ function printTest(e, ext, LTRContainer, RTLContainer, genericContainer) { ' *', ' * This source code is licensed under the MIT license found in the', ' * LICENSE file in the root directory of this source tree.', - ' */', - ext === 'cpp' ? '\n// clang-format off' : '', - '// @' + - 'generated by gentest/gentest.rb from gentest/fixtures/' + + ext === 'cpp' ? ' *\n * clang-format off' : ' *', + ` * MAGIC_PLACEHOLDER`, + ' * generated by gentest/gentest-driver.ts from gentest/fixtures/' + document.title + '.html', + ' */', '', ]); e.emitPrologue(); diff --git a/gentest/gentest.rb b/gentest/gentest.rb deleted file mode 100644 index 96781c8ac9..0000000000 --- a/gentest/gentest.rb +++ /dev/null @@ -1,81 +0,0 @@ -#!/usr/bin/env ruby -# Copyright (c) Meta Platforms, Inc. and affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -require 'watir' -require 'webdrivers' -require 'fileutils' -require 'optparse' - -browser = Watir::Browser.new(:chrome, options: { - "goog:loggingPrefs" => { - "browser" => "ALL", - "performance" => "ALL" - }, - args: ['--force-device-scale-factor=1', '--window-position=0,0', '--hide-scrollbars'] -}) - -Dir.chdir(File.dirname($0)) - -options = OpenStruct.new -OptionParser.new do |opts| - opts.on("-s", "--suspend", "Pauses the script after each fixture to allow for debugging on Chrome. Press enter to go to the next fixure.") do - options.suspend = true - end - opts.on("-f", "--fixture [FIXTURE]", String, "Only runs the script on the specific fixture.") do |f| - fixture = "fixtures/" + f + ".html" - if !File.file?(fixture) - puts fixture + " does not exist." - else - options.fixture = fixture - end - end -end.parse! - -files = options.fixture ? options.fixture : "fixtures/*.html" -Dir[files].each do |file| - fixture = File.read(file) - name = File.basename(file, '.*') - puts "Generate #{name}" - - ltr_fixture = fixture.gsub('start', 'left') - .gsub('end', 'right') - .gsub('flex-left', 'flex-start') - .gsub('flex-right', 'flex-end') - - rtl_fixture = fixture.gsub('start', 'right') - .gsub('end', 'left') - .gsub('flex-right', 'flex-start') - .gsub('flex-left', 'flex-end') - - template = File.open('test-template.html').read - f = File.open('test.html', 'w') - f.write sprintf(template, name, ltr_fixture, rtl_fixture, fixture) - f.close - FileUtils.copy('test.html', "#{name}.html") if $DEBUG - - browser.goto('file://' + Dir.pwd + '/test.html') - logs = browser.driver.logs.get(:browser) - - f = File.open("../tests/generated/#{name}.cpp", 'w') - f.write eval(logs[0].message.sub(/^[^"]*/, '')) - f.close - - f = File.open("../java/tests/com/facebook/yoga/#{name}.java", 'w') - f.write eval(logs[1].message.sub(/^[^"]*/, '')).sub('YogaTest', name) - f.close - - print logs[3] - - f = File.open("../javascript/tests/generated/#{name}.test.ts", 'w') - f.write eval(logs[2].message.sub(/^[^"]*/, '')).sub('YogaTest', name) - f.close - - if options.suspend - gets - end -end -File.delete('test.html') -browser.close diff --git a/gentest/package.json b/gentest/package.json new file mode 100644 index 0000000000..1c47282722 --- /dev/null +++ b/gentest/package.json @@ -0,0 +1,23 @@ +{ + "name": "gentest", + "version": "0.0.0", + "private": true, + "scripts": { + "gentest": "node --loader=babel-register-esm ./gentest-driver.ts", + "gentest-validate": "node --loader=babel-register-esm ./gentest-validate.ts" + }, + "type": "module", + "dependencies": { + "selenium-webdriver": "^4.16.0", + "signedsource": "^2.0.0" + }, + "devDependencies": { + "@types/node": "^20.10.3", + "@types/selenium-webdriver": "^4.1.21", + "babel-register-esm": "^1.2.5", + "@babel/core": "^7.23.0", + "@babel/preset-typescript": "^7.23.0", + "@tsconfig/node18": "^18.2.2", + "@types/minimist": "^1.2.5" + } +} diff --git a/gentest/signedsource.d.ts b/gentest/signedsource.d.ts new file mode 100644 index 0000000000..9c7d6e194d --- /dev/null +++ b/gentest/signedsource.d.ts @@ -0,0 +1,10 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + */ + +declare module 'signedsource'; diff --git a/gentest/tsconfig.json b/gentest/tsconfig.json new file mode 100644 index 0000000000..6380e0c6b7 --- /dev/null +++ b/gentest/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "@tsconfig/node18/tsconfig.json", + "compilerOptions": { + "noEmit": true + } +} diff --git a/java/tests/com/facebook/yoga/YGAbsolutePositionTest.java b/java/tests/com/facebook/yoga/YGAbsolutePositionTest.java index 5e9f2d4e12..333992b2cd 100644 --- a/java/tests/com/facebook/yoga/YGAbsolutePositionTest.java +++ b/java/tests/com/facebook/yoga/YGAbsolutePositionTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAbsolutePositionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAbsolutePositionTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; @@ -1124,7 +1125,6 @@ public void test_percent_absolute_position_infinite_height() { } @Test - @Ignore public void test_absolute_layout_percentage_height_based_on_padded_parent() { YogaConfig config = YogaConfigFactory.create(); config.setExperimentalFeatureEnabled(YogaExperimentalFeature.ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE, true); diff --git a/java/tests/com/facebook/yoga/YGAlignContentTest.java b/java/tests/com/facebook/yoga/YGAlignContentTest.java index e7f9666aa1..df8fa9ebac 100644 --- a/java/tests/com/facebook/yoga/YGAlignContentTest.java +++ b/java/tests/com/facebook/yoga/YGAlignContentTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<6f770e50100e36b1141c70bc8222c809>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignContentTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignContentTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGAlignItemsTest.java b/java/tests/com/facebook/yoga/YGAlignItemsTest.java index e9cb70e3db..07681d4c6f 100644 --- a/java/tests/com/facebook/yoga/YGAlignItemsTest.java +++ b/java/tests/com/facebook/yoga/YGAlignItemsTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignItemsTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignItemsTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGAlignSelfTest.java b/java/tests/com/facebook/yoga/YGAlignSelfTest.java index dc83fd675c..3aad127ac8 100644 --- a/java/tests/com/facebook/yoga/YGAlignSelfTest.java +++ b/java/tests/com/facebook/yoga/YGAlignSelfTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<5701a3565a038ff7b212874ae092ae65>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignSelfTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGAndroidNewsFeed.java b/java/tests/com/facebook/yoga/YGAndroidNewsFeed.java index f28af1f574..ce6aa6f923 100644 --- a/java/tests/com/facebook/yoga/YGAndroidNewsFeed.java +++ b/java/tests/com/facebook/yoga/YGAndroidNewsFeed.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAndroidNewsFeed.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAndroidNewsFeed.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGAspectRatioTest.java b/java/tests/com/facebook/yoga/YGAspectRatioTest.java index 10fa9f617e..fb645c6356 100644 --- a/java/tests/com/facebook/yoga/YGAspectRatioTest.java +++ b/java/tests/com/facebook/yoga/YGAspectRatioTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<09a81ecf638d0330a6047ed77f1339d1>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAspectRatioTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAspectRatioTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGBorderTest.java b/java/tests/com/facebook/yoga/YGBorderTest.java index 87f32b77e3..a3d4aa5017 100644 --- a/java/tests/com/facebook/yoga/YGBorderTest.java +++ b/java/tests/com/facebook/yoga/YGBorderTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGBorderTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGBorderTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGDimensionTest.java b/java/tests/com/facebook/yoga/YGDimensionTest.java index 5d70c3bd72..dc40f69203 100644 --- a/java/tests/com/facebook/yoga/YGDimensionTest.java +++ b/java/tests/com/facebook/yoga/YGDimensionTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<316725bbf2492ae22512c52b8a16d04a>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDimensionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGDimensionTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGDisplayTest.java b/java/tests/com/facebook/yoga/YGDisplayTest.java index d7281ed5b4..80633395d5 100644 --- a/java/tests/com/facebook/yoga/YGDisplayTest.java +++ b/java/tests/com/facebook/yoga/YGDisplayTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<9a56229657528d8dab1a82ef99aace64>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDisplayTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGDisplayTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGFlexDirectionTest.java b/java/tests/com/facebook/yoga/YGFlexDirectionTest.java index 036c79e746..55e09a4d3f 100644 --- a/java/tests/com/facebook/yoga/YGFlexDirectionTest.java +++ b/java/tests/com/facebook/yoga/YGFlexDirectionTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexDirectionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexDirectionTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGFlexTest.java b/java/tests/com/facebook/yoga/YGFlexTest.java index bee519272d..8afe800754 100644 --- a/java/tests/com/facebook/yoga/YGFlexTest.java +++ b/java/tests/com/facebook/yoga/YGFlexTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGFlexWrapTest.java b/java/tests/com/facebook/yoga/YGFlexWrapTest.java index 96db5388f7..a873cb938b 100644 --- a/java/tests/com/facebook/yoga/YGFlexWrapTest.java +++ b/java/tests/com/facebook/yoga/YGFlexWrapTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexWrapTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexWrapTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGGapTest.java b/java/tests/com/facebook/yoga/YGGapTest.java index 1979b818c7..6ea4f6c797 100644 --- a/java/tests/com/facebook/yoga/YGGapTest.java +++ b/java/tests/com/facebook/yoga/YGGapTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGGapTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGGapTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGJustifyContentTest.java b/java/tests/com/facebook/yoga/YGJustifyContentTest.java index cc2fb8df95..f631861545 100644 --- a/java/tests/com/facebook/yoga/YGJustifyContentTest.java +++ b/java/tests/com/facebook/yoga/YGJustifyContentTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<5c40ef43b2f25942c5d7ae2267336370>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGJustifyContentTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGJustifyContentTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGMarginTest.java b/java/tests/com/facebook/yoga/YGMarginTest.java index 1309cb7896..0ab1858d6e 100644 --- a/java/tests/com/facebook/yoga/YGMarginTest.java +++ b/java/tests/com/facebook/yoga/YGMarginTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<15fbd1dd62513904ba5079cfb5c6b5dc>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMarginTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGMarginTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGMinMaxDimensionTest.java b/java/tests/com/facebook/yoga/YGMinMaxDimensionTest.java index dd94b2f835..b7777a1ae3 100644 --- a/java/tests/com/facebook/yoga/YGMinMaxDimensionTest.java +++ b/java/tests/com/facebook/yoga/YGMinMaxDimensionTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMinMaxDimensionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGMinMaxDimensionTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGPaddingTest.java b/java/tests/com/facebook/yoga/YGPaddingTest.java index 703a403bc8..5a93cddfea 100644 --- a/java/tests/com/facebook/yoga/YGPaddingTest.java +++ b/java/tests/com/facebook/yoga/YGPaddingTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<6267abb3ce29704a141d88197f2e8550>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPaddingTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGPaddingTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGPercentageTest.java b/java/tests/com/facebook/yoga/YGPercentageTest.java index edc2223fdf..60ea40510b 100644 --- a/java/tests/com/facebook/yoga/YGPercentageTest.java +++ b/java/tests/com/facebook/yoga/YGPercentageTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPercentageTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGPercentageTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGRoundingTest.java b/java/tests/com/facebook/yoga/YGRoundingTest.java index 3c51adeb00..415d513da8 100644 --- a/java/tests/com/facebook/yoga/YGRoundingTest.java +++ b/java/tests/com/facebook/yoga/YGRoundingTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<699bd9f8b7f716b9a3bbd127a7705998>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGRoundingTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGRoundingTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGSizeOverflowTest.java b/java/tests/com/facebook/yoga/YGSizeOverflowTest.java index 07d7f63f41..e25cb40a44 100644 --- a/java/tests/com/facebook/yoga/YGSizeOverflowTest.java +++ b/java/tests/com/facebook/yoga/YGSizeOverflowTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGSizeOverflowTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGSizeOverflowTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/java/tests/com/facebook/yoga/YGStaticPositionTest.java b/java/tests/com/facebook/yoga/YGStaticPositionTest.java index 0080d73a68..a95a0651b3 100644 --- a/java/tests/com/facebook/yoga/YGStaticPositionTest.java +++ b/java/tests/com/facebook/yoga/YGStaticPositionTest.java @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<27e39bd82599d68a9db49349adbaaf10>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGStaticPositionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGStaticPositionTest.html - package com.facebook.yoga; import static org.junit.Assert.assertEquals; diff --git a/javascript/tests/generated/YGAbsolutePositionTest.test.ts b/javascript/tests/generated/YGAbsolutePositionTest.test.ts index e9810a8b5d..ccc1b0725b 100644 --- a/javascript/tests/generated/YGAbsolutePositionTest.test.ts +++ b/javascript/tests/generated/YGAbsolutePositionTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAbsolutePositionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAbsolutePositionTest.html - import Yoga from 'yoga-layout'; import { Align, @@ -1255,7 +1256,7 @@ test('percent_absolute_position_infinite_height', () => { config.free(); } }); -test.skip('absolute_layout_percentage_height_based_on_padded_parent', () => { +test('absolute_layout_percentage_height_based_on_padded_parent', () => { const config = Yoga.Config.create(); let root; diff --git a/javascript/tests/generated/YGAlignContentTest.test.ts b/javascript/tests/generated/YGAlignContentTest.test.ts index e2ab2cab45..7af52ee1e8 100644 --- a/javascript/tests/generated/YGAlignContentTest.test.ts +++ b/javascript/tests/generated/YGAlignContentTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<7f941503c4fed45ffd7c07f713d691bb>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignContentTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignContentTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGAlignItemsTest.test.ts b/javascript/tests/generated/YGAlignItemsTest.test.ts index 8f514eb319..08166dae90 100644 --- a/javascript/tests/generated/YGAlignItemsTest.test.ts +++ b/javascript/tests/generated/YGAlignItemsTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<385359983a1893255ac670b476003ea1>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignItemsTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignItemsTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGAlignSelfTest.test.ts b/javascript/tests/generated/YGAlignSelfTest.test.ts index 1605415c45..c3f8d1db26 100644 --- a/javascript/tests/generated/YGAlignSelfTest.test.ts +++ b/javascript/tests/generated/YGAlignSelfTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignSelfTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGAndroidNewsFeed.test.ts b/javascript/tests/generated/YGAndroidNewsFeed.test.ts index 7f9ab9554c..02901bec55 100644 --- a/javascript/tests/generated/YGAndroidNewsFeed.test.ts +++ b/javascript/tests/generated/YGAndroidNewsFeed.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<6e99817d4a64ac55d5e204efd8d19aeb>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAndroidNewsFeed.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAndroidNewsFeed.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGAspectRatioTest.test.ts b/javascript/tests/generated/YGAspectRatioTest.test.ts index 8361b6217d..383ed1a5b0 100644 --- a/javascript/tests/generated/YGAspectRatioTest.test.ts +++ b/javascript/tests/generated/YGAspectRatioTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<3ac25c19e4407880aca2a6c1273927b6>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAspectRatioTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGAspectRatioTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGBorderTest.test.ts b/javascript/tests/generated/YGBorderTest.test.ts index cfac109e62..9e703e22db 100644 --- a/javascript/tests/generated/YGBorderTest.test.ts +++ b/javascript/tests/generated/YGBorderTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<2e9d73d454aa734212a0ad3a58988ca7>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGBorderTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGBorderTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGDimensionTest.test.ts b/javascript/tests/generated/YGDimensionTest.test.ts index b4a7f5a150..d4247e981f 100644 --- a/javascript/tests/generated/YGDimensionTest.test.ts +++ b/javascript/tests/generated/YGDimensionTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<9e7ecc566aba4120d45204870745a9b5>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDimensionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGDimensionTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGDisplayTest.test.ts b/javascript/tests/generated/YGDisplayTest.test.ts index d8e8830b0a..db0fc68744 100644 --- a/javascript/tests/generated/YGDisplayTest.test.ts +++ b/javascript/tests/generated/YGDisplayTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<83236c61730001945983b4f11d3b8573>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDisplayTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGDisplayTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGFlexDirectionTest.test.ts b/javascript/tests/generated/YGFlexDirectionTest.test.ts index adeed31c71..de21fbb587 100644 --- a/javascript/tests/generated/YGFlexDirectionTest.test.ts +++ b/javascript/tests/generated/YGFlexDirectionTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexDirectionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexDirectionTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGFlexTest.test.ts b/javascript/tests/generated/YGFlexTest.test.ts index e5e1cab846..3320a4b414 100644 --- a/javascript/tests/generated/YGFlexTest.test.ts +++ b/javascript/tests/generated/YGFlexTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGFlexWrapTest.test.ts b/javascript/tests/generated/YGFlexWrapTest.test.ts index 1b60aa88f6..ccae33d810 100644 --- a/javascript/tests/generated/YGFlexWrapTest.test.ts +++ b/javascript/tests/generated/YGFlexWrapTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexWrapTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexWrapTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGGapTest.test.ts b/javascript/tests/generated/YGGapTest.test.ts index 787dfa73eb..9ebdc24ce3 100644 --- a/javascript/tests/generated/YGGapTest.test.ts +++ b/javascript/tests/generated/YGGapTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<6c74741b8c1f065f50e209df81508dfa>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGGapTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGGapTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGJustifyContentTest.test.ts b/javascript/tests/generated/YGJustifyContentTest.test.ts index bd63c95865..b2b1746fa3 100644 --- a/javascript/tests/generated/YGJustifyContentTest.test.ts +++ b/javascript/tests/generated/YGJustifyContentTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<1fdeca7eb4d706ca8ed52add50aa7c70>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGJustifyContentTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGJustifyContentTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGMarginTest.test.ts b/javascript/tests/generated/YGMarginTest.test.ts index 37b249cb87..aac348353f 100644 --- a/javascript/tests/generated/YGMarginTest.test.ts +++ b/javascript/tests/generated/YGMarginTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<93d5e518e445549782e4f3670df5429a>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMarginTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGMarginTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGMinMaxDimensionTest.test.ts b/javascript/tests/generated/YGMinMaxDimensionTest.test.ts index 4613d34cec..e077da6298 100644 --- a/javascript/tests/generated/YGMinMaxDimensionTest.test.ts +++ b/javascript/tests/generated/YGMinMaxDimensionTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<52ab821d350bb0f9160b94658952f64e>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMinMaxDimensionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGMinMaxDimensionTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGPaddingTest.test.ts b/javascript/tests/generated/YGPaddingTest.test.ts index 738eefd7fa..6ada68aa76 100644 --- a/javascript/tests/generated/YGPaddingTest.test.ts +++ b/javascript/tests/generated/YGPaddingTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<0ede4a9387a257dee981b0be5b9bddbd>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPaddingTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGPaddingTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGPercentageTest.test.ts b/javascript/tests/generated/YGPercentageTest.test.ts index eca20625a0..184d65a932 100644 --- a/javascript/tests/generated/YGPercentageTest.test.ts +++ b/javascript/tests/generated/YGPercentageTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<31e52c7900fc207dcb99becfaa715781>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPercentageTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGPercentageTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGRoundingTest.test.ts b/javascript/tests/generated/YGRoundingTest.test.ts index c056c9b144..cb52facf7f 100644 --- a/javascript/tests/generated/YGRoundingTest.test.ts +++ b/javascript/tests/generated/YGRoundingTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<1132efa685e8c02062c77e559ae2a6ec>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGRoundingTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGRoundingTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGSizeOverflowTest.test.ts b/javascript/tests/generated/YGSizeOverflowTest.test.ts index 9864bc5998..cbcac49635 100644 --- a/javascript/tests/generated/YGSizeOverflowTest.test.ts +++ b/javascript/tests/generated/YGSizeOverflowTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<76a548184c3b6c1be615c613c3615f47>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGSizeOverflowTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGSizeOverflowTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/javascript/tests/generated/YGStaticPositionTest.test.ts b/javascript/tests/generated/YGStaticPositionTest.test.ts index 2370e7b65d..724eda3eb7 100644 --- a/javascript/tests/generated/YGStaticPositionTest.test.ts +++ b/javascript/tests/generated/YGStaticPositionTest.test.ts @@ -3,10 +3,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated SignedSource<<2b8898040d6bc7b34efc9316f4126229>> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGStaticPositionTest.html */ -// @generated by gentest/gentest.rb from gentest/fixtures/YGStaticPositionTest.html - import Yoga from 'yoga-layout'; import { Align, diff --git a/package.json b/package.json index 0eb4a53920..4e8ae2916a 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,13 @@ "scripts": { "lint": "eslint .", "lint:fix": "eslint . --fix", - "tsc": "yarn workspaces run tsc" + "tsc": "yarn workspaces run tsc", + "gentest": "yarn workspace gentest run gentest", + "gentest-validate": "yarn workspace gentest run gentest-validate" }, "workspaces": [ "javascript", + "gentest", "website-next" ], "devDependencies": { diff --git a/tests/generated/YGAbsolutePositionTest.cpp b/tests/generated/YGAbsolutePositionTest.cpp index 0e6e497cf0..553f3fe4b6 100644 --- a/tests/generated/YGAbsolutePositionTest.cpp +++ b/tests/generated/YGAbsolutePositionTest.cpp @@ -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.rb from gentest/fixtures/YGAbsolutePositionTest.html - #include #include @@ -1132,8 +1133,6 @@ TEST(YogaTest, percent_absolute_position_infinite_height) { } TEST(YogaTest, absolute_layout_percentage_height_based_on_padded_parent) { - GTEST_SKIP(); - const YGConfigRef config = YGConfigNew(); YGConfigSetExperimentalFeatureEnabled(config, YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge, true); diff --git a/tests/generated/YGAlignContentTest.cpp b/tests/generated/YGAlignContentTest.cpp index cb08c81080..77f617c373 100644 --- a/tests/generated/YGAlignContentTest.cpp +++ b/tests/generated/YGAlignContentTest.cpp @@ -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.rb from gentest/fixtures/YGAlignContentTest.html - #include #include diff --git a/tests/generated/YGAlignItemsTest.cpp b/tests/generated/YGAlignItemsTest.cpp index d2dd8b147f..b2f9d3ff32 100644 --- a/tests/generated/YGAlignItemsTest.cpp +++ b/tests/generated/YGAlignItemsTest.cpp @@ -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.rb from gentest/fixtures/YGAlignItemsTest.html - #include #include diff --git a/tests/generated/YGAlignSelfTest.cpp b/tests/generated/YGAlignSelfTest.cpp index 3f15507e94..154b57d6e8 100644 --- a/tests/generated/YGAlignSelfTest.cpp +++ b/tests/generated/YGAlignSelfTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAlignSelfTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html - #include #include diff --git a/tests/generated/YGAndroidNewsFeed.cpp b/tests/generated/YGAndroidNewsFeed.cpp index 77840d1ea2..d6843e0645 100644 --- a/tests/generated/YGAndroidNewsFeed.cpp +++ b/tests/generated/YGAndroidNewsFeed.cpp @@ -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.rb from gentest/fixtures/YGAndroidNewsFeed.html - #include #include diff --git a/tests/generated/YGAspectRatioTest.cpp b/tests/generated/YGAspectRatioTest.cpp index a60c12e369..9cd77e03aa 100644 --- a/tests/generated/YGAspectRatioTest.cpp +++ b/tests/generated/YGAspectRatioTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGAspectRatioTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGAspectRatioTest.html - #include #include diff --git a/tests/generated/YGBorderTest.cpp b/tests/generated/YGBorderTest.cpp index 2cd1ced134..cb8542e6f6 100644 --- a/tests/generated/YGBorderTest.cpp +++ b/tests/generated/YGBorderTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGBorderTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGBorderTest.html - #include #include diff --git a/tests/generated/YGDimensionTest.cpp b/tests/generated/YGDimensionTest.cpp index fe481207b6..d0cf9906a9 100644 --- a/tests/generated/YGDimensionTest.cpp +++ b/tests/generated/YGDimensionTest.cpp @@ -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.rb from gentest/fixtures/YGDimensionTest.html - #include #include diff --git a/tests/generated/YGDisplayTest.cpp b/tests/generated/YGDisplayTest.cpp index 2d93bb3d7c..cf446b936b 100644 --- a/tests/generated/YGDisplayTest.cpp +++ b/tests/generated/YGDisplayTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGDisplayTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGDisplayTest.html - #include #include diff --git a/tests/generated/YGFlexDirectionTest.cpp b/tests/generated/YGFlexDirectionTest.cpp index f0aa1f5e26..108528bb7d 100644 --- a/tests/generated/YGFlexDirectionTest.cpp +++ b/tests/generated/YGFlexDirectionTest.cpp @@ -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.rb from gentest/fixtures/YGFlexDirectionTest.html - #include #include diff --git a/tests/generated/YGFlexTest.cpp b/tests/generated/YGFlexTest.cpp index f4c3cfcd28..b5ab040992 100644 --- a/tests/generated/YGFlexTest.cpp +++ b/tests/generated/YGFlexTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexTest.html - #include #include diff --git a/tests/generated/YGFlexWrapTest.cpp b/tests/generated/YGFlexWrapTest.cpp index cc7e64c854..daf6e110ff 100644 --- a/tests/generated/YGFlexWrapTest.cpp +++ b/tests/generated/YGFlexWrapTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGFlexWrapTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexWrapTest.html - #include #include diff --git a/tests/generated/YGGapTest.cpp b/tests/generated/YGGapTest.cpp index cf3db9db71..8a8b8f43f4 100644 --- a/tests/generated/YGGapTest.cpp +++ b/tests/generated/YGGapTest.cpp @@ -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.rb from gentest/fixtures/YGGapTest.html - #include #include diff --git a/tests/generated/YGJustifyContentTest.cpp b/tests/generated/YGJustifyContentTest.cpp index 4a484fb86e..e61a009df5 100644 --- a/tests/generated/YGJustifyContentTest.cpp +++ b/tests/generated/YGJustifyContentTest.cpp @@ -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.rb from gentest/fixtures/YGJustifyContentTest.html - #include #include diff --git a/tests/generated/YGMarginTest.cpp b/tests/generated/YGMarginTest.cpp index fc1977e5ca..8c0ce19632 100644 --- a/tests/generated/YGMarginTest.cpp +++ b/tests/generated/YGMarginTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMarginTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGMarginTest.html - #include #include diff --git a/tests/generated/YGMinMaxDimensionTest.cpp b/tests/generated/YGMinMaxDimensionTest.cpp index 693bd132e5..6d46daf717 100644 --- a/tests/generated/YGMinMaxDimensionTest.cpp +++ b/tests/generated/YGMinMaxDimensionTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGMinMaxDimensionTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGMinMaxDimensionTest.html - #include #include diff --git a/tests/generated/YGPaddingTest.cpp b/tests/generated/YGPaddingTest.cpp index 2716fe0183..54085be27f 100644 --- a/tests/generated/YGPaddingTest.cpp +++ b/tests/generated/YGPaddingTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPaddingTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGPaddingTest.html - #include #include diff --git a/tests/generated/YGPercentageTest.cpp b/tests/generated/YGPercentageTest.cpp index 59b2c1ed96..1e3e0a6fa4 100644 --- a/tests/generated/YGPercentageTest.cpp +++ b/tests/generated/YGPercentageTest.cpp @@ -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<> + * generated by gentest/gentest-driver.ts from gentest/fixtures/YGPercentageTest.html */ -// clang-format off -// @generated by gentest/gentest.rb from gentest/fixtures/YGPercentageTest.html - #include #include diff --git a/tests/generated/YGRoundingTest.cpp b/tests/generated/YGRoundingTest.cpp index 363aa376c1..e34497b62e 100644 --- a/tests/generated/YGRoundingTest.cpp +++ b/tests/generated/YGRoundingTest.cpp @@ -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.rb from gentest/fixtures/YGRoundingTest.html - #include #include diff --git a/tests/generated/YGSizeOverflowTest.cpp b/tests/generated/YGSizeOverflowTest.cpp index 163a270155..7bb58cdea6 100644 --- a/tests/generated/YGSizeOverflowTest.cpp +++ b/tests/generated/YGSizeOverflowTest.cpp @@ -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.rb from gentest/fixtures/YGSizeOverflowTest.html - #include #include diff --git a/tests/generated/YGStaticPositionTest.cpp b/tests/generated/YGStaticPositionTest.cpp index 22c2c56e21..017b778b00 100644 --- a/tests/generated/YGStaticPositionTest.cpp +++ b/tests/generated/YGStaticPositionTest.cpp @@ -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.rb from gentest/fixtures/YGStaticPositionTest.html - #include #include diff --git a/yarn.lock b/yarn.lock index 09294c32d7..6c21779f5b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2284,6 +2284,11 @@ resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== +"@tsconfig/node18@^18.2.2": + version "18.2.2" + resolved "https://registry.yarnpkg.com/@tsconfig/node18/-/node18-18.2.2.tgz#81fb16ecff0d400b1cbadbf76713b50f331029ce" + integrity sha512-d6McJeGsuoRlwWZmVIeE8CUA27lu6jLjvv1JzqmpsytOYYbVi1tHZEnwCNVOXnj4pyLvneZlFlpXUK+X9wBWyw== + "@types/acorn@^4.0.0": version "4.0.6" resolved "https://registry.yarnpkg.com/@types/acorn/-/acorn-4.0.6.tgz#d61ca5480300ac41a7d973dd5b84d0a591154a22" @@ -2517,6 +2522,11 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== +"@types/minimist@^1.2.5": + version "1.2.5" + resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" + integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== + "@types/ms@*": version "0.7.33" resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.33.tgz#80bf1da64b15f21fd8c1dc387c31929317d99ee9" @@ -2542,6 +2552,13 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.45.tgz#2c0fafd78705e7a18b7906b5201a522719dc5190" integrity sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw== +"@types/node@^20.10.3": + version "20.10.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.4.tgz#b246fd84d55d5b1b71bf51f964bd514409347198" + integrity sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg== + dependencies: + undici-types "~5.26.4" + "@types/parse-json@^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" @@ -2624,6 +2641,13 @@ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.3.tgz#cef09e3ec9af1d63d2a6cc5b383a737e24e6dcf5" integrity sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ== +"@types/selenium-webdriver@^4.1.21": + version "4.1.21" + resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-4.1.21.tgz#79fe31faf9953a4143c3e32944d98d5146bbe185" + integrity sha512-QGURnImvxYlIQz5DVhvHdqpYNLBjhJ2Vm+cnQI2G9QZzkWlZm0LkLcvDcHp+qE6N2KBz4CeuvXgPO7W3XQ0Tyw== + dependencies: + "@types/ws" "*" + "@types/semver@^7.3.12": version "7.3.13" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91" @@ -2679,6 +2703,13 @@ resolved "https://registry.yarnpkg.com/@types/which/-/which-3.0.0.tgz#849afdd9fdcb0b67339b9cfc80fa6ea4e0253fc5" integrity sha512-ASCxdbsrwNfSMXALlC3Decif9rwDMu+80KGp5zI2RLRotfMsTv7fHL8W8VDp24wymzDyIFudhUeSCugrgRFfHQ== +"@types/ws@*": + version "8.5.10" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787" + integrity sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A== + dependencies: + "@types/node" "*" + "@types/ws@^8.5.5": version "8.5.5" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.5.tgz#af587964aa06682702ee6dcbc7be41a80e4b28eb" @@ -5809,6 +5840,11 @@ image-size@^1.0.2: dependencies: queue "6.0.2" +immediate@~3.0.5: + version "3.0.6" + resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" + integrity sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ== + immer@^9.0.7: version "9.0.21" resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.21.tgz#1e025ea31a40f24fb064f1fef23e931496330176" @@ -6624,6 +6660,16 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" +jszip@^3.10.1: + version "3.10.1" + resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.10.1.tgz#34aee70eb18ea1faec2f589208a157d1feb091c2" + integrity sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g== + dependencies: + lie "~3.3.0" + pako "~1.0.2" + readable-stream "~2.3.6" + setimmediate "^1.0.5" + "just-scripts-utils@>=1.2.0 <2.0.0": version "1.2.0" resolved "https://registry.yarnpkg.com/just-scripts-utils/-/just-scripts-utils-1.2.0.tgz#232a768a1083626e47c29c749e33d964ee027d56" @@ -6733,6 +6779,13 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" +lie@~3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" + integrity sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ== + dependencies: + immediate "~3.0.5" + lilconfig@^2.0.3: version "2.1.0" resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52" @@ -8078,6 +8131,11 @@ package-json@^8.1.0: registry-url "^6.0.0" semver "^7.3.7" +pako@~1.0.2: + version "1.0.11" + resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== + param-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" @@ -8849,7 +8907,7 @@ react@^18.0.0: dependencies: loose-envify "^1.1.0" -readable-stream@^2.0.1: +readable-stream@^2.0.1, readable-stream@~2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== @@ -9155,7 +9213,7 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@^3.0.2: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -9259,6 +9317,15 @@ select-hose@^2.0.0: resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" integrity sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg== +selenium-webdriver@^4.16.0: + version "4.16.0" + resolved "https://registry.yarnpkg.com/selenium-webdriver/-/selenium-webdriver-4.16.0.tgz#2f1a2426d876aa389d1c937b00f034c2c7808360" + integrity sha512-IbqpRpfGE7JDGgXHJeWuCqT/tUqnLvZ14csSwt+S8o4nJo3RtQoE9VR4jB47tP/A8ArkYsh/THuMY6kyRP6kuA== + dependencies: + jszip "^3.10.1" + tmp "^0.2.1" + ws ">=8.14.2" + selfsigned@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.1.1.tgz#18a7613d714c0cd3385c48af0075abf3f266af61" @@ -9360,6 +9427,11 @@ serve-static@1.15.0: parseurl "~1.3.3" send "0.18.0" +setimmediate@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" + integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== + setprototypeof@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" @@ -9422,6 +9494,11 @@ signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signedsource@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/signedsource/-/signedsource-2.0.0.tgz#f72dc0f98f5bca2763b464a555511a84a4da8eee" + integrity sha512-MscTxXbMij5JVgrW1xDiMIc+vFa0+H0+HP+rRrFjwa7ef2VAxIP/4L/E75I5H4xvyb4l1X+a9ch+6Zy5uFu7Fg== + sirv@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/sirv/-/sirv-2.0.3.tgz#ca5868b87205a74bef62a469ed0296abceccd446" @@ -9845,6 +9922,13 @@ tiny-warning@^1.0.0: resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== +tmp@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" + integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== + dependencies: + rimraf "^3.0.0" + tmpl@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -9992,6 +10076,11 @@ undertaker@^1.3.0: object.reduce "^1.0.0" undertaker-registry "^1.0.0" +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -10475,6 +10564,11 @@ write-file-atomic@^4.0.1: imurmurhash "^0.1.4" signal-exit "^3.0.7" +ws@>=8.14.2: + version "8.14.2" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.14.2.tgz#6c249a806eb2db7a20d26d51e7709eab7b2e6c7f" + integrity sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g== + ws@^7.3.1: version "7.5.9" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591"