#include "third_party/blink/renderer/core/css/try_value_flips.h"
#include "third_party/blink/renderer/core/css/css_flip_revert_value.h"
#include "third_party/blink/renderer/core/css/css_property_value_set.h"
#include "third_party/blink/renderer/core/css/css_test_helpers.h"
#include "third_party/blink/renderer/core/css/try_tactic_transform.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/text/writing_direction_mode.h"
namespace blink {
constexpr TryTacticList Tactics(TryTactic t0,
TryTactic t1 = TryTactic::kNone,
TryTactic t2 = TryTactic::kNone) { … }
class TryValueFlipsTest : public PageTestBase { … };
TEST_F(TryValueFlipsTest, None) { … }
TEST_F(TryValueFlipsTest, FlipBlock) { … }
TEST_F(TryValueFlipsTest, FlipInline) { … }
TEST_F(TryValueFlipsTest, FlipBlockInline) { … }
TEST_F(TryValueFlipsTest, FlipInlineBlock) { … }
TEST_F(TryValueFlipsTest, FlipStart) { … }
TEST_F(TryValueFlipsTest, FlipBlockStartInline) { … }
TEST_F(TryValueFlipsTest, FlipInlineStartBlock) { … }
TEST_F(TryValueFlipsTest, FlipStartBlock) { … }
TEST_F(TryValueFlipsTest, FlipInlineStart) { … }
TEST_F(TryValueFlipsTest, FlipStartInline) { … }
TEST_F(TryValueFlipsTest, FlipBlockStart) { … }
TEST_F(TryValueFlipsTest, FlipStartBlockInline) { … }
TEST_F(TryValueFlipsTest, FlipStartInlineBlock) { … }
TEST_F(TryValueFlipsTest, FlipInlineBlockStart) { … }
TEST_F(TryValueFlipsTest, FlipBlockInlineStart) { … }
namespace {
struct Declaration { … };
Declaration ParseDeclaration(String string) { … }
}
struct FlipValueTestData { … };
FlipValueTestData flip_value_test_data[] = …;
class FlipValueTest : public PageTestBase,
public testing::WithParamInterface<FlipValueTestData> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(FlipValueTest, All) { … }
struct NoFlipValueTestData { … };
NoFlipValueTestData no_flip_value_test_data[] = …;
class NoFlipValueTest
: public PageTestBase,
public testing::WithParamInterface<NoFlipValueTestData> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(NoFlipValueTest, All) { … }
}