Flutter Impeller
text_contents_unittests.cc File Reference
#include "flutter/impeller/geometry/geometry_asserts.h"
#include "flutter/impeller/renderer/testing/mocks.h"
#include "flutter/testing/testing.h"
#include "impeller/entity/contents/text_contents.h"
#include "impeller/playground/playground_test.h"
#include "impeller/typographer/backends/skia/text_frame_skia.h"
#include "impeller/typographer/backends/skia/typographer_context_skia.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "txt/platform.h"

Go to the source code of this file.

Namespaces

 impeller
 
 impeller::testing
 

Typedefs

using impeller::testing::TextContentsTest = PlaygroundTest
 

Functions

 impeller::testing::INSTANTIATE_PLAYGROUND_SUITE (TextContentsTest)
 
 impeller::testing::TEST_P (TextContentsTest, SimpleComputeVertexData)
 
 impeller::testing::TEST_P (TextContentsTest, SimpleComputeVertexData2x)
 
 impeller::testing::TEST_P (TextContentsTest, MaintainsShape)
 
 impeller::testing::TEST_P (TextContentsTest, SimpleSubpixel)
 
 impeller::testing::TEST_P (TextContentsTest, SimpleSubpixel3x)
 
 impeller::testing::TEST_P (TextContentsTest, SimpleSubpixel26)
 
 impeller::testing::TEST_P (TextContentsTest, SimpleSubpixel80)
 

Variable Documentation

◆ font_size

Scalar font_size = 50

◆ is_subpixel

bool is_subpixel = false

Definition at line 28 of file text_contents_unittests.cc.

Referenced by impeller::testing::TEST_P().