Home
last modified time | relevance | path

Searched refs:is_value (Results 1 – 25 of 41) sorted by relevance

12

/external/openscreen/util/
Denum_name_table_unittest.cc39 EXPECT_FALSE(GetEnumName(kTestEnumNamesMissing, TestEnum::kBar).is_value()); in TEST()
40 EXPECT_FALSE(GetEnumName(kTestEnumNamesMissing, TestEnum::kBaz).is_value()); in TEST()
41 EXPECT_FALSE(GetEnumName(kTestEnumNamesMissing, TestEnum::kBuzz).is_value()); in TEST()
45 EXPECT_FALSE(GetEnumName(kTestEnumNamesEmpty, TestEnum::kBar).is_value()); in TEST()
46 EXPECT_FALSE(GetEnumName(kTestEnumNamesEmpty, TestEnum::kBaz).is_value()); in TEST()
47 EXPECT_FALSE(GetEnumName(kTestEnumNamesEmpty, TestEnum::kBuzz).is_value()); in TEST()
58 EXPECT_FALSE(GetEnum(kTestEnumNames, "").is_value()); in TEST()
59 EXPECT_FALSE(GetEnum(kTestEnumNames, "1").is_value()); in TEST()
60 EXPECT_FALSE(GetEnum(kTestEnumNames, "foobar").is_value()); in TEST()
61 EXPECT_FALSE(GetEnum(kTestEnumNamesMissing, "bar").is_value()); in TEST()
[all …]
Dsimple_fraction_unittest.cc21 EXPECT_TRUE(f.is_value()) << "from string: '" << s << "'"; in ExpectFromStringEquals()
/external/openscreen/util/crypto/
Drsa_private_key_unittest.cc80 ASSERT_TRUE(keypair1.is_value()); in TEST()
81 ASSERT_TRUE(keypair2.is_value()); in TEST()
87 ASSERT_TRUE(privkey1.is_value()); in TEST()
88 ASSERT_TRUE(privkey2.is_value()); in TEST()
89 ASSERT_TRUE(pubkey1.is_value()); in TEST()
90 ASSERT_TRUE(pubkey2.is_value()); in TEST()
96 ASSERT_TRUE(keypair3.is_value()); in TEST()
97 ASSERT_TRUE(keypair4.is_value()); in TEST()
101 ASSERT_TRUE(privkey3.is_value()); in TEST()
102 ASSERT_TRUE(privkey4.is_value()); in TEST()
[all …]
Dcertificate_utils_unittest.cc31 ASSERT_TRUE(certificate.is_value()); in TEST()
42 ASSERT_TRUE(certificate.is_value()); in TEST()
46 ASSERT_TRUE(exported.is_value()) << exported.error(); in TEST()
51 ASSERT_TRUE(imported.is_value()) << imported.error(); in TEST()
Dsha2_unittest.cc38 EXPECT_TRUE(output.is_value()); in TEST()
/external/openscreen/discovery/dnssd/public/
Ddns_sd_txt_record_unittest.cc18 EXPECT_TRUE(txt.GetValue("KEY").is_value()); in TEST()
21 ASSERT_TRUE(txt.GetFlag("key2").is_value()); in TEST()
28 ASSERT_TRUE(txt.GetValue("key").is_value()); in TEST()
32 ASSERT_TRUE(txt.GetValue("key2").is_value()); in TEST()
40 ASSERT_TRUE(txt.GetValue("key").is_value()); in TEST()
49 ASSERT_TRUE(txt.GetValue("key").is_value()); in TEST()
56 ASSERT_TRUE(txt.GetValue("key").is_value()); in TEST()
64 ASSERT_TRUE(txt.GetValue("key").is_value()); in TEST()
77 EXPECT_FALSE(txt.GetValue("key").is_value()); in TEST()
83 ASSERT_TRUE(txt.GetFlag("key").is_value()); in TEST()
[all …]
/external/openscreen/platform/base/
Derror_unittest.cc82 EXPECT_FALSE(error_or1.is_value()); in TEST()
88 EXPECT_FALSE(error_or2.is_value()); in TEST()
94 EXPECT_FALSE(error_or3.is_value()); in TEST()
103 EXPECT_FALSE(error_or4.is_value()); in TEST()
109 EXPECT_FALSE(error_or5.is_value()); in TEST()
118 EXPECT_TRUE(error_or_integer.is_value()); in TEST()
128 EXPECT_TRUE(error_or1.is_value()); in TEST()
133 EXPECT_TRUE(error_or2.is_value()); in TEST()
141 EXPECT_TRUE(error_or3.is_value()); in TEST()
146 EXPECT_TRUE(error_or4.is_value()); in TEST()
Derror.h306 bool is_value() const { return is_value_; } in is_value() function
332 if (is_value()) { in value()
340 if (is_value()) { in value()
Dip_address_unittest.cc271 ASSERT_TRUE(result.is_value()) << result.error(); in TEST()
277 ASSERT_TRUE(result.is_value()) << result.error(); in TEST()
283 ASSERT_TRUE(result.is_value()) << result.error(); in TEST()
/external/openscreen/cast/streaming/
Doffer_messages_unittest.cc93 ASSERT_TRUE(root.is_value()) << root.error(); in ExpectFailureOnParse()
204 ASSERT_TRUE(root.is_value()) << root.error(); in TEST()
205 EXPECT_TRUE(Offer::Parse(std::move(root.value())).is_value()); in TEST()
253 ASSERT_TRUE(root.is_value()); in TEST()
254 EXPECT_TRUE(Offer::Parse(std::move(root.value())).is_value()); in TEST()
274 ASSERT_TRUE(root.is_value()) << root.error(); in TEST()
276 EXPECT_TRUE(offer.is_value()) << offer.error(); in TEST()
443 ASSERT_TRUE(root.is_value()); in TEST()
444 EXPECT_TRUE(Offer::Parse(std::move(root.value())).is_value()); in TEST()
449 ASSERT_TRUE(root.is_value()); in TEST()
[all …]
Dreceiver_session_unittest.cc263 EXPECT_TRUE(message_or_error.is_value()); in ExpectIsErrorAnswerMessage()
349 EXPECT_TRUE(message_body.is_value()); in TEST_F()
433 ASSERT_TRUE(message_body.is_value()); in TEST_F()
487 EXPECT_TRUE(message_body.is_value()); in TEST_F()
505 EXPECT_TRUE(message_body.is_value()); in TEST_F()
524 EXPECT_TRUE(message_body.is_value()); in TEST_F()
622 EXPECT_TRUE(message_body.is_value()); in TEST_F()
651 EXPECT_TRUE(message_body.is_value()); in TEST_F()
668 EXPECT_TRUE(message_body.is_value()); in TEST_F()
689 EXPECT_TRUE(message_body.is_value()); in TEST_F()
Dreceiver_message.cc149 if (error.is_value()) { in Parse()
168 if (status.is_value()) { in Parse()
177 if (capability.is_value()) { in Parse()
Dsender_session_unittest.cc270 ASSERT_TRUE(message_body.is_value()); in TEST_F()
284 ASSERT_TRUE(message_body.is_value()); in TEST_F()
298 ASSERT_TRUE(message_body.is_value()); in TEST_F()
312 ASSERT_TRUE(message_body.is_value()); in TEST_F()
Dsession_messager.cc94 OSP_CHECK(jsonified.is_value()) << "Tried to send an invalid message"; in SendOutboundMessage()
213 OSP_CHECK(message_json.is_value()) << "Tried to send an invalid message"; in SendMessage()
Doffer_messages.cc107 if (channels.is_value() && channels.value() <= 0) { in ParseStream()
248 if (raw_max_frame_rate.is_value()) { in ParseVideoStream()
250 if (parsed.is_value() && parsed.value().is_positive()) { in ParseVideoStream()
Dsender_message.cc56 if (offer.is_value()) { in Parse()
/external/openscreen/cast/protocol/castv2/
Dvalidation_unittest.cc77 EXPECT_TRUE(document_root.is_value()); in TestValidate()
79 EXPECT_TRUE(schema_root.is_value()); in TestValidate()
142 EXPECT_TRUE(message_root.is_value()); in TEST_P()
157 EXPECT_TRUE(message_root.is_value()); in TEST_P()
/external/openscreen/util/json/
Djson_serialization_unittest.cc33 EXPECT_TRUE(actual.is_value()); in TEST()
43 EXPECT_TRUE(actual.is_value()); in TEST()
59 EXPECT_TRUE(actual.is_value()); in TEST()
/external/openscreen/discovery/dnssd/impl/
Ddns_data_graph_unittest.cc270 ASSERT_TRUE(endpoint_or_error.is_value()); in TEST_F()
283 ASSERT_TRUE(endpoint_or_error.is_value()); in TEST_F()
316 ASSERT_TRUE(endpoint_or_error.is_value()); in TEST_F()
329 ASSERT_TRUE(endpoint_or_error.is_value()); in TEST_F()
344 ASSERT_TRUE(endpoint_or_error.is_value()); in TEST_F()
375 ASSERT_TRUE(endpoints[0].is_value()); in TEST_F()
386 ASSERT_TRUE(endpoints2[0].is_value()); in TEST_F()
421 ASSERT_TRUE(endpoints[0].is_value()); in TEST_F()
422 ASSERT_TRUE(endpoints[1].is_value()); in TEST_F()
472 ASSERT_TRUE(endpoints[0].is_value() || endpoints[1].is_value()); in TEST_F()
[all …]
Dconversion_layer_unittest.cc25 EXPECT_TRUE(record.is_value()); in TEST()
32 EXPECT_TRUE(record.is_value()); in TEST()
39 ASSERT_TRUE(record.is_value()); in TEST()
40 ASSERT_TRUE(record.value().GetValue("name").is_value()); in TEST()
44 ASSERT_TRUE(record.value().GetValue("name").is_value()); in TEST()
61 ASSERT_TRUE(record.is_value()); in TEST()
62 ASSERT_TRUE(record.value().GetFlag("name").is_value()); in TEST()
/external/openscreen/cast/standalone_sender/
Dmain.cc92 if (parsed_endpoint.is_value()) { in ParseAsEndpoint()
96 if (parsed_address.is_value()) { in ParseAsEndpoint()
/external/openscreen/cast/common/public/
Dservice_info_unittest.cc30 ASSERT_TRUE(info.is_value()) << info; in TEST()
48 ASSERT_TRUE(info.is_value()); in TEST()
64 ASSERT_TRUE(info.is_value()); in TEST()
/external/openscreen/discovery/mdns/
Dmdns_trackers_unittest.cc366 ASSERT_TRUE(result.is_value()); in TEST_F()
391 ASSERT_TRUE(result.is_value()); in TEST_F()
411 ASSERT_TRUE(result.is_value()); in TEST_F()
/external/openscreen/cast/standalone_receiver/
Dmain.cc218 OSP_CHECK(creds.is_value()) << creds.error(); in RunStandaloneReceiver()
/external/openscreen/cast/common/channel/
Dmessage_framer_unittest.cc44 ASSERT_TRUE(result.is_value()); in SetUp()

12