Fortunately, I can reuse the test case defined in Listing 3 to validate the document's structure, by effectively ignoring element text values and attribute values.
还好,我还可以再次使用清单3中定义的测试用例来验证文档的结构,并可以有效忽略元素文本值和属性值。
You have single points of update for each attribute, making it easier to modify and to test.
可单点更新每个属性,这使得修改和测试更加容易。
Instead of using anything fancy, I simply ran a test on the status attribute, as in Listing 12.
为了简便起见,我只对status属性运行了一个测试,如清单12所示。
The haltonfailure attribute is set to true so that the build stops on test failure too.
haltonfailure属性被设为true,以便让构建过程在测试失败时停止。
For example, if you know that you need to test on operating systems of varying languages, you might define a language attribute.
例如,如果您知道您需要在一个变化语言的操作系统上进行测试,那么您就可能需要定义一个Language属性。
We also can use the find() method to find the test object with some given attribute/value pairs.
我们还可以使用find()方法来找到匹配属性/值的测试对象。
Each element also includes a relevant attribute, which specifies the condition under test for the corresponding assert or report in the Schematron document.
每个元素还包含一个relevant属性,它根据Schematron文档中对应的断言或报告的测试指定条件。
To do that, use the element with the directory attribute pointing to the location where JUnit test results were written as XML by the build script (see Target: test).
为此,可以使用元素,并将其目录属性指向构建脚本以将JUnit测试结果作为XML 来写入的位置(请参阅目标:测试)。
Note that I have to check that the attribute is actually present, since when it's absent the contains test would return true (the empty string is contained in all strings).
我必须检查这个属性实际上是否出现,因为当没有这个属性时,contains测试将返回true(所有字符串都包含空字符串)。
This command has one required attribute called controller to specify the name of the controller to create the Selenium test.
此命令有个属性controller用来指定控制器的名称,以创建Selenium测试。
In Listing 5, the test does not need to compare to a string because the variable returns a Boolean type rather than an RTF as a result of the select attribute.
在清单5中,测试不需要与字符串进行比较,因为变量返回一个Boolean类型而不是rtf作为select属性的结果。
To map the TestTableName attribute, use the WebSphere property called PreTest SQL string, where you can set an SQL sentence to test each JDBC connection.
要映射TestTableName属性,请使用名称为PreTestSQL字符串的WebSphere属性,在这里您可以设置一条 SQL语句来测试每个JDBC连接。
If the XPath expression on the test attribute has evaluated to true, then the specified type is selected as a substitution for the one declared on the element.
如果test属性上的XPath表达式最终值为true,那么将选择指定的type替换元素中声明的类型。
The value of the test attribute of the xs: assertion element facet is an XPath 2.0 expression or XPath 2.0 subset as defined by the XML Schema 1.1 specification that evaluates to either true or false.
如xmlSchema 1.1规范定义的那样,xs:assertion元素facet的test属性的值是一个XPath 2.0表达式或XPath 2.0子集,其值为true或false。
The value of the test attribute of the xs:assert element information item is an XPath expression that evaluates to either true or false.
assert元素信息项的test属性的值是一个XPath表达式,其值等于true或 false。
The value of the test attribute on xs:alternative corresponds to the test property, an XPath expression which evaluates to true or false.
alternative上的test属性的值对应于 test属性,后者是一个值为 true 或 false 的 XPath表达式。
If you change the ID attribute of a component that is checked in a test, the test will fail.
如果你修改了在一个测试中需要检查的一个组件的ID属性,测试就可能失败。
The last xs:alternative child of the element declaration is allowed to omit the test attribute.
元素声明中的最后一个xs:alternative子元素可以忽略test 属性。
The test modal analysis is an effective means to identify the intrinsic attribute of a mechanical structure.
试验模态分析是识别机械结构系统固有特性的一种常用、有效的现代技术。
Managing Your automated tests: You can organize automated tests by marking test methods with a test category attribute.
管理自动化测试:您可以使用测试分类属性标记测试方法,来组织自动化测试。
In the application of the attribute hierarchical model, it is necessary to test the uniformity of the attribute judgment matrix.
在属性层次模型的应用中,要检验属性判断矩阵的一致性。
Equivalent measurement is obtained when the relations between observed test scores and the latent attribute measured by the test are identical across subpopulations.
若观测变量和潜在特质之间的关系在相比较的群体之间等同,就称该量表具备测量等价性。
The problem of constructing optimal test sequences to diagnose permanent faults in process industrial systems whose test attribute may have multi-values is considered.
针对过程工业系统故障诊断的检测次序问题,其检测属性存在多个取值。
Based on the test, the paper gets preference to configuration of car, preference to price and preference to transmission of car through the analysis of the multi-attribute utility clustering.
在此基础上,根据多属性效用聚类分析的结果获得了轿车配置偏好、价格偏好和变速器偏好三个消费群体。
Ultrasonic Thickness Gauge, hardness tester, infrared thermometer, and torque wrench and many finished product test equipment etc. Those attribute to conformance rate of delivered products is 100%.
拥有超声波测厚仪、硬度计、红外线测温仪、扭力板手等先进的检测设备及多台套大中型阀门压力试验台等成品性能测试设备,确保产品交付合格率100%。
A test category is a test method attribute that you can assign to one or more tests using the test List Editor.
测试类别是一种测试方法特性,可通过测试列表编辑器分配给一个或多个测试。
Results:They were able to attribute desires to the character of the test story, and understood other persons positive and negative emotions that caused by situation.
该文回顾了儿童对道义情景中心理状态推理的研究,包括儿童对行为者愿望、信念和情绪的推理以及对权威愿望的推理研究。
Results:They were able to attribute desires to the character of the test story, and understood other persons positive and negative emotions that caused by situation.
该文回顾了儿童对道义情景中心理状态推理的研究,包括儿童对行为者愿望、信念和情绪的推理以及对权威愿望的推理研究。
应用推荐