Lines Matching refs:BoxedValue
54 friend string BoxedValue::ValuePrinter<DeleterMarker>(const void*);
61 string BoxedValue::ValuePrinter<DeleterMarker>(const void* value) { in ValuePrinter()
72 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
82 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
83 BoxedValue* new_box = new BoxedValue(std::move(*box)); in TEST()
93 list<BoxedValue> lst; in TEST()
105 map<int, BoxedValue> m; in TEST()
106 m.emplace(42, BoxedValue(new const string("Hola mundo!"))); in TEST()
115 EXPECT_EQ("Hej Verden!", BoxedValue(new string("Hej Verden!")).ToString()); in TEST()
119 EXPECT_EQ("42", BoxedValue(new int(42)).ToString()); in TEST()
125 BoxedValue(new int64_t(-123456789012345LL)).ToString()); in TEST()
131 BoxedValue(new unsigned int(4294967295U)).ToString()); // NOLINT in TEST()
137 BoxedValue(new uint64_t(18446744073709551615ULL)).ToString()); in TEST()
141 EXPECT_EQ("false", BoxedValue(new bool(false)).ToString()); in TEST()
142 EXPECT_EQ("true", BoxedValue(new bool(true)).ToString()); in TEST()
146 EXPECT_EQ("1.501", BoxedValue(new double(1.501)).ToString()); in TEST()
152 BoxedValue(new Time(Time::FromTimeT(1398810655))).ToString()); in TEST()
159 BoxedValue(new TimeDelta(TimeDelta::FromSeconds(12345))).ToString()); in TEST()
165 BoxedValue(new ConnectionType(ConnectionType::kDisconnected)).ToString()); in TEST()
168 BoxedValue(new ConnectionType(ConnectionType::kEthernet)).ToString()); in TEST()
170 BoxedValue(new ConnectionType(ConnectionType::kWifi)).ToString()); in TEST()
172 BoxedValue(new ConnectionType(ConnectionType::kWimax)).ToString()); in TEST()
175 BoxedValue(new ConnectionType(ConnectionType::kBluetooth)).ToString()); in TEST()
178 BoxedValue(new ConnectionType(ConnectionType::kCellular)).ToString()); in TEST()
181 BoxedValue(new ConnectionType(ConnectionType::kUnknown)).ToString()); in TEST()
187 BoxedValue(new ConnectionTethering(ConnectionTethering::kNotDetected)) in TEST()
190 BoxedValue(new ConnectionTethering(ConnectionTethering::kSuspected)) in TEST()
193 BoxedValue(new ConnectionTethering(ConnectionTethering::kConfirmed)) in TEST()
196 BoxedValue(new ConnectionTethering(ConnectionTethering::kUnknown)) in TEST()
202 BoxedValue(new RollbackToTargetVersion( in TEST()
206 BoxedValue( in TEST()
210 BoxedValue(new RollbackToTargetVersion( in TEST()
215 BoxedValue(new RollbackToTargetVersion( in TEST()
220 BoxedValue(new RollbackToTargetVersion( in TEST()
229 EXPECT_EQ("ethernet,wimax", BoxedValue(set1).ToString()); in TEST()
233 EXPECT_EQ("wifi", BoxedValue(set2).ToString()); in TEST()
237 EXPECT_EQ("Idle", BoxedValue(new Stage(Stage::kIdle)).ToString()); in TEST()
239 BoxedValue(new Stage(Stage::kCheckingForUpdate)).ToString()); in TEST()
241 BoxedValue(new Stage(Stage::kUpdateAvailable)).ToString()); in TEST()
243 BoxedValue(new Stage(Stage::kDownloading)).ToString()); in TEST()
244 EXPECT_EQ("Verifying", BoxedValue(new Stage(Stage::kVerifying)).ToString()); in TEST()
245 EXPECT_EQ("Finalizing", BoxedValue(new Stage(Stage::kFinalizing)).ToString()); in TEST()
247 BoxedValue(new Stage(Stage::kUpdatedNeedReboot)).ToString()); in TEST()
249 BoxedValue(new Stage(Stage::kReportingErrorEvent)).ToString()); in TEST()
251 BoxedValue(new Stage(Stage::kAttemptingRollback)).ToString()); in TEST()
256 BoxedValue value = BoxedValue(new DeleterMarker(&marker)); in TEST()
265 BoxedValue(new UpdateRestrictions(UpdateRestrictions::kNone)).ToString()); in TEST()
267 BoxedValue(new UpdateRestrictions( in TEST()
274 BoxedValue(new WeeklyTimeInterval( in TEST()
279 BoxedValue(new WeeklyTimeInterval( in TEST()
292 BoxedValue(new WeeklyTimeIntervalVector(intervals)).ToString()); in TEST()
299 BoxedValue(new WeeklyTimeIntervalVector(intervals)).ToString()); in TEST()