Testing a user action such as clicking a link can be done using WicketTester's clickLink() method, passing it the link component ID path, and then verifying the rendered page, as shown in Listing 23.
测试诸如单击链接这样的用户动作可以通过使用 WicketTester 的 clickLink() 方法实现,只需为之传递链接组件 ID 路径,然后再验证所呈现的组件即可,如清单 23 所示。
The release information includes runtime library, run path, release, product ID and product option.
版本信息包括运行时库、运行路径、版本、产品ID和产品选项。
You can ask the repository to give you one for a specific path or object ID.
请求存储库提供一个对应特定路径或对象ID的对象。
应用推荐