Skip to content

Commit

Permalink
Disable SecurityRecordStorageTests am: 8bac0c8 am: c58b769
Browse files Browse the repository at this point in the history
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1690695

Change-Id: I0d788fae255408fbced005956f63fe9bbf6d4889
  • Loading branch information
goptedoblivion authored and android-build-merge-worker-robot committed Apr 30, 2021
2 parents 07d7397 + c58b769 commit 9af91ec
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gd/security/record/security_record_storage_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace security {
namespace record {
namespace {

class SecurityRecordStorageTest : public ::testing::Test {
class DISABLED_SecurityRecordStorageTest : public ::testing::Test {
protected:
void SetUp() override {
// Make Fake storage module
Expand Down Expand Up @@ -55,9 +55,9 @@ class SecurityRecordStorageTest : public ::testing::Test {
record::SecurityRecordStorage* record_storage_;
};

TEST_F(SecurityRecordStorageTest, setup_teardown) {}
TEST_F(DISABLED_SecurityRecordStorageTest, setup_teardown) {}

TEST_F(SecurityRecordStorageTest, store_security_record) {
TEST_F(DISABLED_SecurityRecordStorageTest, store_security_record) {
hci::AddressWithType remote(
hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS);
std::array<uint8_t, 16> link_key = {
Expand All @@ -78,7 +78,7 @@ TEST_F(SecurityRecordStorageTest, store_security_record) {
}
}

TEST_F(SecurityRecordStorageTest, store_le_security_record) {
TEST_F(DISABLED_SecurityRecordStorageTest, store_le_security_record) {
hci::AddressWithType identity_address(
hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::RANDOM_DEVICE_ADDRESS);
std::array<uint8_t, 16> remote_ltk{
Expand Down Expand Up @@ -118,7 +118,7 @@ TEST_F(SecurityRecordStorageTest, store_le_security_record) {
ASSERT_EQ(device.Le().GetPeerSignatureResolvingKeys(), "000000000883ae44d6779e901d25cdd7b6f4578502");
}

TEST_F(SecurityRecordStorageTest, load_security_record) {
TEST_F(DISABLED_SecurityRecordStorageTest, load_security_record) {
hci::AddressWithType remote(
hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS);
std::array<uint8_t, 16> link_key = {
Expand Down Expand Up @@ -151,7 +151,7 @@ TEST_F(SecurityRecordStorageTest, load_security_record) {
}
}

TEST_F(SecurityRecordStorageTest, dont_save_temporary_records) {
TEST_F(DISABLED_SecurityRecordStorageTest, dont_save_temporary_records) {
hci::AddressWithType remote(
hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS);
std::array<uint8_t, 16> link_key = {
Expand All @@ -172,7 +172,7 @@ TEST_F(SecurityRecordStorageTest, dont_save_temporary_records) {
ASSERT_EQ(record_set.size(), 0);
}

TEST_F(SecurityRecordStorageTest, test_remove) {
TEST_F(DISABLED_SecurityRecordStorageTest, test_remove) {
hci::AddressWithType remote(
hci::Address({0x01, 0x02, 0x03, 0x04, 0x05, 0x06}), hci::AddressType::PUBLIC_DEVICE_ADDRESS);
std::array<uint8_t, 16> link_key = {
Expand Down

0 comments on commit 9af91ec

Please sign in to comment.