Repeated use of the reflection classes in timing-sensitive code can result in ongoing class-loading activity that introduces delays.
在时间敏感型代码中反复使用反射类可能导致持续不断的类加载活动,这会引起延迟。
The result code is extracted and compared to the expected value thanks to a tiny script.
通过一小段脚本将结果代码抽取出来并与期望值进行比对。
As a result, your code will look remarkably different when tests drive it.
结果,当测试推动代码时,您的代码就会大有改观。
应用推荐