/external/openscreen/util/ |
D | enum_name_table_unittest.cc | 39 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 …]
|
D | simple_fraction_unittest.cc | 21 EXPECT_TRUE(f.is_value()) << "from string: '" << s << "'"; in ExpectFromStringEquals()
|
/external/openscreen/util/crypto/ |
D | rsa_private_key_unittest.cc | 80 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 …]
|
D | certificate_utils_unittest.cc | 31 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()
|
D | sha2_unittest.cc | 38 EXPECT_TRUE(output.is_value()); in TEST()
|
/external/openscreen/discovery/dnssd/public/ |
D | dns_sd_txt_record_unittest.cc | 18 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/ |
D | error_unittest.cc | 82 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()
|
D | error.h | 306 bool is_value() const { return is_value_; } in is_value() function 332 if (is_value()) { in value() 340 if (is_value()) { in value()
|
D | ip_address_unittest.cc | 271 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/ |
D | offer_messages_unittest.cc | 93 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 …]
|
D | receiver_session_unittest.cc | 263 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()
|
D | receiver_message.cc | 149 if (error.is_value()) { in Parse() 168 if (status.is_value()) { in Parse() 177 if (capability.is_value()) { in Parse()
|
D | sender_session_unittest.cc | 270 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()
|
D | session_messager.cc | 94 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()
|
D | offer_messages.cc | 107 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()
|
D | sender_message.cc | 56 if (offer.is_value()) { in Parse()
|
/external/openscreen/cast/protocol/castv2/ |
D | validation_unittest.cc | 77 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/ |
D | json_serialization_unittest.cc | 33 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/ |
D | dns_data_graph_unittest.cc | 270 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 …]
|
D | conversion_layer_unittest.cc | 25 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/ |
D | main.cc | 92 if (parsed_endpoint.is_value()) { in ParseAsEndpoint() 96 if (parsed_address.is_value()) { in ParseAsEndpoint()
|
/external/openscreen/cast/common/public/ |
D | service_info_unittest.cc | 30 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/ |
D | mdns_trackers_unittest.cc | 366 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/ |
D | main.cc | 218 OSP_CHECK(creds.is_value()) << creds.error(); in RunStandaloneReceiver()
|
/external/openscreen/cast/common/channel/ |
D | message_framer_unittest.cc | 44 ASSERT_TRUE(result.is_value()); in SetUp()
|