Test directives appear within comments in a test source file and begin with dg -.
测试指令出现在测试源文件的注释中,并且起始于dg -。
Listing 10 shows some example output from a test source SRGS file that contains three master rules, one of which should be ignored as test data only.
清单10展示了来自测试源srgs文件的一些示例输出,该文件包含三个主规则,其中一个规则应该被作为测试数据忽略掉。
Each time you save the source file, you invoke a parsing of the test class.
你每次保存这些源文件时,便调用测试类的解析。
应用推荐