Lines Matching full:key1
55 ASSERT_FALSE(context().HasKey("key1"));
57 ASSERT_EQ(1, context().GetInteger("key1", 1));
58 rv = context().SetInteger("key1", 2);
60 ASSERT_TRUE(context().HasKey("key1"));
61 ASSERT_EQ(2, context().GetInteger("key1"));
62 ASSERT_EQ(2, context().GetInteger("key1", 1));
97 context().SetBoolean("key1", true);
112 rv = changes.GetBoolean("key1", &bool_value);
139 changes.SetInteger("key1", 1);
148 ASSERT_EQ("key1", keys[1]);
153 ASSERT_EQ(1, context().GetInteger("key1"));