lottie: rename all isEmpty() api to empty() for consistancy.

Change-Id: Id3dddbd920ff00c7beafe0abd17f6da73442195b
This commit is contained in:
sub.mohanty@samsung.com
2018-09-09 11:57:30 +09:00
parent f14e50305a
commit 9a50268e2c
11 changed files with 56 additions and 56 deletions

View File

@@ -42,16 +42,16 @@ TEST_F(VRegionTest, moveSemantics) {
rgn1 = rect1;
VRegion tmp;
tmp = std::move(rgn1);
ASSERT_TRUE(rgn1.isEmpty());
ASSERT_TRUE(rgn1.empty());
// move construction
rgn1 = rect1;
VRegion mvrgn = std::move(rgn1);
ASSERT_TRUE(rgn1.isEmpty());
ASSERT_TRUE(rgn1.empty());
ASSERT_TRUE(mvrgn == rect1);
}
TEST_F(VRegionTest, isEmpty) {
ASSERT_TRUE(emptyRgn.isEmpty());
ASSERT_TRUE(emptyRgn.empty());
ASSERT_TRUE(emptyRgn == VRegion());
ASSERT_TRUE(emptyRgn.rectCount() == 0);
ASSERT_TRUE(emptyRgn.boundingRect() == VRect());