Flutter Engine
The Flutter Engine
Namespaces | Functions
path_unittests.cc File Reference
#include "gtest/gtest.h"
#include "flutter/testing/testing.h"
#include "impeller/geometry/geometry_asserts.h"
#include "impeller/geometry/path.h"
#include "impeller/geometry/path_builder.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::testing
 

Functions

 impeller::testing::TEST (PathTest, CubicPathComponentPolylineDoesNotIncludePointOne)
 
 impeller::testing::TEST (PathTest, PathCreatePolyLineDoesNotDuplicatePoints)
 
 impeller::testing::TEST (PathTest, PathBuilderSetsCorrectContourPropertiesForAddCommands)
 
 impeller::testing::TEST (PathTest, PathCreatePolylineGeneratesCorrectContourData)
 
 impeller::testing::TEST (PathTest, PolylineGetContourPointBoundsReturnsCorrectRanges)
 
 impeller::testing::TEST (PathTest, PathAddRectPolylineHasCorrectContourData)
 
 impeller::testing::TEST (PathTest, PathPolylineDuplicatesAreRemovedForSameContour)
 
 impeller::testing::TEST (PathTest, PolylineBufferReuse)
 
 impeller::testing::TEST (PathTest, PolylineFailsWithNullptrBuffer)
 
 impeller::testing::TEST (PathTest, PathShifting)
 
 impeller::testing::TEST (PathTest, PathBuilderWillComputeBounds)
 
 impeller::testing::TEST (PathTest, PathHorizontalLine)
 
 impeller::testing::TEST (PathTest, PathVerticalLine)
 
 impeller::testing::TEST (PathTest, QuadradicPath)
 
 impeller::testing::TEST (PathTest, CubicPath)
 
 impeller::testing::TEST (PathTest, BoundingBoxCubic)
 
 impeller::testing::TEST (PathTest, BoundingBoxOfCompositePathIsCorrect)
 
 impeller::testing::TEST (PathTest, ExtremaOfCubicPathComponentIsCorrect)
 
 impeller::testing::TEST (PathTest, PathGetBoundingBoxForCubicWithNoDerivativeRootsIsCorrect)
 
 impeller::testing::TEST (PathTest, EmptyPath)
 
 impeller::testing::TEST (PathTest, SimplePath)
 
 impeller::testing::TEST (PathTest, RepeatCloseDoesNotAddNewLines)
 
 impeller::testing::TEST (PathTest, CloseAfterMoveDoesNotAddNewLines)
 
 impeller::testing::TEST (PathTest, CloseAtOriginDoesNotAddNewLineSegment)
 
 impeller::testing::TEST (PathTest, CanBeCloned)
 
 impeller::testing::TEST (PathTest, PathBuilderDoesNotMutateCopiedPaths)