src/storage/blobfs/test/unit/format-test.cc
// Blobfs can be formatted on slightly larger devices as well.
Blobfs can be formatted on slightly larger devices as well.
Blobfs can be formatted on slightly larger devices as well .
TEST(FormatFilesystemTest, FormatNonFVMDevice) {
  const uint64_t kBlockCount = 1 << 20;
  const uint32_t kBlockSize = 512;
  auto device = std::make_unique<FakeBlockDevice>(kBlockCount, kBlockSize);
  ASSERT_EQ(FormatFilesystem(device.get()), ZX_OK);
  ASSERT_EQ(CheckMountability(std::move(device)), ZX_OK);
}
TEST ( FormatFilesystemTest , FormatNonFVMDevice ) { const uint64_t kBlockCount = 1 << 20 ; const uint32_t kBlockSize = 512 ; auto device = std :: make_unique < FakeBlockDevice > ( kBlockCount , kBlockSize ) ; ASSERT_EQ ( FormatFilesystem ( device . get ( ) ) , ZX_OK ) ; ASSERT_EQ ( CheckMountability ( std :: move ( device ) ) , ZX_OK ) ; }
Blobfs can be formatted on slightly larger devices as well.
Blobfs can be formatted on slightly larger devices as well .