为了便于使测试框架一般化,您应该使用变量对应那些值作为这些过滤节点的名称,并在中央位置设置这些变量的值。
To facilitate making the testing framework generic, you should use variables for such values as the names of these filtering nodes, and set the values of these variables in a central location.
尽管您将在AccessibilityDemo 1中看到的许多方法都是为单个应用程序创建的,但很容易使它们一般化以支持多个GUI。
Although many of the methods you'll see in AccessibilityDemo1 were created for a single application, they could easily be generalized to support multiple GUIs.
通过使方面足够一般化,可以影响测试类中的mock目标,还会保证它可以容易地让真实类参与方面的行为。
By making your aspect general enough to affect a mock target inside a test class, you ensure that it's also easy for a real class to participate in the aspect's behavior.
文章描述了使适应性一般化的软件机制,以便运用一个越过应用的适应性框架实现适应性。
The paper describes working mechanism which generalizes adaptation so that it can be used across applications by providing an adaptation framework.
文章描述了使适应性一般化的软件机制,以便运用一个越过应用的适应性框架实现适应性。
The paper describes working mechanism which generalizes adaptation so that it can be used across applications by providing an adaptation framework.
应用推荐