mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 07:02:25 +00:00
commit
d72448d1bb
@ -124,7 +124,9 @@ HWTEST_F(RSMessageProcessorTest, GetTransaction001, TestSize.Level1)
|
||||
auto transactionData = std::make_shared<RSTransactionData>();
|
||||
RSMessageProcessor::Instance().transactionMap_[pid] = transactionData;
|
||||
EXPECT_NE(nullptr, RSMessageProcessor::Instance().GetTransaction(pid));
|
||||
EXPECT_EQ(RSMessageProcessor::Instance().transactionMap_, RSMessageProcessor::Instance().GetAllTransactions());
|
||||
EXPECT_FALSE(RSMessageProcessor::Instance().transactionMap_.empty());
|
||||
EXPECT_FALSE(RSMessageProcessor::Instance().GetAllTransactions().empty());
|
||||
EXPECT_TRUE(RSMessageProcessor::Instance().transactionMap_.empty());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user