Home | History | Annotate | Download | only in engine

Lines Matching refs:alice

2144   mock_server_->AddUpdateDirectory(4096, 0, "alice", 1, 10);
2158 EXPECT_TRUE("alice" == id3.Get(NON_UNIQUE_NAME));
2772 Entry alice(&trans, GET_BY_ID,
2774 CHECK(alice.good());
2775 EXPECT_TRUE(!alice.Get(IS_DEL));
2776 EXPECT_TRUE(alice.Get(SYNCING)) << "Expected to be called mid-commit.";
2783 bob.Put(PARENT_ID, alice.Get(ID));
2810 fred.Put(NON_UNIQUE_NAME, "Alice");
2835 Entry alice(&trans, GET_BY_ID, bob.Get(PARENT_ID));
2836 ASSERT_TRUE(alice.good());
2837 EXPECT_EQ("Alice", alice.Get(NON_UNIQUE_NAME));
2838 EXPECT_TRUE(alice.Get(IS_UNSYNCED));
2839 EXPECT_FALSE(alice.Get(ID).ServerKnows());
2841 EXPECT_TRUE(bob.Get(PARENT_ID) == alice.Get(ID));
2842 EXPECT_TRUE(alice.Get(PARENT_ID) == root_id_);
2843 EXPECT_FALSE(alice.Get(IS_UNAPPLIED_UPDATE));
3228 mock_server_->AddUpdateDirectory(alice_id, fred_id, "alice", 1, 10);
3235 bob.Put(PARENT_ID, alice_id); // Move into alice.
3241 "alice", 2, 20);
3260 // Newly born alice
3261 Entry alice(&trans, GET_BY_ID, bob.Get(PARENT_ID));
3262 ASSERT_TRUE(alice.good());
3263 EXPECT_FALSE(alice.Get(IS_UNAPPLIED_UPDATE));
3264 EXPECT_TRUE(alice.Get(IS_UNSYNCED));
3265 EXPECT_FALSE(alice.Get(ID).ServerKnows());
3266 EXPECT_TRUE(alice.Get(NON_UNIQUE_NAME) == "alice");
3268 // Alice needs a parent as well. Old parent should have been erased.
3271 EXPECT_NE(alice.Get(PARENT_ID), fred_id);
3273 Entry fred(&trans, GET_BY_ID, alice.Get(PARENT_ID));
3300 mock_server_->AddUpdateDirectory(alice_id, fred_id, "alice", 1, 10);
3307 bob.Put(PARENT_ID, alice_id); // Move into alice.
3313 "alice", 2, 20);
3322 // |- Alice
3337 Entry alice(&trans, GET_BY_ID, bob.Get(PARENT_ID));
3338 EXPECT_TRUE(alice.Get(IS_UNSYNCED));
3339 EXPECT_FALSE(alice.Get(IS_UNAPPLIED_UPDATE));
3340 EXPECT_FALSE(alice.Get(ID).ServerKnows());
3341 EXPECT_NE(alice.Get(PARENT_ID), fred_id); // This fred was deleted
3348 Entry fred(&trans, GET_BY_ID, alice.Get(PARENT_ID));