Lines Matching refs:thing
72 StatusOr<int> thing;
73 EXPECT_FALSE(thing.ok());
74 EXPECT_EQ(Status::UNKNOWN, thing.status());
78 StatusOr<int> thing(Status::CANCELLED);
79 EXPECT_FALSE(thing.ok());
80 EXPECT_EQ(Status::CANCELLED, thing.status());
85 StatusOr<int> thing(kI);
86 EXPECT_TRUE(thing.ok());
87 EXPECT_EQ(kI, thing.ValueOrDie());
160 StatusOr<int> thing(kI);
161 EXPECT_EQ(kI, thing.ValueOrDie());
166 const StatusOr<int> thing(kI);
167 EXPECT_EQ(kI, thing.ValueOrDie());
171 StatusOr<int*> thing;
172 EXPECT_FALSE(thing.ok());
173 EXPECT_EQ(Status::UNKNOWN, thing.status());
177 StatusOr<int*> thing(Status::CANCELLED);
178 EXPECT_FALSE(thing.ok());
179 EXPECT_EQ(Status::CANCELLED, thing.status());
184 StatusOr<const int*> thing(&kI);
185 EXPECT_TRUE(thing.ok());
186 EXPECT_EQ(&kI, thing.ValueOrDie());
261 StatusOr<const int*> thing(&kI);
262 EXPECT_EQ(&kI, thing.ValueOrDie());
267 const StatusOr<const int*> thing(&kI);
268 EXPECT_EQ(&kI, thing.ValueOrDie());