Lines Matching refs:props

68   ImageProperties props = LoadImageProperties(&fake_system_state_);  in TEST_F()  local
69 EXPECT_EQ("abc", props.product_id); in TEST_F()
70 EXPECT_EQ("def", props.system_id); in TEST_F()
71 EXPECT_EQ("1.2.3.4", props.version); in TEST_F()
72 EXPECT_EQ("5.6.7.8", props.system_version); in TEST_F()
73 EXPECT_EQ("stable-channel", props.current_channel); in TEST_F()
74 EXPECT_EQ(constants::kOmahaDefaultProductionURL, props.omaha_url); in TEST_F()
80 ImageProperties props = LoadImageProperties(&fake_system_state_); in TEST_F() local
81 EXPECT_EQ("abc:def", props.product_id); in TEST_F()
82 EXPECT_EQ("abc:bar", props.system_id); in TEST_F()
88 ImageProperties props = LoadImageProperties(&fake_system_state_); in TEST_F() local
89 EXPECT_EQ("def", props.product_id); in TEST_F()
90 EXPECT_EQ("foo:bar", props.system_id); in TEST_F()
94 props = LoadImageProperties(&fake_system_state_); in TEST_F()
95 EXPECT_EQ("abc:def", props.product_id); in TEST_F()
96 EXPECT_EQ("bar", props.system_id); in TEST_F()
101 ImageProperties props = LoadImageProperties(&fake_system_state_); in TEST_F() local
102 EXPECT_EQ("unittest-channel", props.current_channel); in TEST_F()
107 ImageProperties props = LoadImageProperties(&fake_system_state_); in TEST_F() local
108 EXPECT_EQ("stable-channel", props.current_channel); in TEST_F()
115 MutableImageProperties props; in TEST_F() local
116 props.target_channel = "new-channel"; in TEST_F()
117 EXPECT_TRUE(StoreMutableImageProperties(&fake_system_state_, props)); in TEST_F()
120 EXPECT_EQ(props.target_channel, loaded_props.target_channel); in TEST_F()