Commit 4d0e27b9 authored by Aleks Totic's avatar Aleks Totic Committed by Chromium LUCI CQ

[TablesNG] Turn on TablesNG unit tests

Bug: 958381
Change-Id: I49b9dee34db20f27d813f867c0397e111d26214b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568267
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832556}
parent 88b206fd
......@@ -1404,6 +1404,7 @@ source_set("unit_tests") {
"layout/ng/ng_out_of_flow_layout_part_test.cc",
"layout/ng/ng_physical_box_fragment_test.cc",
"layout/ng/ng_relative_utils_test.cc",
"layout/ng/table/ng_table_layout_algorithm_helpers_test.cc",
"layout/overflow_model_test.cc",
"layout/paint_containment_test.cc",
"layout/scroll_anchor_test.cc",
......
......@@ -178,7 +178,7 @@ TEST_F(NGTableAlgorithmHelpersTest, DistributeColspanAutoExactMaxSize) {
EXPECT_EQ(column_sizes[3], column_widths[3]);
}
TEST_F(NGTableAlgorithmHelpersTest, ComputeGridInlineMinmax) {
TEST_F(NGTableAlgorithmHelpersTest, ComputeGridInlineMinMax) {
scoped_refptr<NGTableTypes::Columns> column_constraints =
base::MakeRefCounted<NGTableTypes::Columns>();
......@@ -192,7 +192,7 @@ TEST_F(NGTableAlgorithmHelpersTest, ComputeGridInlineMinmax) {
column_constraints->data.push_back(MakeColumn(20, 200));
column_constraints->data.push_back(MakeColumn(30, 300));
MinMaxSizes minmax = NGTableAlgorithmHelpers::ComputeGridInlineMinmax(
MinMaxSizes minmax = NGTableAlgorithmHelpers::ComputeGridInlineMinMax(
*column_constraints, undistributable_space, is_fixed_layout,
containing_block_expects_minmax_without_percentages,
skip_collapsed_columns);
......@@ -205,7 +205,7 @@ TEST_F(NGTableAlgorithmHelpersTest, ComputeGridInlineMinmax) {
column_constraints->data.push_back(MakeColumn(10, 99, 10));
column_constraints->data.push_back(MakeColumn(10, 10));
column_constraints->data.push_back(MakeColumn(10, 10));
minmax = NGTableAlgorithmHelpers::ComputeGridInlineMinmax(
minmax = NGTableAlgorithmHelpers::ComputeGridInlineMinMax(
*column_constraints, undistributable_space, is_fixed_layout,
containing_block_expects_minmax_without_percentages,
skip_collapsed_columns);
......@@ -214,7 +214,7 @@ TEST_F(NGTableAlgorithmHelpersTest, ComputeGridInlineMinmax) {
// Without percent, minmax ignores percent
containing_block_expects_minmax_without_percentages = true;
minmax = NGTableAlgorithmHelpers::ComputeGridInlineMinmax(
minmax = NGTableAlgorithmHelpers::ComputeGridInlineMinMax(
*column_constraints, undistributable_space, is_fixed_layout,
containing_block_expects_minmax_without_percentages,
skip_collapsed_columns);
......@@ -228,7 +228,7 @@ TEST_F(NGTableAlgorithmHelpersTest, ComputeGridInlineMinmax) {
column_constraints->data.push_back(MakeColumn(10, 100, 10));
column_constraints->data.push_back(MakeColumn(10, 10, 10));
column_constraints->data.push_back(MakeColumn(10, 800));
minmax = NGTableAlgorithmHelpers::ComputeGridInlineMinmax(
minmax = NGTableAlgorithmHelpers::ComputeGridInlineMinMax(
*column_constraints, undistributable_space, is_fixed_layout,
containing_block_expects_minmax_without_percentages,
skip_collapsed_columns);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment