Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 – 11 of 11) sorted by relevance

/system/core/init/
Drlimit_parser_test.cpp27 const std::pair<int, rlimit>& expected_result) { in TestRlimitSuccess() argument
34 const auto& [expected_resource, expected_rlimit] = expected_result; in TestRlimitSuccess()
40 void TestRlimitFailure(std::vector<std::string> input, const std::string& expected_result) { in TestRlimitFailure() argument
46 EXPECT_EQ(expected_result, result.error().message()); in TestRlimitFailure()
105 for (const auto& [input, expected_result] : inputs_and_results) { in TEST()
106 TestRlimitSuccess(input, expected_result); in TEST()
124 for (const auto& [input, expected_result] : inputs_and_results) { in TEST()
125 TestRlimitFailure(input, expected_result); in TEST()
Ddevices_test.cpp71 std::vector<std::string> expected_result{"/dev/block/platform/soc.0/f9824900.sdhci/mmcblk0"}; in TEST() local
74 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST()
85 std::vector<std::string> expected_result{ in TEST() local
91 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST()
101 std::vector<std::string> expected_result{ in TEST() local
106 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST()
116 std::vector<std::string> expected_result{ in TEST() local
122 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST()
130 std::vector<std::string> expected_result{"/dev/block/pci/pci0000:00/0000:00:1f.2/mmcblk0"}; in TEST() local
133 device_handler_tester_.TestGetSymlinks(platform_device, uevent, expected_result); in TEST()
[all …]
/system/bt/types/test/
Dclass_of_device_unittest.cc53 size_t expected_result = ClassOfDevice::kLength; in TEST() local
54 ASSERT_EQ(expected_result, cod.FromOctets(test_bytes)); in TEST()
Draw_address_unittest.cc71 size_t expected_result = RawAddress::kLength; in TEST() local
72 ASSERT_EQ(expected_result, bdaddr.FromOctets(test_addr_array)); in TEST()
/system/bt/gd/hci/
Dclass_of_device_unittest.cc56 size_t expected_result = ClassOfDevice::kLength; in TEST() local
57 ASSERT_EQ(expected_result, cod.FromOctets(test_bytes)); in TEST()
Daddress_unittest.cc76 size_t expected_result = Address::kLength; in TEST() local
77 ASSERT_EQ(expected_result, bdaddr.FromOctets(test_addr_array)); in TEST()
/system/libbase/
Dlogging_splitters_test.cpp298 const char* expected_result = in TEST() local
311 expected_result); in TEST()
319 auto expected_result = "tag E 01-01 00:00:00 1234 4321 " + long_string_a + '\n' + in TEST() local
321 TestStderrOutputGenerator("tag", nullptr, 0, message.c_str(), expected_result); in TEST()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc896 ErrorCode expected_result, in VerifyPayloadResult() argument
903 LOG(INFO) << "Verifying payload for expected result " << expected_result; in VerifyPayloadResult()
906 EXPECT_EQ(expected_result, in VerifyPayloadResult()
910 if (expected_result != ErrorCode::kSuccess) { in VerifyPayloadResult()
953 ErrorCode expected_result = ErrorCode::kSuccess; in VerifyPayload() local
956 expected_result = ErrorCode::kSignedDeltaPayloadExpectedError; in VerifyPayload()
959 expected_result = ErrorCode::kDownloadPayloadPubKeyVerificationError; in VerifyPayload()
965 VerifyPayloadResult(performer, state, expected_result, minor_version); in VerifyPayload()
Ddelta_performer_unittest.cc380 MetadataParseResult expected_result, actual_result; in DoMetadataSignatureTest() local
390 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()
396 expected_result = MetadataParseResult::kError; in DoMetadataSignatureTest()
411 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()
418 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()
427 EXPECT_EQ(expected_result, actual_result); in DoMetadataSignatureTest()
/system/core/fs_mgr/libfs_avb/tests/
Davb_util_test.cpp55 bool TestVBMetaModification(VBMetaVerifyResult expected_result, const VBMetaData& vbmeta,
522 bool AvbUtilTest::TestVBMetaModification(VBMetaVerifyResult expected_result, in TestVBMetaModification() argument
535 if (result != expected_result) { in TestVBMetaModification()
/system/update_engine/cros/
Dupdate_attempter_unittest.cc123 bool expected_result = true; member
350 cfu_params_.expected_result, in TestCheckForUpdate()
1415 cfu_params_.expected_result = false; in TEST_F()