Skip to content

Commit

Permalink
Add missing Death keyword to the names of tests that include EXPECT…
Browse files Browse the repository at this point in the history
…_DEATH.
  • Loading branch information
tonyastolfi committed May 14, 2024
1 parent 2745fb2 commit ebde3e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/llfs/latching_bit_set.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ TEST(LatchingBitSetTest, Size0)

//==#==========+==+=+=++=+++++++++++-+-+--+----- --- -- - - - -
//
TEST(LatchingBitSetTest, Size1)
TEST(LatchingBitSetTest, Size1Death)
{
llfs::LatchingBitSet s{1};

Expand Down
2 changes: 1 addition & 1 deletion src/llfs/packed_status_or.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace {

using namespace llfs::int_types;

TEST(PackedStatusOrTest, PackUnPack)
TEST(PackedStatusOrTest, PackUnPackDeath)
{
batt::Status not_found_status{batt::StatusCode::kNotFound};

Expand Down
8 changes: 4 additions & 4 deletions src/llfs/page_cache_slot.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class PageCacheSlotTest : public ::testing::Test
// 1. Create slots with different index values in a Pool; verify index()
// - also verify initial is_valid state
//
TEST_F(PageCacheSlotTest, CreateSlots)
TEST_F(PageCacheSlotTest, CreateSlotsDeath)
{
for (usize i = 0; i < kNumTestSlots; ++i) {
llfs::PageCacheSlot* slot = this->pool_->allocate();
Expand All @@ -89,7 +89,7 @@ TEST_F(PageCacheSlotTest, CreateSlots)
// 2. ref_count test - add_ref/remove_ref should affect the ref_count, and also the use count of
// the pool but only in the case of add: 0 -> 1 and remove: 1 -> 0.
//
TEST_F(PageCacheSlotTest, AddRemoveRef)
TEST_F(PageCacheSlotTest, AddRemoveRefDeath)
{
EXPECT_EQ(this->pool_->use_count(), 1u);

Expand Down Expand Up @@ -373,7 +373,7 @@ TEST_F(PageCacheSlotTest, EvictIfKeyEqualsFailureWrongKey)
// a. Valid + Filled
// c. Valid + Filled + Pinned
//
TEST_F(PageCacheSlotTest, FillFailureAlreadyFilled)
TEST_F(PageCacheSlotTest, FillFailureAlreadyFilledDeath)
{
llfs::PageCacheSlot* slot = this->pool_->allocate();
{
Expand All @@ -391,7 +391,7 @@ TEST_F(PageCacheSlotTest, FillFailureAlreadyFilled)
// 7. fill fails when state is not Invalid:
// b. Valid + Cleared
//
TEST_F(PageCacheSlotTest, FillFailureCleared)
TEST_F(PageCacheSlotTest, FillFailureClearedDeath)
{
llfs::PageCacheSlot* slot = this->pool_->allocate();

Expand Down

0 comments on commit ebde3e6

Please sign in to comment.