#import <OCMock/OCMock.h>
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterView.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#import "flutter/shell/platform/darwin/macos/framework/Source/NSView+ClipsToBounds.h"
Go to the source code of this file.
Classes | |
category | FlutterMutatorView(Private) |
class | FlutterCursorCoordinatorTest |
Functions | |
TEST (FlutterMutatorViewTest, BasicFrameIsCorrect) | |
TEST (FlutterMutatorViewTest, ClipsToBounds) | |
TEST (FlutterMutatorViewTest, TransformedFrameIsCorrect) | |
TEST (FlutterMutatorViewTest, FrameWithLooseClipIsCorrect) | |
TEST (FlutterMutatorViewTest, FrameWithTightClipIsCorrect) | |
TEST (FlutterMutatorViewTest, FrameWithTightClipAndTransformIsCorrect) | |
TEST (FlutterMutatorViewTest, RoundRectClipsToSimpleRectangle) | |
TEST (FlutterMutatorViewTest, ViewsSetIsFlipped) | |
TEST (FlutterMutatorViewTest, RectsClipsToPathWhenRotated) | |
TEST (FlutterMutatorViewTest, RoundRectClipsToPath) | |
TEST (FlutterMutatorViewTest, PathClipViewsAreAddedAndRemoved) | |
TEST (FlutterMutatorViewTest, HitTestIgnoreRegion) | |
TEST (FlutterMutatorViewTest, ReparentingPlatformView) | |
TEST (FlutterMutatorViewTest, CursorCoordinator) | |
Variables | |
static constexpr float | kMaxErr = 1e-10 |
TEST | ( | FlutterMutatorViewTest | , |
BasicFrameIsCorrect | |||
) |
Definition at line 63 of file FlutterMutatorViewTest.mm.
References FlutterMutatorView::platformView.
TEST | ( | FlutterMutatorViewTest | , |
ClipsToBounds | |||
) |
Definition at line 90 of file FlutterMutatorViewTest.mm.
TEST | ( | FlutterMutatorViewTest | , |
CursorCoordinator | |||
) |
Definition at line 730 of file FlutterMutatorViewTest.mm.
TEST | ( | FlutterMutatorViewTest | , |
FrameWithLooseClipIsCorrect | |||
) |
Definition at line 144 of file FlutterMutatorViewTest.mm.
References FlutterMutatorView::platformView.
TEST | ( | FlutterMutatorViewTest | , |
FrameWithTightClipAndTransformIsCorrect | |||
) |
Definition at line 208 of file FlutterMutatorViewTest.mm.
TEST | ( | FlutterMutatorViewTest | , |
FrameWithTightClipIsCorrect | |||
) |
Definition at line 173 of file FlutterMutatorViewTest.mm.
References FlutterMutatorView::platformView.
TEST | ( | FlutterMutatorViewTest | , |
HitTestIgnoreRegion | |||
) |
Definition at line 538 of file FlutterMutatorViewTest.mm.
References FlutterMutatorView::addHitTestIgnoreRegion:, and FlutterMutatorView::resetHitTestRegion.
TEST | ( | FlutterMutatorViewTest | , |
PathClipViewsAreAddedAndRemoved | |||
) |
Definition at line 415 of file FlutterMutatorViewTest.mm.
TEST | ( | FlutterMutatorViewTest | , |
RectsClipsToPathWhenRotated | |||
) |
Definition at line 340 of file FlutterMutatorViewTest.mm.
References kMaxErr.
TEST | ( | FlutterMutatorViewTest | , |
ReparentingPlatformView | |||
) |
Definition at line 565 of file FlutterMutatorViewTest.mm.
TEST | ( | FlutterMutatorViewTest | , |
RoundRectClipsToPath | |||
) |
Definition at line 376 of file FlutterMutatorViewTest.mm.
TEST | ( | FlutterMutatorViewTest | , |
RoundRectClipsToSimpleRectangle | |||
) |
Definition at line 264 of file FlutterMutatorViewTest.mm.
TEST | ( | FlutterMutatorViewTest | , |
TransformedFrameIsCorrect | |||
) |
Definition at line 96 of file FlutterMutatorViewTest.mm.
TEST | ( | FlutterMutatorViewTest | , |
ViewsSetIsFlipped | |||
) |
Definition at line 304 of file FlutterMutatorViewTest.mm.
|
staticconstexpr |
Definition at line 20 of file FlutterMutatorViewTest.mm.
Referenced by TEST().