Lines Matching refs:changes
33 auto changes = queue_->GetAndClearRecordedStateChanges(); in TEST_F() local
34 ASSERT_EQ(1u, changes.size()); in TEST_F()
35 EXPECT_EQ(timestamp, changes.front().timestamp); in TEST_F()
36 EXPECT_JSON_EQ("{'prop':{'name': 23}}", *changes.front().changed_properties); in TEST_F()
51 auto changes = queue_->GetAndClearRecordedStateChanges(); in TEST_F() local
52 ASSERT_EQ(2u, changes.size()); in TEST_F()
53 EXPECT_EQ(timestamp1, changes[0].timestamp); in TEST_F()
54 EXPECT_JSON_EQ(state1, *changes[0].changed_properties); in TEST_F()
55 EXPECT_EQ(timestamp2, changes[1].timestamp); in TEST_F()
56 EXPECT_JSON_EQ(state2, *changes[1].changed_properties); in TEST_F()
77 auto changes = queue_->GetAndClearRecordedStateChanges(); in TEST_F() local
78 ASSERT_EQ(2u, changes.size()); in TEST_F()
82 EXPECT_EQ(timestamp, changes[0].timestamp); in TEST_F()
83 EXPECT_JSON_EQ(expected1, *changes[0].changed_properties); in TEST_F()
84 EXPECT_EQ(timestamp + time_delta, changes[1].timestamp); in TEST_F()
85 EXPECT_JSON_EQ(expected2, *changes[1].changed_properties); in TEST_F()
106 auto changes = queue_->GetAndClearRecordedStateChanges(); in TEST_F() local
107 ASSERT_EQ(2u, changes.size()); in TEST_F()
111 EXPECT_EQ(start_time + time_delta1, changes[0].timestamp); in TEST_F()
112 EXPECT_JSON_EQ(expected1, *changes[0].changed_properties); in TEST_F()
115 EXPECT_EQ(start_time + time_delta2, changes[1].timestamp); in TEST_F()
116 EXPECT_JSON_EQ(expected2, *changes[1].changed_properties); in TEST_F()