• Home
  • Raw
  • Download

Lines Matching refs:t

50     PropertyNode t("t", key, {{"value0"}, {"value1"}, {"value2"}}, 1, false);  in TEST()  local
51 t.Update(false); in TEST()
58 PropertyNode t("t", key, {{"value0"}, {"value1"}, {"value2"}}, 1, true); in TEST() local
59 t.Update(false); in TEST()
70 PropertyNode t("test_dump", key, {{"value0"}, {"value1"}, {"value2"}}, 1, in TEST() local
72 t.Update(false); in TEST()
74 t.DumpToFd(dumptf.fd); in TEST()
92 PropertyNode t("t", key, {{"value0"}, {"value1"}, {"value2"}}, 1, false); in TEST() local
94 EXPECT_TRUE(t.GetValueIndex("value2", &index)); in TEST()
97 EXPECT_FALSE(t.GetValueIndex("NON_EXIST", &index)); in TEST()
104 PropertyNode t("t", key, {{"value0"}, {"value1"}, {"value2"}}, 1, false); in TEST() local
105 std::vector values = t.GetValues(); in TEST()
116 PropertyNode t(test_name, test_path, {}, 0, false); in TEST() local
117 EXPECT_EQ(test_name, t.GetName()); in TEST()
118 EXPECT_EQ(test_path, t.GetPath()); in TEST()
119 EXPECT_EQ(0u, t.GetValues().size()); in TEST()
120 EXPECT_EQ(0u, t.GetDefaultIndex()); in TEST()
121 EXPECT_FALSE(t.GetResetOnInit()); in TEST()
127 PropertyNode t("t", key, {{"value0"}, {"value1"}, {""}}, 2, true); in TEST() local
129 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms)); in TEST()
130 std::chrono::milliseconds expire_time = t.Update(true); in TEST()
136 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms)); in TEST()
137 expire_time = t.Update(true); in TEST()
143 expire_time = t.Update(true); in TEST()
149 expire_time = t.Update(true); in TEST()
157 PropertyNode t("t", key, {{"value0"}, {"value1"}, {"value2"}}, 2, true); in TEST() local
159 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms)); in TEST()
160 std::chrono::milliseconds expire_time = t.Update(true); in TEST()
166 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms)); in TEST()
167 expire_time = t.Update(true); in TEST()
172 t.RemoveRequest("LAUNCH"); in TEST()
173 expire_time = t.Update(true); in TEST()
178 t.RemoveRequest("INTERACTION"); in TEST()
179 expire_time = t.Update(true); in TEST()
187 PropertyNode t("t", key, {{"value0"}, {"value1"}, {"value2"}}, 2, true); in TEST() local
189 EXPECT_TRUE(t.AddRequest(1, "INTERACTION", start + 500ms)); in TEST()
190 std::chrono::milliseconds expire_time = t.Update(true); in TEST()
196 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 200ms)); in TEST()
197 expire_time = t.Update(true); in TEST()
202 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 100ms)); in TEST()
203 expire_time = t.Update(true); in TEST()
208 EXPECT_TRUE(t.AddRequest(0, "LAUNCH", start + 300ms)); in TEST()
209 expire_time = t.Update(true); in TEST()
214 t.RemoveRequest("LAUNCH"); in TEST()
215 expire_time = t.Update(true); in TEST()
220 t.RemoveRequest("INTERACTION"); in TEST()
221 expire_time = t.Update(true); in TEST()