Re-generate wrap tests

Summary: Seems someone forgot to run the generation script

Reviewed By: astreet

Differential Revision: D4627337

fbshipit-source-id: 17dd1e1fed938a049ae820a9a4ac913667073d09
This commit is contained in:
Emil Sjolander
2017-03-01 06:18:31 -08:00
committed by Facebook Github Bot
parent b940fadb7e
commit 3790635af1
4 changed files with 660 additions and 660 deletions

View File

@@ -1212,7 +1212,7 @@ namespace Facebook.Yoga
}
[Test]
public void Test_wrapped_row_within_align_items_center2()
public void Test_wrapped_row_within_align_items_flex_start()
{
YogaNode root = new YogaNode();
root.AlignItems = YogaAlign.FlexStart;
@@ -1281,7 +1281,7 @@ namespace Facebook.Yoga
}
[Test]
public void Test_wrapped_row_within_align_items_center3()
public void Test_wrapped_row_within_align_items_flex_end()
{
YogaNode root = new YogaNode();
root.AlignItems = YogaAlign.FlexEnd;

View File

@@ -1197,7 +1197,7 @@ public class YGFlexWrapTest {
}
@Test
public void test_wrapped_row_within_align_items_center2() {
public void test_wrapped_row_within_align_items_flex_start() {
final YogaNode root = new YogaNode();
root.setAlignItems(YogaAlign.FLEX_START);
root.setWidth(200f);
@@ -1265,7 +1265,7 @@ public class YGFlexWrapTest {
}
@Test
public void test_wrapped_row_within_align_items_center3() {
public void test_wrapped_row_within_align_items_flex_end() {
final YogaNode root = new YogaNode();
root.setAlignItems(YogaAlign.FLEX_END);
root.setWidth(200f);

View File

@@ -546,6 +546,7 @@ it("flex_wrap_align_stretch_fits_one_row", function () {
}
});
it("wrap_reverse_row_align_content_flex_start", function () {
try {
var root = Yoga.Node.create();
root.setFlexDirection(Yoga.FLEX_DIRECTION_ROW);
root.setFlexWrap(Yoga.WRAP_WRAP_REVERSE);
@@ -638,14 +639,14 @@ it("wrap_reverse_row_align_content_flex_start", function () {
console.assert(0 === root_child4.getComputedTop(), "0 === root_child4.getComputedTop() (" + root_child4.getComputedTop() + ")");
console.assert(30 === root_child4.getComputedWidth(), "30 === root_child4.getComputedWidth() (" + root_child4.getComputedWidth() + ")");
console.assert(50 === root_child4.getComputedHeight(), "50 === root_child4.getComputedHeight() (" + root_child4.getComputedHeight() + ")");
if (typeof root !== "undefined")
} finally {
if (typeof root !== "undefined") {
root.freeRecursive();
(typeof gc !== "undefined") && gc();
console.assert(0 === Yoga.getInstanceCount(), "0 === Yoga.getInstanceCount() (" + Yoga.getInstanceCount() + ")");
}
}
});
it("wrap_reverse_row_align_content_center", function () {
try {
var root = Yoga.Node.create();
root.setFlexDirection(Yoga.FLEX_DIRECTION_ROW);
root.setAlignContent(Yoga.ALIGN_CENTER);
@@ -739,14 +740,14 @@ it("wrap_reverse_row_align_content_center", function () {
console.assert(0 === root_child4.getComputedTop(), "0 === root_child4.getComputedTop() (" + root_child4.getComputedTop() + ")");
console.assert(30 === root_child4.getComputedWidth(), "30 === root_child4.getComputedWidth() (" + root_child4.getComputedWidth() + ")");
console.assert(50 === root_child4.getComputedHeight(), "50 === root_child4.getComputedHeight() (" + root_child4.getComputedHeight() + ")");
if (typeof root !== "undefined")
} finally {
if (typeof root !== "undefined") {
root.freeRecursive();
(typeof gc !== "undefined") && gc();
console.assert(0 === Yoga.getInstanceCount(), "0 === Yoga.getInstanceCount() (" + Yoga.getInstanceCount() + ")");
}
}
});
it("wrap_reverse_row_single_line_different_size", function () {
try {
var root = Yoga.Node.create();
root.setFlexDirection(Yoga.FLEX_DIRECTION_ROW);
root.setFlexWrap(Yoga.WRAP_WRAP_REVERSE);
@@ -839,14 +840,14 @@ it("wrap_reverse_row_single_line_different_size", function () {
console.assert(0 === root_child4.getComputedTop(), "0 === root_child4.getComputedTop() (" + root_child4.getComputedTop() + ")");
console.assert(30 === root_child4.getComputedWidth(), "30 === root_child4.getComputedWidth() (" + root_child4.getComputedWidth() + ")");
console.assert(50 === root_child4.getComputedHeight(), "50 === root_child4.getComputedHeight() (" + root_child4.getComputedHeight() + ")");
if (typeof root !== "undefined")
} finally {
if (typeof root !== "undefined") {
root.freeRecursive();
(typeof gc !== "undefined") && gc();
console.assert(0 === Yoga.getInstanceCount(), "0 === Yoga.getInstanceCount() (" + Yoga.getInstanceCount() + ")");
}
}
});
it("wrap_reverse_row_align_content_stretch", function () {
try {
var root = Yoga.Node.create();
root.setFlexDirection(Yoga.FLEX_DIRECTION_ROW);
root.setAlignContent(Yoga.ALIGN_STRETCH);
@@ -940,14 +941,14 @@ it("wrap_reverse_row_align_content_stretch", function () {
console.assert(0 === root_child4.getComputedTop(), "0 === root_child4.getComputedTop() (" + root_child4.getComputedTop() + ")");
console.assert(30 === root_child4.getComputedWidth(), "30 === root_child4.getComputedWidth() (" + root_child4.getComputedWidth() + ")");
console.assert(50 === root_child4.getComputedHeight(), "50 === root_child4.getComputedHeight() (" + root_child4.getComputedHeight() + ")");
if (typeof root !== "undefined")
} finally {
if (typeof root !== "undefined") {
root.freeRecursive();
(typeof gc !== "undefined") && gc();
console.assert(0 === Yoga.getInstanceCount(), "0 === Yoga.getInstanceCount() (" + Yoga.getInstanceCount() + ")");
}
}
});
it("wrap_reverse_row_align_content_space_around", function () {
try {
var root = Yoga.Node.create();
root.setFlexDirection(Yoga.FLEX_DIRECTION_ROW);
root.setAlignContent(Yoga.ALIGN_SPACE_AROUND);
@@ -1041,14 +1042,14 @@ it("wrap_reverse_row_align_content_space_around", function () {
console.assert(0 === root_child4.getComputedTop(), "0 === root_child4.getComputedTop() (" + root_child4.getComputedTop() + ")");
console.assert(30 === root_child4.getComputedWidth(), "30 === root_child4.getComputedWidth() (" + root_child4.getComputedWidth() + ")");
console.assert(50 === root_child4.getComputedHeight(), "50 === root_child4.getComputedHeight() (" + root_child4.getComputedHeight() + ")");
if (typeof root !== "undefined")
} finally {
if (typeof root !== "undefined") {
root.freeRecursive();
(typeof gc !== "undefined") && gc();
console.assert(0 === Yoga.getInstanceCount(), "0 === Yoga.getInstanceCount() (" + Yoga.getInstanceCount() + ")");
}
}
});
it("wrap_reverse_column_fixed_size", function () {
try {
var root = Yoga.Node.create();
root.setAlignItems(Yoga.ALIGN_CENTER);
root.setFlexWrap(Yoga.WRAP_WRAP_REVERSE);
@@ -1142,14 +1143,14 @@ it("wrap_reverse_column_fixed_size", function () {
console.assert(0 === root_child4.getComputedTop(), "0 === root_child4.getComputedTop() (" + root_child4.getComputedTop() + ")");
console.assert(30 === root_child4.getComputedWidth(), "30 === root_child4.getComputedWidth() (" + root_child4.getComputedWidth() + ")");
console.assert(50 === root_child4.getComputedHeight(), "50 === root_child4.getComputedHeight() (" + root_child4.getComputedHeight() + ")");
if (typeof root !== "undefined")
} finally {
if (typeof root !== "undefined") {
root.freeRecursive();
(typeof gc !== "undefined") && gc();
console.assert(0 === Yoga.getInstanceCount(), "0 === Yoga.getInstanceCount() (" + Yoga.getInstanceCount() + ")");
}
}
});
it("wrapped_row_within_align_items_center", function () {
try {
var root = Yoga.Node.create();
root.setAlignItems(Yoga.ALIGN_CENTER);
root.setWidth(200);
@@ -1212,14 +1213,14 @@ it("wrapped_row_within_align_items_center", function () {
console.assert(80 === root_child0_child1.getComputedTop(), "80 === root_child0_child1.getComputedTop() (" + root_child0_child1.getComputedTop() + ")");
console.assert(80 === root_child0_child1.getComputedWidth(), "80 === root_child0_child1.getComputedWidth() (" + root_child0_child1.getComputedWidth() + ")");
console.assert(80 === root_child0_child1.getComputedHeight(), "80 === root_child0_child1.getComputedHeight() (" + root_child0_child1.getComputedHeight() + ")");
if (typeof root !== "undefined")
} finally {
if (typeof root !== "undefined") {
root.freeRecursive();
(typeof gc !== "undefined") && gc();
console.assert(0 === Yoga.getInstanceCount(), "0 === Yoga.getInstanceCount() (" + Yoga.getInstanceCount() + ")");
}
}
});
it("wrapped_row_within_align_items_center2", function () {
it("wrapped_row_within_align_items_flex_start", function () {
try {
var root = Yoga.Node.create();
root.setAlignItems(Yoga.ALIGN_FLEX_START);
root.setWidth(200);
@@ -1282,14 +1283,14 @@ it("wrapped_row_within_align_items_center2", function () {
console.assert(80 === root_child0_child1.getComputedTop(), "80 === root_child0_child1.getComputedTop() (" + root_child0_child1.getComputedTop() + ")");
console.assert(80 === root_child0_child1.getComputedWidth(), "80 === root_child0_child1.getComputedWidth() (" + root_child0_child1.getComputedWidth() + ")");
console.assert(80 === root_child0_child1.getComputedHeight(), "80 === root_child0_child1.getComputedHeight() (" + root_child0_child1.getComputedHeight() + ")");
if (typeof root !== "undefined")
} finally {
if (typeof root !== "undefined") {
root.freeRecursive();
(typeof gc !== "undefined") && gc();
console.assert(0 === Yoga.getInstanceCount(), "0 === Yoga.getInstanceCount() (" + Yoga.getInstanceCount() + ")");
}
}
});
it("wrapped_row_within_align_items_center3", function () {
it("wrapped_row_within_align_items_flex_end", function () {
try {
var root = Yoga.Node.create();
root.setAlignItems(Yoga.ALIGN_FLEX_END);
root.setWidth(200);
@@ -1352,10 +1353,9 @@ it("wrapped_row_within_align_items_center3", function () {
console.assert(80 === root_child0_child1.getComputedTop(), "80 === root_child0_child1.getComputedTop() (" + root_child0_child1.getComputedTop() + ")");
console.assert(80 === root_child0_child1.getComputedWidth(), "80 === root_child0_child1.getComputedWidth() (" + root_child0_child1.getComputedWidth() + ")");
console.assert(80 === root_child0_child1.getComputedHeight(), "80 === root_child0_child1.getComputedHeight() (" + root_child0_child1.getComputedHeight() + ")");
if (typeof root !== "undefined")
} finally {
if (typeof root !== "undefined") {
root.freeRecursive();
(typeof gc !== "undefined") && gc();
console.assert(0 === Yoga.getInstanceCount(), "0 === Yoga.getInstanceCount() (" + Yoga.getInstanceCount() + ")");
}
}
});

View File

@@ -1178,7 +1178,7 @@ TEST(YogaTest, wrapped_row_within_align_items_center) {
YGNodeFreeRecursive(root);
}
TEST(YogaTest, wrapped_row_within_align_items_center2) {
TEST(YogaTest, wrapped_row_within_align_items_flex_start) {
const YGNodeRef root = YGNodeNew();
YGNodeStyleSetAlignItems(root, YGAlignFlexStart);
YGNodeStyleSetWidth(root, 200);
@@ -1245,7 +1245,7 @@ TEST(YogaTest, wrapped_row_within_align_items_center2) {
YGNodeFreeRecursive(root);
}
TEST(YogaTest, wrapped_row_within_align_items_center3) {
TEST(YogaTest, wrapped_row_within_align_items_flex_end) {
const YGNodeRef root = YGNodeNew();
YGNodeStyleSetAlignItems(root, YGAlignFlexEnd);
YGNodeStyleSetWidth(root, 200);