#include "insets.h"#include "gtest/gtest.h"#include "insets_f.h"#include "rect.h"#include "size.h"#include "vector2d.h"Go to the source code of this file.
Functions | |
| TEST (InsetsTest, InsetsDefault) | |
| TEST (InsetsTest, Insets) | |
| TEST (InsetsTest, SetTop) | |
| TEST (InsetsTest, SetBottom) | |
| TEST (InsetsTest, SetLeft) | |
| TEST (InsetsTest, SetRight) | |
| TEST (InsetsTest, Set) | |
| TEST (InsetsTest, Operators) | |
| TEST (InsetsFTest, Operators) | |
| TEST (InsetsTest, Equality) | |
| TEST (InsetsTest, ToString) | |
| TEST (InsetsTest, Offset) | |
| TEST (InsetsTest, Scale) | |
| TEST (InsetsTest, IntegerOverflow) | |
| TEST (InsetsTest, IntegerUnderflow) | |
| TEST (InsetsTest, IntegerOverflowSetVariants) | |
| TEST (InsetsTest, IntegerUnderflowSetVariants) | |
| TEST (InsetsTest, IntegerOverflowSet) | |
| TEST (InsetsTest, IntegerOverflowOffset) | |
| TEST (InsetsTest, IntegerUnderflowOffset) | |
| TEST (InsetsTest, Size) | |
| TEST | ( | InsetsFTest | , |
| Operators | |||
| ) |
Definition at line 96 of file insets_unittest.cc.
References gfx::InsetsF::bottom(), gfx::InsetsF::left(), gfx::InsetsF::right(), gfx::InsetsF::Set(), and gfx::InsetsF::top().
| TEST | ( | InsetsTest | , |
| Equality | |||
| ) |
Definition at line 126 of file insets_unittest.cc.
References gfx::Insets::Set().
| TEST | ( | InsetsTest | , |
| Insets | |||
| ) |
Definition at line 24 of file insets_unittest.cc.
References gfx::Insets::bottom(), gfx::Insets::height(), gfx::Insets::IsEmpty(), gfx::Insets::left(), gfx::Insets::right(), gfx::Insets::top(), and gfx::Insets::width().
| TEST | ( | InsetsTest | , |
| InsetsDefault | |||
| ) |
Definition at line 13 of file insets_unittest.cc.
References gfx::Insets::bottom(), gfx::Insets::height(), gfx::Insets::IsEmpty(), gfx::Insets::left(), gfx::Insets::right(), gfx::Insets::top(), and gfx::Insets::width().
| TEST | ( | InsetsTest | , |
| IntegerOverflow | |||
| ) |
Definition at line 176 of file insets_unittest.cc.
References gfx::Insets::height(), gfx::Insets::Scale(), and gfx::Insets::width().
| TEST | ( | InsetsTest | , |
| IntegerOverflowOffset | |||
| ) |
Definition at line 265 of file insets_unittest.cc.
References gfx::Insets::Offset().
| TEST | ( | InsetsTest | , |
| IntegerOverflowSet | |||
| ) |
Definition at line 257 of file insets_unittest.cc.
References gfx::Insets::Set().
| TEST | ( | InsetsTest | , |
| IntegerOverflowSetVariants | |||
| ) |
Definition at line 213 of file insets_unittest.cc.
References gfx::Insets::bottom(), gfx::Insets::left(), gfx::Insets::right(), gfx::Insets::set_bottom(), gfx::Insets::set_left(), gfx::Insets::set_right(), gfx::Insets::set_top(), and gfx::Insets::top().
| TEST | ( | InsetsTest | , |
| IntegerUnderflow | |||
| ) |
Definition at line 196 of file insets_unittest.cc.
References gfx::Insets::height(), gfx::Insets::Scale(), and gfx::Insets::width().
| TEST | ( | InsetsTest | , |
| IntegerUnderflowOffset | |||
| ) |
Definition at line 275 of file insets_unittest.cc.
References gfx::Insets::Offset().
| TEST | ( | InsetsTest | , |
| IntegerUnderflowSetVariants | |||
| ) |
Definition at line 235 of file insets_unittest.cc.
References gfx::Insets::bottom(), gfx::Insets::left(), gfx::Insets::right(), gfx::Insets::set_bottom(), gfx::Insets::set_left(), gfx::Insets::set_right(), gfx::Insets::set_top(), and gfx::Insets::top().
| TEST | ( | InsetsTest | , |
| Offset | |||
| ) |
Definition at line 144 of file insets_unittest.cc.
References gfx::Rect::Inset(), gfx::Insets::Offset(), and gfx::Rect::Offset().
| TEST | ( | InsetsTest | , |
| Operators | |||
| ) |
Definition at line 68 of file insets_unittest.cc.
References gfx::Insets::bottom(), gfx::Insets::left(), gfx::Insets::right(), gfx::Insets::Set(), and gfx::Insets::top().
| TEST | ( | InsetsTest | , |
| Scale | |||
| ) |
Definition at line 166 of file insets_unittest.cc.
References gfx::Insets::Scale().
| TEST | ( | InsetsTest | , |
| Set | |||
| ) |
Definition at line 59 of file insets_unittest.cc.
References gfx::Insets::bottom(), gfx::Insets::left(), gfx::Insets::right(), gfx::Insets::Set(), and gfx::Insets::top().
| TEST | ( | InsetsTest | , |
| SetBottom | |||
| ) |
Definition at line 41 of file insets_unittest.cc.
References gfx::Insets::set_bottom().
| TEST | ( | InsetsTest | , |
| SetLeft | |||
| ) |
Definition at line 47 of file insets_unittest.cc.
References gfx::Insets::set_left().
| TEST | ( | InsetsTest | , |
| SetRight | |||
| ) |
Definition at line 53 of file insets_unittest.cc.
References gfx::Insets::set_right().
| TEST | ( | InsetsTest | , |
| SetTop | |||
| ) |
Definition at line 35 of file insets_unittest.cc.
References gfx::Insets::set_top().
| TEST | ( | InsetsTest | , |
| Size | |||
| ) |
Definition at line 285 of file insets_unittest.cc.
References gfx::Insets::size().
| TEST | ( | InsetsTest | , |
| ToString | |||
| ) |
Definition at line 139 of file insets_unittest.cc.
References gfx::Insets::ToString().