Lines Matching refs:m2
93 MockMetadatable m2(*pReg); in TEST_F() local
113 m2.SetMetadataReference(id1); in TEST_F()
121 m2.EnsureMetadataReference(); in TEST_F()
122 beans::StringPair m2id(m2.GetMetadataReference()); in TEST_F()
124 m2.EnsureMetadataReference(); in TEST_F()
125 ASSERT_TRUE(m2.GetMetadataReference() == m2id) << "ensure failed (idempotent)"; in TEST_F()
135 m2.SetMetadataReference(id1); // steal! in TEST_F()
142 m3.RegisterAsCopyOf(m2); in TEST_F()
143 ASSERT_TRUE(m2.GetMetadataReference() == id1) << "copy: source"; in TEST_F()
146 ASSERT_TRUE(m2.GetMetadataReference() == id1) << "copy: source"; in TEST_F()
149 m2.m_bInUndo = true; in TEST_F()
151 ASSERT_TRUE(!m2.GetMetadataReference().Second.getLength()) << "duplicate to undo"; in TEST_F()
152 m2.m_bInUndo = false; in TEST_F()
153 ASSERT_TRUE(m2.GetMetadataReference() == id1) << "duplicate from undo"; in TEST_F()
188 mc2.RegisterAsCopyOf(m2); in TEST_F()
196 m2.RemoveMetadataReference(); in TEST_F()
197 ASSERT_TRUE(!m2.GetMetadataReference().Second.getLength()) << "remove failed"; in TEST_F()