test: use comparison assertions that print both values

- EXPECT_EQ/EXPECT_NE instead of EXPECT_TRUE(a == b) in the parts,
  memory resource and plugin manager tests; split the && checks
- ASSERT_NE on the message pointer before it is dereferenced
- ASSERT_TRUE/ASSERT_FALSE instead of ASSERT_EQ(x, true/false)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-03 14:43:51 +00:00
committed by Dennis Klein
parent 8ff2214f9c
commit f1ae05b45c
7 changed files with 58 additions and 53 deletions

View File

@@ -74,8 +74,8 @@ TEST_F(MultipleDevices, TwoInSameProcess)
bool first = fut1.get();
bool second = fut2.get();
ASSERT_EQ(first, true);
ASSERT_EQ(second, true);
ASSERT_TRUE(first);
ASSERT_TRUE(second);
}
} // namespace