单词 | test class | ||||||||||||||
释义 | test class
更多释义 收起释义 例句释义: 测试类别,编写测试类,考试类 1. Finally, the two lines at the bottom allow you to run the tests within this test class by simply running this module. 最后的两行负责在这个测试类内部运行测试,方法是直接运行该模块即可。 www.ibm.com 2. The runner is smart enough to figure out which test class depends on which version of JUnit and invoke it appropriately. 运行程序足够智能,可以分辨出哪个测试类依赖于哪个版本的JUnit,并适当地调用它。 www.ibm.com 3. If you write unit tests only using the Database Unit Test Designer, you might not be familiar with the concept of a test class. 如果您只使用资料库单元测试设计工具来撰写单元测试,您可能会不太熟悉测试类别的概念。 technet.microsoft.com 4. As a matter of fact, you can even combine the unit and integration flags with the name of the test class. 事实上,您甚至可以将具有单元和集成标志与测试类的名称组合在一起。 www.ibm.com 5. As an example, use a relatively simple class and a test class to go along with it. 举例来说,在项目中使用一个相对简单的类和测试类。 www.ibm.com 6. So make sure you have factory-creation code in your test class, and you're ready to work with the XPath class. 因此测试类中一定要包含工厂创建代码,以便能够使用XPath类。 www.ibm.com 7. To run this unit test, create a Run configuration for the unit test class as a Test: : Unit type. 要运行这个单元测试,应该为单元测试类创建一个Test::Unit类型的Run配置。 www.ibm.com 8. For instance, what will happen if I run the CreateWidgetUATest test class twice in a row? 比如,如果对一行运行两次CreateWidgetUATest测试类会怎样? www.ibm.com 9. In its purest form, TFP would require me to create the test class first, before I write a test. 在书写测试前,TFP要求在空的工程中首先创建测试类。 www-128.ibm.com 10. Eclipse's JUnit integration can generate the test class automatically, so I can minimize my work by letting the tools do it for me. 集成在Eclipse上的JUnit可以自动生成测试类,因此我让工具为我生成,从而减小我的工作量。 www.ibm.com 1. This enables developers to create initializations or tests in a base test class, from which all other derived tests classes will inherit. 这使开发人员可以在基本测试类中创建初始化或测试,而其他所有派生测试类都将继承该基本测试类。 msdn2.microsoft.com 2. As long as all the test cases pass, I add the new unit test class to my unit test automation library, which gets run on every build. 只要通过所有的测试用例,我就将向单元测试自动库添加新的单元测试类,在每次构建时运行。 www.ibm.com 3. Each time that you create a unit test by opening the Test menu and clicking New Test, Database Edition generates a test class. 每次通过打开“测试”菜单并单击“新建测试”来创建单元测试时,DatabaseEdition都会生成一个测试类。 msdn2.microsoft.com 4. This enables the XML files to be loaded as resources by the test class classloader. 这使得要下载的XML文件可以作为测试类类加载器的资源。 www.ibm.com 5. When nose looks inside of a test class, it runs methods matching that same regular expression. 当nose检查测试类的内部时,它运行与同一正则表达式匹配的方法。 www.ibm.com 6. The execution model is a bit strange: The test class is reinstantiated every time a test method is executed. 执行模型有点奇怪:每次执行一个测试方法的时候,都要重新实例化测试类。 www-128.ibm.com 7. The ScaTestExecutor constructor takes the test class and the name of the test as parameters. ScaTestExecutor构造函数将测试类和测试的名称作为参数。 www.ibm.com 8. Deployment items for a test method take precedence over deployment items for a test class . 用于测试方法的部署项优先于用于测试类的部署项。 www.bing.com 9. The Test class contains the methods that create the purchase order, and that read the created purchase order. Test类包含创建订单的方法,以及读取所创建的订单的方法。 msdn2.microsoft.com 10. The earlier example assumes that the two unit tests are part of the same test class. 前面的示例假定两个单元测试属于同一测试类。 msdn2.microsoft.com 1. Identifies the method to run before the test to allocate and configure resources needed by all tests in the test class. 标识在测试之前要运行的方法,从而分配并配置测试类中的所有测试所需的资源。 msdn2.microsoft.com 2. Each test is written as a separate test function within the test class. 每一个测试都编写为测试类中的一个独立的测试函数。 www.ibm.com 3. The Test class uses this class to print out the titles and average price of the paperback books. Test类使用该类输出平装书的书名和平均价格。 msdn2.microsoft.com 4. The project contains a file that is named SampleUnitTest. Cs, which contains the code of a new test class for your database unit tests. 该项目包含一个名为SampleUnitTest.cs的文件,此文件含有用于您的数据库单元测试的新测试类的代码。 msdn2.microsoft.com 5. Then you use the Java Reflection API to construct class instances of the String objects in your list that represent Test class names. 然后使用JavaReflectionAPI构建在表示Test类名的列表中的String对象的类实例。 www.ibm.com 6. These include items specified for the test class and for the test method. 其中包括为测试类和测试方法指定的项。 msdn2.microsoft.com 7. Avoid putting multiple classes in a single file, except inner class, helper class and Unit test class. 避免将多个类放在一个类文件里,除非是内部类,帮助类或者是单元测试类 zhidao.baidu.com 8. The typical JUnit programming model creates a test class by extending the TestCase class provided by JUnit. 典型的JUnit编程模型通过扩展JUnit提供的TestCase类创建测试类。 www.ibm.com 9. The first option is to move this test class into the integration directory. 第一个选择是将此测试类转移到集成目录中。 www.ibm.com 10. The test class contains two tests: one to authenticate a valid user and another to authenticate an invalid user. 这个测试类包含两个测试:一个是鉴定一个无效用户,另一个是鉴定一个有效的用户。 www.ibm.com 1. In Listing 3 I've created the class shell that will serve as my test class as I write the dictionary application. 在清单3中,我创建了类shell,它作为在编写字典应用程序时的测试类。 www.ibm.com 2. The test class is called SampleUnitTest, and it contains a new unit test method called DatabaseTest1 by default. 该测试类名为SampleUnitTest,并且默认情况下包含一个名为DatabaseTest1的新的单元测试方法。 msdn2.microsoft.com 3. Within each test class, every method whose name begins with ". test" is considered another test. 在每一个测试类内部,每一个名称以“.test”开始的方法都被认为是另一个测试。 www.ibm.com 4. This is software that trains the word of the third Japanese Language Proficiency Test class. 这个训练日语能力考试3级的单词柔软。 www.gao7.com 5. It can be used for testing both client and server side JSF artifacts in the same test class. 它可以在同一个测试类里测试JSF产品的客户端和服务器端。 www.infoq.com 6. The test method accesses these values through a TestContext property, which is defined in the test class that contains the method. 测试方法通过TestContext属性访问这些值,该属性是在包含此方法的测试类中定义的。 msdn2.microsoft.com 7. For all unit tests within a single test class, this is always the case. 对于一个测试类中的所有单元测试,始终是这种情况。 msdn2.microsoft.com 8. To run this test class by itself, run the FeedparserTest. py module in the same manner as before. 要独立运行该测试类,可以按前面所说的相同方式运行FeedparserTest.py模块。 www.ibm.com 9. With JSFUnit API, the test class methods can submit data on a form and verify that managed beans are properly updated. 有了JSFUnitAPI,测试类方法可以提交表单数据,并且验证管理的bean是否被正确更新。 www.infoq.com 10. Introspects your test class and executes each method starting with "test" 内省测试类,并执行每个以“test”开头的方法 www.ibm.com 1. An entry that contains the URL of the site being tested is added to TestContext. Properties of the test class. 包含被测试站点URL的项将被添加到测试类的TestContext.Properties中。 msdn2.microsoft.com 2. Either way, the test class and all test methods are identified by using programmatic attributes. 无论使用何种方式,测试类和所有测试方法都用编程属性加以标识。 msdn2.microsoft.com 3. There is one directory per test class, whose name is derived from the test class name by appending the suffix -Data. 每个测试类都有一个目录,其名称源自测试类的名称,并附加前缀-Data。 www.ibm.com 4. The TestInitialize script runs before each unit test in a given test class. TestInitialize脚本在给定测试类中的每个单元测试之前运行。 msdn2.microsoft.com 5. Add the code shown in Listing 6 to the test class. 添加如列表6所示的代码到这个测试类中。 www.ibm.com 6. The lifecycle of a test class is further illustrated in Figure 2. 图2进一步描述了测试类的生命周期。 www.ibm.com 7. Observe in the Test pane that the project and test class values are filled in. 检查测试窗格,将看到项目和测试类值已填充。 www.ibm.com 8. Your test class now has a protected field called account, and the test method initializes it. 现在您的测试类有一个叫做account的受保护的字段,测试方法对其进行了初始化。 www.ibm.com 9. Within each test class, individual unit tests are stored as test methods. 在每个测试类中,单个单元测试存储为测试方法。 technet.microsoft.com 10. Type grails test-app -unit User to target the specific test class you are interested in. 键入grailstest-app-unitUser定位到您感兴趣的特定测试类。 www.ibm.com 1. The TestCleanup script runs after all unit tests in a given test class. TestCleanup脚本在给定测试类中的所有单元测试之后运行。 msdn2.microsoft.com 2. A new JUnit target will be created, and DynamicTestSuite should be pre-filled in the Test Class field. 将会创建一个新的JUnit目标,DynamicTestSuite应当预填入TestClass字段。 www.ibm.com 3. This project does not contain a database unit test class, which you must add. 此项目中不包括数据库单元测试类,您必须自己添加该测试类。 technet.microsoft.com 4. It displays the test class and test method that failed and why it failed. 它显示了失败的测试类和测试方法,并说明了为什么会失败。 www-128.ibm.com 5. Not every test class automatically has a TestContext property defined. 并不是所有测试类都自动定义了TestContext属性。 msdn2.microsoft.com 6. Now that I have my test class defined I can start developing (and testing) the application. 定义了测试类后,就可以开始开发(并测试)这个应用程序了。 www.ibm.com 7. The fixture class is derived from the : : testing: : test class declared in gtest. h. 这个装备类派生自gtest.h中声明的::testing::test类。 www.ibm.com 8. You now have your test class available for execution. 您现在已经拥有了可用于执行的测试类。 www.ibm.com 9. Create a new database unit test inside an existing test class. 在现有的测试类别内建立新的资料库单元测试。 technet.microsoft.com 10. For each test case. basically you need to extend your test class from TestCase. 对于每个案例来说,您都需要从TestCase扩展您的测试类。 www.ibm.com 1. Class, my test class will not compile. 类导入之后,测试类还是不能编译。 www-128.ibm.com 2. We will first create a JUnit test class, add a single test to the class, and then, finally, execute the test. 我们首先创建JUnit测试类,将单个测试添加到该类,最后执行该测试。 www.ibm.com 3. Let's examine the test class HumanTaskExampleTest and the data files in the HumanTaskExample-Data directory. 让我们检查一下测试类HumanTaskExampleTest和HumanTaskExample-Data目录中的数据文件。 www.ibm.com 4. JsfTestCase: This is the base test class for unit tests for Servlet and JSF components in a web application. AbstractJsfTestCase:这是对web应用的Servlet和JSF组件进行单元测试的基础测试类 www.infoq.com 5. Create a new database unit test inside a new test class. 在新的测试类别内建立新的资料库单元测试。 technet.microsoft.com 6. In the following code, the DivideClassTest test class contains a test method called DivideMethodTest. 在下面的代码中,DivideClassTest测试类包含一个名为DivideMethodTest的测试方法。 msdn2.microsoft.com 7. Paste this code into your test class and save it. 将此代码粘帖到您的测试类,并保存。 www.ibm.com 8. You can also create a blank test class and supply the details manually. 您也可以建立空白测试类别,并手动套用详细资料。 technet.microsoft.com 9. The beauty of using JUnit is that the framework takes care of loading the test class, running the test, and reporting the results. 使用JUnit的美妙之处在于,该框架负责装入测试类、运行测试以及报告结果。 www-128.ibm.com 10. The test data directory hierarchy is rooted in the test class package directory, in our case: org. djna. mailservice. test. 测试数据目录层次结构根植于测试类包目录中,在我们的示例中,该目录为org. www.ibm.com 1. Each test class is marked with the. 属性标记每个测试类。 msdn2.microsoft.com 2. It is also added as a new test method in the test class. 它也会以测试类别中的新测试方法形式加入。 technet.microsoft.com 3. To write performance tests, you need to implement start and stop functions in your base test class. 为了编写性能测试,你需要在你的testclass的基类中实现开始和结束函数。 dongxi.net 4. Implement a test class that is separate from the main class. 实现与主类分开的测试类。 www-128.ibm.com 5. Code a new test class by hand. 手动编写新测试类。 msdn2.microsoft.com 6. Once you have an abstract aspect, create a mock target inside your test class. 有了抽象方面后,在测试类中创建一个mock目标。 www.ibm.com 7. Therefore we can use a base test class for all Wicket-related unit tests. 因此,我们可以为所有Wicket相关的单元测试创建一个测试基类。 www.infoq.com 8. To execute the test class, go to the J2EE perspective, Project Explorer view. 要执行测试类,请转到J2EE透视图中的ProjectExplorer视图。 www.ibm.com 9. Once you have your test class, the real action happens in your test methods. 一旦创建好测试类之后,测试方法中要有实际的动作。 www.ibm.com 10. In Listing 3, I define a simple, sunny-day scenario JUnit test class with three test cases, which attempt to exercise both the 在清单3中,我定义了一个简单的有三个测试案例的JUnit测试类,它将试图执行 www-128.ibm.com 1. the mastering of basketball skills of test class is significantly better than control class; 实验班学生篮球技能的提高比对照班要显著; www.fabiao.net 2. Test methods must be located in a test class and must be marked with the 测试方法必须位于测试类中并且必须用 msdn2.microsoft.com 3. A simple test class for the polymorphic special Facebook user is presented below 下面给出一个多态Facebook特殊用户的简单测试类 www.infoq.com 4. A simple test class for the special Facebook user is presented below 特殊Facebook用户的简单测试类如下 www.infoq.com 5. Finally, in the newly created Web services client project, we add a simple test class 最后,在新创建的Web服务客户端项目中,我们添加了一个简单的测试类 www-128.ibm.com 6. The research of the test-class method based on interface object in the software integration test of the large container inspection system 基于接口对象的测试类方法在大型集装箱检查系统软件集成测试中的研究 www.ilib.cn 7. We now we have our test class available for execution in two contexts 现在,我们可以使测试类在以下两个上下文中执行测试 www.ibm.com 8. Spoken Mandarin proficiency test: Class Two Grade 'A' Certificate 普通话水平测试等级证书:二级甲等 zhidao.baidu.com 9. The fourth class is the test class: ServiceClassTest. (The nature of the implementations has been simplified as much as possible. ) 第四个类是测试类:ServiceClassTest(实现的性质已经被尽可能地简化)。 www.ibm.com 10. Listing 12 A test class for a polymorphic Facebook user record 清单12一条多态Facebook用户记录的测试类 www.infoq.com 1. With the first way, you pass the test class to the TestSuite constructor by using this command 对于第一种方法,您可以通过使用这个命令将测试用例传递到TestSuite构造器 www.ibm.com 2. A Specification-Based Case Study from Test Class Framework 基于规格说明的测试类框架的实例研究 ilib.cn 3. By convention, the test class consists of the same name as the class I am testing, but with 按照约定,测试类的名称中包含我所测试的类的名称,但将 www-128.ibm.com 4. Running this test class produces the expected result 运行这个测试类产生预期的结果 www.infoq.com 5. Perform setup of stale data once for entire test class or test suite 为整个测试类或数据集只setup不变数据一次 blog.csdn.net 6. Since you are using the Cactus framework, you will extend the Cactus test class org. apache. cactus. ServletTestCase. To do this 由于您是在使用Cactus框架,您将扩展Cactus测试类org. www.ibm.com 7. Back inside the test class, we define the 后退到测试类内部,我们将 www-128.ibm.com 8. The test class should now look like Listing 1 测试类现在看起来应像表1一样 www-128.ibm.com |
||||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。