Lines Matching refs:BoxedValue
51 friend string BoxedValue::ValuePrinter<DeleterMarker>(const void *);
58 string BoxedValue::ValuePrinter<DeleterMarker>(const void *value) { in ValuePrinter()
69 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
79 BoxedValue* box = new BoxedValue(deleter_marker); in TEST()
80 BoxedValue* new_box = new BoxedValue(std::move(*box)); in TEST()
90 list<BoxedValue> lst; in TEST()
102 map<int, BoxedValue> m; in TEST()
103 m.emplace(42, BoxedValue(new const string("Hola mundo!"))); in TEST()
113 BoxedValue(new string("Hej Verden!")).ToString()); in TEST()
117 EXPECT_EQ("42", BoxedValue(new int(42)).ToString()); in TEST()
122 EXPECT_EQ("-123456789012345", BoxedValue( in TEST()
129 BoxedValue(new unsigned int(4294967295U)).ToString()); // NOLINT in TEST()
134 EXPECT_EQ("18446744073709551615", BoxedValue( in TEST()
139 EXPECT_EQ("false", BoxedValue(new bool(false)).ToString()); in TEST()
140 EXPECT_EQ("true", BoxedValue(new bool(true)).ToString()); in TEST()
144 EXPECT_EQ("1.501", BoxedValue(new double(1.501)).ToString()); in TEST()
150 BoxedValue(new Time(Time::FromTimeT(1398810655))).ToString()); in TEST()
156 BoxedValue(new TimeDelta(TimeDelta::FromSeconds(12345))) in TEST()
162 BoxedValue(new ConnectionType(ConnectionType::kEthernet)) in TEST()
165 BoxedValue(new ConnectionType(ConnectionType::kWifi)).ToString()); in TEST()
167 BoxedValue(new ConnectionType(ConnectionType::kWimax)).ToString()); in TEST()
169 BoxedValue(new ConnectionType(ConnectionType::kBluetooth)) in TEST()
172 BoxedValue(new ConnectionType(ConnectionType::kCellular)) in TEST()
175 BoxedValue(new ConnectionType(ConnectionType::kUnknown)) in TEST()
181 BoxedValue(new ConnectionTethering( in TEST()
184 BoxedValue(new ConnectionTethering(ConnectionTethering::kSuspected)) in TEST()
187 BoxedValue(new ConnectionTethering(ConnectionTethering::kConfirmed)) in TEST()
190 BoxedValue(new ConnectionTethering(ConnectionTethering::kUnknown)) in TEST()
198 EXPECT_EQ("ethernet,wimax", BoxedValue(set1).ToString()); in TEST()
202 EXPECT_EQ("wifi", BoxedValue(set2).ToString()); in TEST()
207 BoxedValue(new Stage(Stage::kIdle)).ToString()); in TEST()
209 BoxedValue(new Stage(Stage::kCheckingForUpdate)).ToString()); in TEST()
211 BoxedValue(new Stage(Stage::kUpdateAvailable)).ToString()); in TEST()
213 BoxedValue(new Stage(Stage::kDownloading)).ToString()); in TEST()
215 BoxedValue(new Stage(Stage::kVerifying)).ToString()); in TEST()
217 BoxedValue(new Stage(Stage::kFinalizing)).ToString()); in TEST()
219 BoxedValue(new Stage(Stage::kUpdatedNeedReboot)).ToString()); in TEST()
221 BoxedValue(new Stage(Stage::kReportingErrorEvent)).ToString()); in TEST()
223 BoxedValue(new Stage(Stage::kAttemptingRollback)).ToString()); in TEST()
228 BoxedValue value = BoxedValue(new DeleterMarker(&marker)); in TEST()