Note that you must address potential race conditions if you use this pattern in a multithreaded application where the test involves a mutable object.

  • 注意,当在测试涉及可变对象的多线程应用程序中使用该模式时,必须解决可能出现的争用状态问题。
目录 查词历史