src/storage/blobfs/test/unit/format-test.cc
// Blobfs can be formatted on an FVM with a slice slice equal to a block size.
Blobfs can be formatted on an FVM with a slice slice equal to a block size.
Blobfs can be formatted on an FVM with a slice slice equal to a block size .
TEST(FormatFilesystemTest, FormatFVMDeviceWithSmallestSliceSize) {
  const uint64_t kBlockCount = 1 << 20;
  const uint32_t kBlockSize = kBlobfsBlockSize;
  const uint64_t kSliceSize = kBlobfsBlockSize;
  const uint64_t kSliceCount = 1028;
  auto device =
      std::make_unique<FakeFVMBlockDevice>(kBlockCount, kBlockSize, kSliceSize, kSliceCount);
  ASSERT_EQ(FormatFilesystem(device.get()), ZX_OK);
  ASSERT_EQ(CheckMountability(std::move(device)), ZX_OK);
}
TEST ( FormatFilesystemTest , FormatFVMDeviceWithSmallestSliceSize ) { const uint64_t kBlockCount = 1 << 20 ; const uint32_t kBlockSize = kBlobfsBlockSize ; const uint64_t kSliceSize = kBlobfsBlockSize ; const uint64_t kSliceCount = 1028 ; auto device = std :: make_unique < FakeFVMBlockDevice > ( kBlockCount , kBlockSize , kSliceSize , kSliceCount ) ; ASSERT_EQ ( FormatFilesystem ( device . get ( ) ) , ZX_OK ) ; ASSERT_EQ ( CheckMountability ( std :: move ( device ) ) , ZX_OK ) ; }
Blobfs can be formatted on an FVM with a slice slice equal to a block size.
Blobfs can be formatted on an FVM with a slice slice equal to a block size .