Remove unnecesarry imports for tests
Summary: Minimal imports Reviewed By: lucasr Differential Revision: D3790919 fbshipit-source-id: 496078d8132252307ef2b3cb45472917a19d7750
This commit is contained in:
committed by
Facebook Github Bot 1
parent
94bbbde930
commit
284634c880
@@ -41,8 +41,7 @@ function printTest(rootNode, layoutTree) {
|
||||
lines.push('');
|
||||
|
||||
lines.push([
|
||||
'#include <CSSLayout/CSSLayout-internal.h>',
|
||||
'#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>',
|
||||
'#include <CSSLayout/CSSLayout.h>',
|
||||
'#include <gtest/gtest.h>',
|
||||
'',
|
||||
].reduce(function(curr, prev) {
|
||||
|
@@ -25,8 +25,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(CSSLayoutTest, absolute_layout_width_height_left_top) {
|
||||
|
@@ -41,8 +41,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(CSSLayoutTest, align_content_flex_start) {
|
||||
|
@@ -25,8 +25,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(CSSLayoutTest, align_items_stretch) {
|
||||
|
@@ -25,8 +25,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(CSSLayoutTest, align_self_center) {
|
||||
|
@@ -43,8 +43,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(CSSLayoutTest, flex_direction_column_no_height) {
|
||||
|
@@ -33,8 +33,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(CSSLayoutTest, flex_basis_flex_grow_column) {
|
||||
|
@@ -30,8 +30,7 @@
|
||||
// of their children in that dimension.
|
||||
// See diagram under flex-wrap header https://www.w3.org/TR/css-flexbox-1/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(CSSLayoutTest, wrap_column) {
|
||||
|
@@ -63,8 +63,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(CSSLayoutTest, justify_content_row_flex_start) {
|
||||
|
@@ -7,8 +7,7 @@
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
static CSSSize _measure(void *context,
|
||||
|
@@ -27,8 +27,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <CSSLayout/CSSLayout-internal.h>
|
||||
#include <CSSLayoutTestUtils/CSSLayoutTestUtils.h>
|
||||
#include <CSSLayout/CSSLayout.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(CSSLayoutTest, max_width) {
|
||||
|
Reference in New Issue
Block a user