For this example, the test assertion identifier is WSI2406.
对于本例,测试断言标识符是WSI2406。
The test assertion results are listed by entry within an artifact type.
测试断言结果由构件类型中的条目列出。
The following figure contains an HTML rendering of a single test assertion.
下图包含某个测试断言的HTMLrendering。
A test assertion is a testable expression of one or more requirements in the Basic Profile.
测试断言是基本概要(BasicProfile)中一个或多个要求的可测试表达式。
The following table contains a description of the primary components of this test assertion.
下表包含了对这个测试断言中主要组件的描述。
The input for the analyzer includes the location of the test assertion document and references to the Web service artifacts.
分析器的输入包括测试断言文档的位置和对Web服务构件的引用。
Each test assertion has a unique identifier and contains all of the information that is needed to understand how the analyzer will process the assertion.
每个测试断言都有一个惟一的标识符,并且包含需要用于理解分析器将如何处理该断言的所有信息。
For instance, a good test assertion is a JUnit test that returns true if and only if the SOAP envelope returned by a Web service is identical to a pre-defined XML document.
例如,一个较好的测试断言为JUnit测试,即当且仅当Web服务返回的SOAP信封与预定义的XML文档完全相同时,返回true。
Reviewing the test assertion description and the associated profile requirements will help you understand what you need to change to make your Web service conform to the Basic Profile.
回顾测试断言描述和相关的概要要求将有助于您理解需要更改什么以使您的Web服务符合基本概要(BasicProfile)。
All of the test assertions are listed in a test assertion document (see Resources), which is an XML document whose contents are segmented by artifact type (discovery, description, and messages).
测试断言文档中列出了所有的测试断言(请参阅参考资料),测试断言文档是一个XML文档,其内容是按照构件类型(发现、描述和消息)划分的。
All of the test assertions are listed in a test assertion document (see Resources), which is an XML document whose contents are segmented by artifact type (discovery, description, and messages).
测试断言文档中列出了所有的测试断言(请参阅参考资料),测试断言文档是一个XML文档,其内容是按照构件类型(发现、描述和消息)划分的。
应用推荐