Skip to content

Commit

Permalink
Rename tests
Browse files Browse the repository at this point in the history
Summary: Rename test files to use new name

Reviewed By: gkassabli

Differential Revision: D4265235

fbshipit-source-id: 0090d3949828058baf7435f33d4068de92756bad
  • Loading branch information
Emil Sjolander authored and Facebook Github Bot committed Dec 3, 2016
1 parent dda24b1 commit 6339467
Show file tree
Hide file tree
Showing 69 changed files with 203 additions and 203 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutAbsolutePositionTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGAbsolutePositionTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutAbsolutePositionTest
public class YGAbsolutePositionTest
{
[Test]
public void Test_absolute_layout_width_height_start_top()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutAlignContentTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGAlignContentTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutAlignContentTest
public class YGAlignContentTest
{
[Test]
public void Test_align_content_flex_start()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutAlignItemsTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGAlignItemsTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutAlignItemsTest
public class YGAlignItemsTest
{
[Test]
public void Test_align_items_stretch()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutAlignSelfTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutAlignSelfTest
public class YGAlignSelfTest
{
[Test]
public void Test_align_self_center()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutBorderTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGBorderTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutBorderTest
public class YGBorderTest
{
[Test]
public void Test_border_no_size()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutFlexDirectionTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGFlexDirectionTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutFlexDirectionTest
public class YGFlexDirectionTest
{
[Test]
public void Test_flex_direction_column_no_height()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutFlexTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGFlexTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutFlexTest
public class YGFlexTest
{
[Test]
public void Test_flex_basis_flex_grow_column()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutFlexWrapTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGFlexWrapTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutFlexWrapTest
public class YGFlexWrapTest
{
[Test]
public void Test_wrap_column()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutJustifyContentTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGJustifyContentTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutJustifyContentTest
public class YGJustifyContentTest
{
[Test]
public void Test_justify_content_row_flex_start()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutMarginTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGMarginTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutMarginTest
public class YGMarginTest
{
[Test]
public void Test_margin_start()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutMinMaxDimensionTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGMinMaxDimensionTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutMinMaxDimensionTest
public class YGMinMaxDimensionTest
{
[Test]
public void Test_max_width()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutPaddingTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGPaddingTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutPaddingTest
public class YGPaddingTest
{
[Test]
public void Test_padding_no_size()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

// @Generated by gentest/gentest.rb from gentest/fixtures/CSSLayoutRoundingTest.html
// @Generated by gentest/gentest.rb from gentest/fixtures/YGRoundingTest.html

using System;
using NUnit.Framework;

namespace Facebook.Yoga
{
[TestFixture]
public class CSSLayoutRoundingTest
public class YGRoundingTest
{
[Test]
public void Test_rounding_flex_basis_flex_grow_row_width_of_100()
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
56 changes: 28 additions & 28 deletions gentest/gentest-cpp.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,115 +108,115 @@ CPPEmitter.prototype = Object.create(Emitter.prototype, {

YGUndefined:{value:'YGUndefined'},

CSSNodeCalculateLayout:{value:function(node, dir) {
YGNodeCalculateLayout:{value:function(node, dir) {
this.push('YGNodeCalculateLayout(' + node + ', YGUndefined, YGUndefined, ' + dir + ');');
}},

CSSNodeInsertChild:{value:function(parentName, nodeName, index) {
YGNodeInsertChild:{value:function(parentName, nodeName, index) {
this.push('YGNodeInsertChild(' + parentName + ', ' + nodeName + ', ' + index + ');');
}},

CSSNodeLayoutGetLeft:{value:function(nodeName) {
YGNodeLayoutGetLeft:{value:function(nodeName) {
return 'YGNodeLayoutGetLeft(' + nodeName + ')';
}},

CSSNodeLayoutGetTop:{value:function(nodeName) {
YGNodeLayoutGetTop:{value:function(nodeName) {
return 'YGNodeLayoutGetTop(' + nodeName + ')';
}},

CSSNodeLayoutGetWidth:{value:function(nodeName) {
YGNodeLayoutGetWidth:{value:function(nodeName) {
return 'YGNodeLayoutGetWidth(' + nodeName + ')';
}},

CSSNodeLayoutGetHeight:{value:function(nodeName) {
YGNodeLayoutGetHeight:{value:function(nodeName) {
return 'YGNodeLayoutGetHeight(' + nodeName + ')';
}},

CSSNodeStyleSetAlignContent:{value:function(nodeName, value) {
YGNodeStyleSetAlignContent:{value:function(nodeName, value) {
this.push('YGNodeStyleSetAlignContent(' + nodeName + ', ' + value + ');');
}},

CSSNodeStyleSetAlignItems:{value:function(nodeName, value) {
YGNodeStyleSetAlignItems:{value:function(nodeName, value) {
this.push('YGNodeStyleSetAlignItems(' + nodeName + ', ' + value + ');');
}},

CSSNodeStyleSetAlignSelf:{value:function(nodeName, value) {
YGNodeStyleSetAlignSelf:{value:function(nodeName, value) {
this.push('YGNodeStyleSetAlignSelf(' + nodeName + ', ' + value + ');');
}},

CSSNodeStyleSetBorder:{value:function(nodeName, edge, value) {
YGNodeStyleSetBorder:{value:function(nodeName, edge, value) {
this.push('YGNodeStyleSetBorder(' + nodeName + ', ' + edge + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetDirection:{value:function(nodeName, value) {
YGNodeStyleSetDirection:{value:function(nodeName, value) {
this.push('YGNodeStyleSetDirection(' + nodeName + ', ' + value + ');');
}},

CSSNodeStyleSetFlexBasis:{value:function(nodeName, value) {
YGNodeStyleSetFlexBasis:{value:function(nodeName, value) {
this.push('YGNodeStyleSetFlexBasis(' + nodeName + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetFlexDirection:{value:function(nodeName, value) {
YGNodeStyleSetFlexDirection:{value:function(nodeName, value) {
this.push('YGNodeStyleSetFlexDirection(' + nodeName + ', ' + value + ');');
}},

CSSNodeStyleSetFlexGrow:{value:function(nodeName, value) {
YGNodeStyleSetFlexGrow:{value:function(nodeName, value) {
this.push('YGNodeStyleSetFlexGrow(' + nodeName + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetFlexShrink:{value:function(nodeName, value) {
YGNodeStyleSetFlexShrink:{value:function(nodeName, value) {
this.push('YGNodeStyleSetFlexShrink(' + nodeName + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetFlexWrap:{value:function(nodeName, value) {
YGNodeStyleSetFlexWrap:{value:function(nodeName, value) {
this.push('YGNodeStyleSetFlexWrap(' + nodeName + ', ' + value + ');');
}},

CSSNodeStyleSetHeight:{value:function(nodeName, value) {
YGNodeStyleSetHeight:{value:function(nodeName, value) {
this.push('YGNodeStyleSetHeight(' + nodeName + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetJustifyContent:{value:function(nodeName, value) {
YGNodeStyleSetJustifyContent:{value:function(nodeName, value) {
this.push('YGNodeStyleSetJustifyContent(' + nodeName + ', ' + value + ');');
}},

CSSNodeStyleSetMargin:{value:function(nodeName, edge, value) {
YGNodeStyleSetMargin:{value:function(nodeName, edge, value) {
this.push('YGNodeStyleSetMargin(' + nodeName + ', ' + edge + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetMaxHeight:{value:function(nodeName, value) {
YGNodeStyleSetMaxHeight:{value:function(nodeName, value) {
this.push('YGNodeStyleSetMaxHeight(' + nodeName + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetMaxWidth:{value:function(nodeName, value) {
YGNodeStyleSetMaxWidth:{value:function(nodeName, value) {
this.push('YGNodeStyleSetMaxWidth(' + nodeName + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetMinHeight:{value:function(nodeName, value) {
YGNodeStyleSetMinHeight:{value:function(nodeName, value) {
this.push('YGNodeStyleSetMinHeight(' + nodeName + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetMinWidth:{value:function(nodeName, value) {
YGNodeStyleSetMinWidth:{value:function(nodeName, value) {
this.push('YGNodeStyleSetMinWidth(' + nodeName + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetOverflow:{value:function(nodeName, value) {
YGNodeStyleSetOverflow:{value:function(nodeName, value) {
this.push('YGNodeStyleSetOverflow(' + nodeName + ', ' + value + ');');
}},

CSSNodeStyleSetPadding:{value:function(nodeName, edge, value) {
YGNodeStyleSetPadding:{value:function(nodeName, edge, value) {
this.push('YGNodeStyleSetPadding(' + nodeName + ', ' + edge + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetPosition:{value:function(nodeName, edge, value) {
YGNodeStyleSetPosition:{value:function(nodeName, edge, value) {
this.push('YGNodeStyleSetPosition(' + nodeName + ', ' + edge + ', ' + toFloatString(value) + ');');
}},

CSSNodeStyleSetPositionType:{value:function(nodeName, value) {
YGNodeStyleSetPositionType:{value:function(nodeName, value) {
this.push('YGNodeStyleSetPositionType(' + nodeName + ', ' + value + ');');
}},

CSSNodeStyleSetWidth:{value:function(nodeName, value) {
YGNodeStyleSetWidth:{value:function(nodeName, value) {
this.push('YGNodeStyleSetWidth(' + nodeName + ', ' + toFloatString(value) + ');');
}},
});
Loading

0 comments on commit 6339467

Please sign in to comment.