Optionally the test class name can be changed.
这个测试类的名称可以更改。
Add the code shown in Listing 6 to the test class.
添加如列表6所示的代码到这个测试类中。
You now have your test class available for execution.
您现在已经拥有了可用于执行的测试类。
Optionally the name of the test class can be changed.
测试类的名称也可以修改。
Here's an example. Consider the test class in Listing 11.
这里有一个例子。
The lifecycle of a test class is further illustrated in Figure 2.
图2进一步描述了测试类的生命周期。
Listing 3 shows the dictionary application's beginning test class.
清单3显示了字典应用程序的开始测试类。
Create a new database unit test inside an existing test class.
在现有的测试类别内建立新的资料库单元测试。
Therefore we can use a base test class for all Wicket-related unit tests.
因此,我们可以为所有Wicket相关的单元测试创建一个测试基类。
Introspects your test class and executes each method starting with "test".
内省测试类,并执行每个以“test”开头的方法。
The first option is to move this test class into the integration directory.
第一个选择是将此测试类转移到集成目录中。
To execute the test class, go to the J2EE perspective, Project Explorer view.
要执行测试类,请转到J2EE透视图中的ProjectExplorer视图。
Observe in the Test pane that the project and test class values are filled in.
检查测试窗格,将看到项目和测试类值已填充。
Within each test class, individual unit tests are stored as test methods.
在每个测试类中,单个单元测试存储为测试方法。
Once you have an abstract aspect, create a mock target inside your test class.
有了抽象方面后,在测试类中创建一个mock目标。
This project does not contain a database unit test class, which you must add.
此项目中不包括数据库单元测试类,您必须自己添加该测试类。
Click on the Test Class you would like to debug.
点击你想要调试的测试类。
Click on the Test Class you would like to debug.
点击你想要调试的测试类。
应用推荐