#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterMutatorView.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) |
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) | |
Variables | |
| static constexpr float | kMaxErr = 1e-10 |
| TEST | ( | FlutterMutatorViewTest | , |
| BasicFrameIsCorrect | |||
| ) |
Definition at line 61 of file FlutterMutatorViewTest.mm.
References FlutterMutatorView::platformView.
| TEST | ( | FlutterMutatorViewTest | , |
| ClipsToBounds | |||
| ) |
Definition at line 88 of file FlutterMutatorViewTest.mm.
| TEST | ( | FlutterMutatorViewTest | , |
| FrameWithLooseClipIsCorrect | |||
| ) |
Definition at line 142 of file FlutterMutatorViewTest.mm.
References FlutterMutatorView::platformView.
| TEST | ( | FlutterMutatorViewTest | , |
| FrameWithTightClipAndTransformIsCorrect | |||
| ) |
Definition at line 206 of file FlutterMutatorViewTest.mm.
| TEST | ( | FlutterMutatorViewTest | , |
| FrameWithTightClipIsCorrect | |||
| ) |
Definition at line 171 of file FlutterMutatorViewTest.mm.
References FlutterMutatorView::platformView.
| TEST | ( | FlutterMutatorViewTest | , |
| PathClipViewsAreAddedAndRemoved | |||
| ) |
Definition at line 413 of file FlutterMutatorViewTest.mm.
| TEST | ( | FlutterMutatorViewTest | , |
| RectsClipsToPathWhenRotated | |||
| ) |
Definition at line 338 of file FlutterMutatorViewTest.mm.
References kMaxErr.
| TEST | ( | FlutterMutatorViewTest | , |
| RoundRectClipsToPath | |||
| ) |
Definition at line 374 of file FlutterMutatorViewTest.mm.
| TEST | ( | FlutterMutatorViewTest | , |
| RoundRectClipsToSimpleRectangle | |||
| ) |
Definition at line 262 of file FlutterMutatorViewTest.mm.
| TEST | ( | FlutterMutatorViewTest | , |
| TransformedFrameIsCorrect | |||
| ) |
Definition at line 94 of file FlutterMutatorViewTest.mm.
| TEST | ( | FlutterMutatorViewTest | , |
| ViewsSetIsFlipped | |||
| ) |
Definition at line 302 of file FlutterMutatorViewTest.mm.
|
staticconstexpr |
Definition at line 18 of file FlutterMutatorViewTest.mm.
Referenced by TEST().