To support this, Google provides --gtest_filter=
为了支持运行一部分测试,Google提供 --gtest_filter=
The format for the test string is a series of wildcard patterns separated by colons (:).
test string的格式是由冒号(:)分隔的一系列通配符模式。
Enter a test string to send to your Web service in the "string" box and click the "Go" button to invoke the service, as per Figure 7 below.
在“string”框内输入要发送到Web服务的测试字符串,并单击“Go”按钮,以调用服务,如下面的图7中所示。
It's true that nobody has any good idea of how to test string theory, but who's to say someone won't wake up tomorrow morning and think of one?
确实,怎样检验弦理论,现在没有什么好主意,但是谁又能说某人明早醒来时不会想出一个好主意呢?
A column heading and description is added or changed in an existing report, its test string definition also needs to be added or changed in the report property file.
在现有的报表中添加或修改一个列标题和描述,报表属性文件中的测试字符串定义也需要被添加以及修改。
When younger kids learn computer science, they learn that it's not just a confusing, endless string of letters and numbers—but a tool to build apps, or create artwork or test hypotheses.
当年幼的孩子学习计算机科学时,他们会知道,计算机科学不仅仅是一串令人困惑、无穷无尽的字母和数字,而是一个开发应用程序、创建艺术作品或检验假设的工具。
When younger kids learn computer science, they learn that it's not just a confusing, endless string of letters and numbers—but a tool to build apps, or create artwork, or test hypotheses.
当更小的孩子学习计算机科学时,他们知道它不仅仅是一串令人困惑的、无穷无尽的字母和数字,而是一种构建应用程序、创作艺术品或验证假设的工具。
The contents of the array are then imploded into one long string, which is in turn loaded into an XML object and (in this test case) echoed.
数组的内容然后被连接成一个长字符串,字符串又被加载到一个XML对象中,在本测试案例中还被回显。
You will modify the original test client that sent a simple text string to send an XML message.
您需要修改发送简单文本字符串的初始测试客户机,使其发送XML消息。
More complex test scenarios, where there might be several outstanding tasks, each needing completion with different data, will require the use of a query string.
更复杂的测试场景(其中可能包含多个未完成任务,每个任务需要使用不同的数据完成)将需要使用查询字符串。
This is a tricky test, actually, and a CPAN module for finding the distance of strings might be useful here, as long as you can represent the DNA as a string.
事实上,这是个棘手的测试,只要您能够把DNA表示为字符串,就可以利用一个确定串之间的差异的CPAN模块。
You could have specified your test using a query string instead of just the task name.
您可以使用查询字符串(而不是仅使用任务名称)来指定测试。
Also, the test in Line 13 will fail to detect an error because the result of the call will not be an empty string.
第13行中的检查也无法探测到错误,因为调用的结果不是空字符串。
The exception is thrown by the explicit cast because the test case is trying to convert something of type String to an Integer.
这个异常是由显式类型转换抛出的,因为测试用例试图把类型为String 的东西转换成Integer。
Make sure that this is the only model that is open in Rational Software Architect, because the pluglet code operates on any open model with the string "Test" as part of the name.
确保这是Rational Software Architect中唯一打开的模型,因为pluglet代码会处理,所有打开的以字符串“Test”作为名字一部分的模型。
Figure 1 shows the major test specification parts for a service that takes a simple PostCode string and returns a data object, the expected result being specified in a simple payload file.
图1显示了服务的主要测试规范部分,该服务采用一个简单的Post Code字符串,并返回一个数据对象,预期的结果在一个简单的有效负载文件中指定。
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(所有字符串都包含空字符串)。
In line 14, a test case must have a single string parameter constructor that passes the argument to its parent class (TestCase) for the purpose of displaying the test case name in a log.
在第十四行中,为了在日志中显示这个测试用例的名称,一个测试用例必须有一个可以将自变量传递到它的父类(TestCase)的专门的串参数构造器。
Say you want to output all the words in the test file containing the string th, and you've built the regexp shown in Listing 5 to do that.
假定希望输出测试文件中包含字符串th 的所有单词,则构建清单5 中所示的regexp 进行此工作。
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连接。
Include connection information and user name: This option will result in the inclusion of connection string and user name in all generated test classes.
IncludeConnectioninformationandusername:该选项可以将连接字符串和用户名包括在所有生成的测试类中。
Whatever is entered as empty string in Oracle gets stored as NULL internally in the database. The following shows an example of a TEST table created in Oracle and db2.
在Oracle中,输入的空字符串在数据库内部存储为NULL。
Well, the first define statement creates a string constant called ASTRING in the test namespace.
第一个define语句在名称空间 test 中创建一个字符串常量ASTRING。
Each of these unit test methods takes an object of a specific class and a string (where the string is expected to be the name of the getter method that you are testing).
每个单元测试方法获取一个具体类的对象和一个字符串(字符串应该是您在测试的getter方法的名称)。
In the test Data section of the test editor, shown in Figure 10, you will notice the search string you entered as the Value for the item query.
在这个测试编辑器的TestData部分,如图10所示,注意到您键入的作为query项目中value值的搜索字符串。
When you then refer to the ASTRING string, the engine looks first in the local test namespace.
然后,当引用ASTRING字符串时,引擎首先查看本地test名称空间。
We can test and unset individual instance properties of the contact. For example, if the user cleared the string in the interface, we could use this to signify unsetting.
我们可以测试和取消设置联系人的个别实例属性。
You can substitute this value with your own text string or a value from another data source, such as a data pool, reference, custom code, or another test variable.
您可以使用您自己的字符串,或者来自另一个数据源的值来替换该值,这些数据源包括数据汇,引用,通用代码,或者其他的测试变量。
Using a regular expression engine, it is easy to test if a string matches the pattern.
通过使用正则表达式引擎,很容易测试出字符串是否与模式匹配。
That string of letters has a name; it's called a CAPTCHA. And it's a test.
这串字母叫做CAPTCHA,它是一个测试。
应用推荐