Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有包含 senario 开始时间的测试,那么我必须知道 JSystem 中的场景何时开始?
谢谢。
好吧,您已经迫不及待地要开始这个场景了。但是,您可以获得上次场景更改的时间,它发生在场景开始时:
JSystemProperties.getInstance().getPreferencesFile().lastModified()).getMillis()
我希望我对你有所帮助。