I'm also going to adopt a convention for my finders specifying that any finder without the word all in its name is intended to find one instance.
我还打算对我的查找程序采用一个惯例,即指定:任何名称中不带单词all的查找程序都企图找到一个实例。
2
In Listing 1, I've created a TestNG test (that doesn't actually have any tests in it) that USES TestNG-Abbot's AbbotFixture object in a fixture to hold an instance of my WordFinder GUI.
在清单1中,我创建了一个TestNG测试(实际上并没有对其做任何测试),该测试在fixture中使用TestNG - Abbot的AbbotFixture对象来存放Word Finder GUI的实例。