update tests
This commit is contained in:
@@ -33,7 +33,7 @@ JavascriptEmitter.prototype = Object.create(Emitter.prototype, {
|
|||||||
|
|
||||||
emitPrologue:{value:function() {
|
emitPrologue:{value:function() {
|
||||||
this.push([
|
this.push([
|
||||||
'var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);',
|
'var Yoga = Yoga || require("../../dist");',
|
||||||
''
|
''
|
||||||
]);
|
]);
|
||||||
}},
|
}},
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGAbsolutePositionTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGAbsolutePositionTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("absolute_layout_width_height_start_top", function () {
|
it("absolute_layout_width_height_start_top", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("align_baseline_parent_using_child_in_column_as_reference", function () {
|
it("align_baseline_parent_using_child_in_column_as_reference", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignContentTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignContentTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("align_content_flex_start", function () {
|
it("align_content_flex_start", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignItemsTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignItemsTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("align_items_stretch", function () {
|
it("align_items_stretch", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("align_self_center", function () {
|
it("align_self_center", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGAndroidNewsFeed.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGAndroidNewsFeed.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("android_news_feed", function () {
|
it("android_news_feed", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGBorderTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGBorderTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("border_no_size", function () {
|
it("border_no_size", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("border_start", function () {
|
it("border_start", function () {
|
||||||
var root = Yoga.Node.create();
|
var root = Yoga.Node.create();
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("margin_start", function () {
|
it("margin_start", function () {
|
||||||
var root = Yoga.Node.create();
|
var root = Yoga.Node.create();
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("padding_start", function () {
|
it("padding_start", function () {
|
||||||
var root = Yoga.Node.create();
|
var root = Yoga.Node.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGDimensionTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGDimensionTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("wrap_child", function () {
|
it("wrap_child", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("dirtied", function() {
|
it("dirtied", function() {
|
||||||
var root = Yoga.Node.create();
|
var root = Yoga.Node.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGDisplayTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGDisplayTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("display_none", function () {
|
it("display_none", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexDirectionTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexDirectionTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("flex_direction_column_no_height", function () {
|
it("flex_direction_column_no_height", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("flex_basis_flex_grow_column", function () {
|
it("flex_basis_flex_grow_column", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexWrapTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGFlexWrapTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("wrap_column", function () {
|
it("wrap_column", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGGapTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGGapTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("column_gap_flexible", function () {
|
it("column_gap_flexible", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGJustifyContentTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGJustifyContentTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("justify_content_row_flex_start", function () {
|
it("justify_content_row_flex_start", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGMarginTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGMarginTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("margin_start", function () {
|
it("margin_start", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("measure_once_single_flexible_child", function () {
|
it("measure_once_single_flexible_child", function () {
|
||||||
var root = Yoga.Node.create();
|
var root = Yoga.Node.create();
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("dont_measure_single_grow_shrink_child", function () {
|
it("dont_measure_single_grow_shrink_child", function () {
|
||||||
var root = Yoga.Node.create();
|
var root = Yoga.Node.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGMinMaxDimensionTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGMinMaxDimensionTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("max_width", function () {
|
it("max_width", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGPaddingTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGPaddingTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("padding_no_size", function () {
|
it("padding_no_size", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGPercentageTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGPercentageTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("percentage_width_height", function () {
|
it("percentage_width_height", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGRoundingTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGRoundingTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("rounding_flex_basis_flex_grow_row_width_of_100", function () {
|
it("rounding_flex_basis_flex_grow_row_width_of_100", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGSizeOverflowTest.html
|
// @generated by gentest/gentest.rb from gentest/fixtures/YGSizeOverflowTest.html
|
||||||
|
|
||||||
var Yoga = Yoga || require("../../sources/entry-" + process.env.TEST_ENTRY);
|
var Yoga = Yoga || require("../../dist");
|
||||||
|
|
||||||
it("nested_overflowing_child", function () {
|
it("nested_overflowing_child", function () {
|
||||||
var config = Yoga.Config.create();
|
var config = Yoga.Config.create();
|
||||||
|
Reference in New Issue
Block a user