Home | History | Annotate | Download | only in aura

Lines Matching defs:TestProperty

1729 class TestProperty {
1731 TestProperty() {}
1732 virtual ~TestProperty() {
1735 static TestProperty* last_deleted() { return last_deleted_; }
1738 static TestProperty* last_deleted_;
1739 DISALLOW_COPY_AND_ASSIGN(TestProperty);
1742 TestProperty* TestProperty::last_deleted_ = NULL;
1744 DEFINE_OWNED_WINDOW_PROPERTY_KEY(TestProperty, kOwnedKey, NULL);
1751 TestProperty* p1 = new TestProperty();
1754 EXPECT_EQ(NULL, TestProperty::last_deleted());
1756 TestProperty* p2 = new TestProperty();
1759 EXPECT_EQ(p1, TestProperty::last_deleted());
1763 EXPECT_EQ(p2, TestProperty::last_deleted());
1765 TestProperty* p3 = new TestProperty();
1768 EXPECT_EQ(p2, TestProperty::last_deleted());
1770 EXPECT_EQ(p3, TestProperty::last_deleted());